ReFirmLabs / binwalk

Firmware Analysis Tool
MIT License
10.38k stars 1.49k forks source link

binwalk 2.3.3 hang and memory leak when using --signature on a Yamaha receiver's firmware file #605

Open 8bit-coder opened 2 years ago

8bit-coder commented 2 years ago

I'm currently trying to decompile a Yamaha RX-V673's firmware update file to get access to some images stored inside it. Currently, using binwalk --signature causes the program to hang and slowly consume memory, and it uses about 16% CPU usage indefinitely. Inside the ZIP file is a file called R0309-0198.bin which is the firmware update for the receiver. I'm not sure if anyone else is able to get it to read in binwalk, or whether this file uses a special compression scheme that I don't know about. But, I noticed that after around 5 minutes, my memory usage had climbed up to 50%(I have 16 GB of ram total) and it kept climbing up higher. image image Eventually, it used up all of my ram and crashed. This is probably a memory leak, but I don't have the slightest clue as to why this is happening. image