Open mborgerson opened 4 years ago
A solution could be to extend the argc
-check a few lines upwards with argc < 1
I don't have interest to maintenance this repo, feel free to send PR.
https://github.com/RadWolfie/XbSymbolUnitTest is the active development. However, it doesn't have a cache generated. It's still possible to re-add though.
EDIT: I see a valid point, from recent discord discussion, to have this draft concept into a functional design search tool / API showcase.
If no command line arguments are passed to the application, the application will segfault. The problem lies here: https://github.com/Cxbx-Reloaded/XbSymbolCacheGenTest/blob/6e9bb5e7e81d4f6c9b87a04133045ecaad76322b/src/XbSymbolCacheGenTest.cpp#L108 ...in which an out-of-bound access is made to
argv[1]
.