signal

signal —

Synopsis




gboolean    captive_signal_init             (void);

Description

Details

captive_signal_init ()

gboolean    captive_signal_init             (void);

Initialize UNIX signal handling to be able to emulate foreign W32 instructions. These instructions must be located inside address space of foreign W32 binary code which is identified by successful call to captive_mmap_map_get() returning PROT_EXEC bit set. This bit should be set from MmAllocateSection() called from ntoskrnl/ldr/loader.c/LdrPEProcessModule().

Currently emulated set is the access to fs register offset 0 where the exception stack top pointer is located.

Returns : TRUE if successful.