static-analysis-engineering / CodeHawk-Binary

CodeHawk Binary Analyzer for malware analysis and general reverse engineering
MIT License
22 stars 10 forks source link

Print globals and other minor cleanups #70

Closed waskyo closed 1 year ago

waskyo commented 1 year ago

When pretty printing a function, callers can optionally request that the contents of the global symbol table be printed too, enabling them to get a complete lifting. The only part missing are the type definitions.

This also tweaks the printing code so local variable declarations are indented and in general the generated code looks more human readable.