From: John Hodge Date: Sat, 7 Sep 2013 15:02:08 +0000 (+0800) Subject: Usermode/libc - Call ld-acess binary dump on fault X-Git-Tag: rel0.15~263 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=49bbac23ca5ce08a2f74a7a0469db6a880b863ab;p=tpg%2Facess2.git Usermode/libc - Call ld-acess binary dump on fault --- diff --git a/Usermode/Libraries/libc.so_src/stub.c b/Usermode/Libraries/libc.so_src/stub.c index e20deae3..a1c67ffb 100644 --- a/Usermode/Libraries/libc.so_src/stub.c +++ b/Usermode/Libraries/libc.so_src/stub.c @@ -82,6 +82,10 @@ int SoMain(UNUSED(uintptr_t, BaseAddress), UNUSED(int, argc), UNUSED(char **, ar int ErrorHandler(int Fault) { int i; + + extern void ldacess_DumpLoadedLibraries(void); + ldacess_DumpLoadedLibraries(); + fprintf(stderr, "ErrorHandler: (Fault = %i)\n", Fault); fprintf(stderr, "Loaded Libraries:\n"); for( i = 0; i < 64; i ++ )