#75 Crash in Win32BinaryFile::findJumps

v1.0 (example)
open
nobody
5
2013-07-30
2013-07-30
No

(gdb) run
Starting program: boomerang ~/.wine/drive_c/windows/notepad.exe
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff59bc700 (LWP 16080)]
Boomerang alpha 0.3.1 09/Sep/2006
loading...

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79a6c69 in Win32BinaryFile::findJumps (this=0xa6ddc0, curr=268439550) at loader/Win32BinaryFile.cpp:673
673 if (LH(delta+curr) != 0xFF + (0x25<<8)) continue;
(gdb) bt

0 0x00007ffff79a6c69 in Win32BinaryFile::findJumps (this=0xa6ddc0, curr=268439550) at loader/Win32BinaryFile.cpp:673

1 0x00007ffff79a6a7b in Win32BinaryFile::RealLoad (this=0xa6ddc0, sName=0x7fffffffe26a "/home/jobermayr/.wine/drive_c/windows/notepad.exe") at loader/Win32BinaryFile.cpp:605

2 0x000000000051de0c in BinaryFileFactory::Load (this=0xa77ff0, sName=0x7fffffffe26a "/home/jobermayr/.wine/drive_c/windows/notepad.exe") at loader/BinaryFileFactory.cpp:33

3 0x000000000051e9b7 in FrontEnd::Load (fname=0x7fffffffe26a "/home/jobermayr/.wine/drive_c/windows/notepad.exe", prog=0xa76f00) at frontend/frontend.cpp:99

4 0x0000000000516aa2 in Boomerang::loadAndDecode (this=0xa6aea0, fname=0x7fffffffe26a "/home/jobermayr/.wine/drive_c/windows/notepad.exe", pname=0x0) at boomerang.cpp:1182

5 0x0000000000516f54 in Boomerang::decompile (this=0xa6aea0, fname=0x7fffffffe26a "/home/jobermayr/.wine/drive_c/windows/notepad.exe", pname=0x0) at boomerang.cpp:1320

6 0x00000000005164b1 in Boomerang::commandLine (this=0xa6aea0, argc=2, argv=0x7fffffffddd8) at boomerang.cpp:1104

7 0x000000000051e664 in main (argc=2, argv=0x7fffffffddd8) at driver.cpp:43

Discussion