How to parse Pro * C / C ++ programs?

Is there a way to disassemble Pro * C / C ++ executables?

+6
c ++ c decompiling reverse-engineering
source share
3 answers

In general, there must be disassemblers for executable files, regardless of how they were created (gcc, proC, handwritten, etc.), but decompiling the optimized binary will most likely result in an unreadable or source.

In addition, Pro C / C ++ is not directly a compiler, but outputs C / C ++ code, which then, in turn, is compiled by the native platform compiler (gcc, xlc, vC ++, etc.).

In addition, the generated code often cannot be automatically compiled again without a lot of manual corrections.

If you still want to try your luck, check out this list of x88 disassemblers for starters.

+8
source share

Try PE Explorer Disassembler , a very decent disassembler for 32-bit executables.

+5
source share

You should try to parse with the disassembler of your choice. After all, executable files compiled with the PRO C / C ++ preprocessor are simply C / C ++ executable files.

If you are looking for SQL statements in your code, you can take a look at:

$ strings your_executable_file 

It will provide you with a list of all constant lines present in your executable file, and most likely you will get SQL statements with this.

Good luck.

+3
source share

All Articles