+_local_unwind2_addr: Extract ntoskrnl.exe/_local_unwind2
authorshort <>
Tue, 8 Apr 2003 17:50:14 +0000 (17:50 +0000)
committershort <>
Tue, 8 Apr 2003 17:50:14 +0000 (17:50 +0000)
src/libcaptive/client/init.c

index 66e117f..72a298d 100644 (file)
@@ -190,6 +190,9 @@ gint funci;
 }
 
 
+void *_local_unwind2_addr;
+
+
 static gboolean captive_w32_init(void)
 {
 NTSTATUS err;
@@ -288,6 +291,8 @@ NTSTATUS err;
        /* Apply captive_kernel_patches() AFTER any symbols sanity checks above! */
        captive_kernel_patches();
 
+       _local_unwind2_addr=captive_Module_GetExportAddress("ntoskrnl.exe","_local_unwind2");
+
        /* Initialize 'FsRtlLegalAnsiCharacterArray'.
         * It requires 'ntoskrnl.exe' loaded by 'captive_load_module' above;
         * captive_kernel_patches() should not be needed.