Usermode/libc - Call ld-acess binary dump on fault
authorJohn Hodge <[email protected]>
Sat, 7 Sep 2013 15:02:08 +0000 (23:02 +0800)
committerJohn Hodge <[email protected]>
Sat, 7 Sep 2013 15:02:08 +0000 (23:02 +0800)
Usermode/Libraries/libc.so_src/stub.c

index e20deae..a1c67ff 100644 (file)
@@ -82,6 +82,10 @@ int SoMain(UNUSED(uintptr_t, BaseAddress), UNUSED(int, argc), UNUSED(char **, ar
 int ErrorHandler(int Fault)\r
 {\r
         int    i;\r
+\r
+       extern void ldacess_DumpLoadedLibraries(void);  \r
+       ldacess_DumpLoadedLibraries();\r
+\r
        fprintf(stderr, "ErrorHandler: (Fault = %i)\n", Fault);\r
        fprintf(stderr, "Loaded Libraries:\n");\r
        for( i = 0; i < 64; i ++ )\r

UCC git Repository :: git.ucc.asn.au