yegord / snowman

Snowman decompiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inconsistent output format vs. command arguments.

informatimago opened this issue · comments

1- nocode --print-symbols prints the start of the function, but not the end, so we cannot use nocode --from --to to select a function to decompile.
2- nocode doesn't take a --function=$NAME argument to select the function to decompile
3- nocode --print-section prints the start and the size of the sections, instead of the --from and --to offsets.

Related to #176

Note: 99% of the users just want to decompile a whole executable or library. It should be more efficient not to do it function per function, since this would involve relaunching nocode and reparsing the library once per function! On the other hand, it should remain O(number of function) in time.