Changeset 4107 for zzuf/trunk/src


Ignore:
Timestamp:
Dec 7, 2009, 7:35:45 PM (11 years ago)
Author:
Sam Hocevar
Message:

Give the fuzzed Win32 program a chance to display something even
if the diverted function itself causes a crash.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/sys.c

    r1701 r4107  
    4444HINSTANCE __stdcall LoadLibraryA_new(LPCSTR path)
    4545{
    46     void *ret = LoadLibraryA_orig(path);
     46    void *ret;
    4747    fprintf(stderr, "If you see this message, DLL preloading worked\n");
     48    ret = LoadLibraryA_orig(path);
     49    fprintf(stderr, "If you see this message, function diversion worked\n");
    4850    return ret;
    4951}
Note: See TracChangeset for help on using the changeset viewer.