Open kweatherman opened 1 year ago
Hello kweatherman: How can I compile this tool? I see that the author updated the code, but not the distribution. I see you mentioned that the build will appear fakepdb_coff.exe", "fakepdb_pdb.exe", "fakepdb_pe.exe these three exe, but when I compile in linux, also appear three executable files, but no.exe, Is it necessary for.exe to appear in the windows environment? How do you compile them on windows? Thank you!
1) The project build doesn't match the release output. If you build it you will get three separate executables: "fakepdb_coff.exe", "fakepdb_pdb.exe", "fakepdb_pe.exe", rather than a single "fakepdb.exe" executable.
Not a problem for me, but was unexpected. Are you sure you pushed up the same code that you used to build the distributed release? 2) The argument parsing for the "fakepdb_pdb" project is broken @ [command_pdb_generate.h line #41]. (https://github.com/Mixaill/FakePDB/blob/master/src_cpp/src_pdb/commands/command_pdb_generate.h#L41) The "Available commands" output says "pdb_generate [-l]
Some humble suggestions: Why structure your code this way with so many levels and redundancy? Unless you really do want three sperate executables? Why not then just make one "main.cpp" that just parses all possible options (again using a more robust command line argument parser)? You just need to architect it such that you break each command down.
P.S. Like the Fallout game reference. I'm one of the original developers of the game.