You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the attached PE binary file is decompiled through the IDA plugin, statically linked code is not removed, but when I decompile it directly through decompile.sh, it is removed.
Input and output files
The input and both output C files can be downloaded here.
Steps to reproduce
Decompile the input binary file hello-world.exe through the IDA plugin via run-ida-decompilation.sh:
The input binary file hello-world.exe contains just main() with printf("Hello, world!");. This is exactly what decompile.sh produces in hello-world.decompile-sh.c (just a single main() function and nothing more).
However, hello-world.idaplugin.c contains not only _main() but also 47 other functions that come from statically linked code. I would expect them to be removed, just like when the file is decompiled directly through decompile.sh.
When the attached PE binary file is decompiled through the IDA plugin, statically linked code is not removed, but when I decompile it directly through
decompile.sh
, it is removed.Input and output files
The input and both output C files can be downloaded here.
Steps to reproduce
hello-world.exe
through the IDA plugin viarun-ida-decompilation.sh
:decompile.sh
:Expected output
The input binary file
hello-world.exe
contains justmain()
withprintf("Hello, world!");
. This is exactly whatdecompile.sh
produces inhello-world.decompile-sh.c
(just a singlemain()
function and nothing more).However,
hello-world.idaplugin.c
contains not only_main()
but also 47 other functions that come from statically linked code. I would expect them to be removed, just like when the file is decompiled directly throughdecompile.sh
.Configuration
retdec
commit:8c4b23d
(currentmaster
)retdec-idaplugin
commit: e249927 (currentmaster
)The text was updated successfully, but these errors were encountered: