retdec-decompiler std::bad_alloc
Author: Kaki7964Created Sep 29, 2021Updated Nov 11, 2025
Labelsbug
I installed retdec with the AUR package retdec-git, a few days ago and tried decompiling Hitman 2 to patch out always-online-DRM. It just crashed, other executables work fine, though.
Retdec Output:
[kaki@arch HITMAN2]$ retdec-decompiler ./Retail/HITMAN2.exe
Running phase: Unpacking ( 0.02s )
No matching plugins found for 'MSVC'
No matching plugins found for 'Microsoft'
Running phase: Initialization ( 1.93s )
Running phase: Providers initialization ( 1.93s )
Running phase: Input binary to LLVM IR decoding ( 6.13s )
catched std::bad_alloc
[kaki@arch HITMAN2]$ retdec-decompiler --version:
RetDec version : v4.0-367-g5acc1bf6
Commit hash : 5acc1bf6d5420ce9e2686975c1134cc652afe34c
Build date : 2021-09-25T18:30:06ZSource: avast/retdec