pkgw / elfx86exts

Decode binaries and print out which instruction set extensions they use. This program's name is a lie: it supports not just x86/ELF but also ARM64, MachO, and possibly more.
MIT License
206 stars 13 forks source link

Fix excessive memory consumption #173

Closed HanabishiRecca closed 11 months ago

HanabishiRecca commented 11 months ago

Read instructions one-by-one instead of keeping the whole disassembled data inside the RAM. This approach decreases the amount of memory used dramatically, making the app able to process binaries of any size. As a bonus, it also increases the app performance by about 2-3 times on the hardware I tested.

Closes #90 Closes #2

pkgw commented 11 months ago

See the discussion in #90 for some notes about different approaches considered in solving this problem.

pkgw commented 11 months ago

Released in 0.6.2.