This project has moved and is read-only. For the latest updates, please go here.
1

Closed

App crashes at peframework

description

pe_debug just crashes when used. I could track down where it crashes:

Project: peframework
File: peloader.read.cpp
Line: 1432
throw std::exception( "bound import loading not implemented, because not documented and no example" );

EDIT:
Just a recommendation on the side:
    catch( ... )
    {
        CFileSystem::Destroy( fileSystem );

        throw;
    }
Would be cool if you could extract the reason and print it out to the console (std::excpetion::what).
Right now it just rethrows the exception and makes the app hard-crashing.
Closed Dec 29, 2016 at 9:23 PM by quiret_cp <SND\quiret_cp>

comments

quiret wrote Dec 29, 2016 at 8:42 AM

I did not expect to hit this problem, wow! Could you provide me with a sample .EXE file that contains this PE section? Because I had trouble finding such an executable on my own.

Thank you for supporting me!

Kevsoft wrote Dec 29, 2016 at 9:14 AM

Here you go: https://dl.dropboxusercontent.com/u/45743579/smbx.exe
If you need (for whatever reason) the full running version, then you can download it here:
https://www.supermariobrosx.org/forums/viewtopic.php?f=69&t=4303

Actually, it is a compiled VB6-App.

wrote Dec 29, 2016 at 9:14 AM

quiret wrote Dec 29, 2016 at 3:13 PM

Here you go! I have implemented the IMAGE_BOUND_IMPORT_DESCRIPTOR serialization.

Note that I have marked this feature as "experimental". If you find any other application that does not work please report it to me ASAP. The structure of that PE section is undocumented by Microsoft.

Happy reverse engineering! :)

Kevsoft wrote Dec 29, 2016 at 4:44 PM

Works perfectly! Issue closed. Thanks for the fast fix.

wrote Dec 29, 2016 at 9:23 PM