env_w32_dll_export_kernel32_hooks.h File Reference

#include <stdint.h>
Include dependency graph for env_w32_dll_export_kernel32_hooks.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _PROCESS_INFORMATION
struct  _STARTUPINFO

Defines

#define HANDLE   int32_t
#define DWORD   uint32_t
#define WORD   uint16_t
#define LPTSTR   char *
#define LPBYTE   char *

Typedefs

typedef struct _PROCESS_INFORMATION PROCESS_INFORMATION
typedef struct
_PROCESS_INFORMATION
LPPROCESS_INFORMATION
typedef struct _STARTUPINFO STARTUPINFO
typedef struct _STARTUPINFOLPSTARTUPINFO

Functions

int32_t env_w32_hook_CloseHandle (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_CreateFileA (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_CreateProcessA (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_DeleteFileA (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_ExitProcess (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_ExitThread (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_GetProcAddress (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_GetSystemDirectoryA (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_GetTempPathA (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_GetTickCount (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_GetVersion (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook__hwrite (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook__lclose (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook__lcreat (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_LoadLibrayA (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook__lwrite (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_malloc (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_memset (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_SetUnhandledExceptionFilter (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_Sleep (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_WaitForSingleObject (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_WinExec (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_WriteFile (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_w32_hook_VirtualProtect (struct emu_env *env, struct emu_env_hook *hook)

Define Documentation

#define DWORD   uint32_t

Referenced by FETCH32(), and get_operand_string().

#define HANDLE   int32_t
#define LPBYTE   char *
#define LPTSTR   char *
#define WORD   uint16_t

Referenced by FETCH16().


Typedef Documentation

typedef struct _STARTUPINFO * LPSTARTUPINFO
typedef struct _STARTUPINFO STARTUPINFO

Function Documentation

int32_t env_w32_hook__hwrite ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References env_w32_hook__lwrite().

Here is the call graph for this function:

int32_t env_w32_hook__lclose ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References eax, emu_cpu_eip_set(), emu_cpu_get(), emu_cpu_reg32_set(), logDebug, and POP_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook__lcreat ( struct emu_env *  env,
struct emu_env_hook *  hook 
)
int32_t env_w32_hook__lwrite ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References eax, emu_cpu_eip_set(), emu_cpu_get(), emu_cpu_reg32_set(), emu_memory_get(), emu_memory_read_block(), logDebug, and POP_DWORD.

Referenced by env_w32_hook__hwrite().

Here is the call graph for this function:

int32_t env_w32_hook_CloseHandle ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References eax, emu_cpu_eip_set(), emu_cpu_get(), emu_cpu_reg32_set(), logDebug, and POP_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook_CreateFileA ( struct emu_env *  env,
struct emu_env_hook *  hook 
)
int32_t env_w32_hook_CreateProcessA ( struct emu_env *  env,
struct emu_env_hook *  hook 
)
int32_t env_w32_hook_DeleteFileA ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References emu_cpu_eip_set(), emu_cpu_get(), logDebug, and POP_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook_ExitProcess ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References emu_cpu_eip_set(), emu_cpu_get(), logDebug, and POP_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook_ExitThread ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References emu_cpu_eip_set(), emu_cpu_get(), logDebug, and POP_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook_GetProcAddress ( struct emu_env *  env,
struct emu_env_hook *  hook 
)
int32_t env_w32_hook_GetSystemDirectoryA ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References eax, emu_cpu_eip_set(), emu_cpu_get(), emu_cpu_reg32_set(), emu_memory_get(), emu_memory_write_block(), logDebug, and POP_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook_GetTempPathA ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References eax, emu_cpu_eip_set(), emu_cpu_get(), emu_cpu_reg32_set(), emu_memory_get(), emu_memory_write_block(), logDebug, and POP_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook_GetTickCount ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References eax, emu_cpu_eip_set(), emu_cpu_get(), emu_cpu_reg32_set(), logDebug, and POP_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook_GetVersion ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References eax, emu_cpu_eip_set(), emu_cpu_get(), emu_cpu_reg32_set(), and POP_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook_LoadLibrayA ( struct emu_env *  env,
struct emu_env_hook *  hook 
)
int32_t env_w32_hook_malloc ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References eax, emu_cpu_eip_set(), emu_cpu_get(), emu_cpu_reg32_set(), emu_memory_alloc(), logDebug, emu_cpu::mem, POP_DWORD, and PUSH_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook_memset ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References eax, emu_cpu_eip_set(), emu_cpu_get(), emu_cpu_reg32_set(), logDebug, POP_DWORD, and PUSH_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook_SetUnhandledExceptionFilter ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References eax, emu_cpu_eip_set(), emu_cpu_get(), emu_cpu_reg32_set(), logDebug, and POP_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook_Sleep ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References eax, emu_cpu_eip_set(), emu_cpu_get(), emu_cpu_reg32_set(), logDebug, and POP_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook_VirtualProtect ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References eax, emu_cpu_eip_set(), emu_cpu_get(), emu_cpu_reg32_set(), logDebug, and POP_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook_WaitForSingleObject ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References eax, emu_cpu_eip_set(), emu_cpu_get(), emu_cpu_reg32_set(), logDebug, and POP_DWORD.

Here is the call graph for this function:

int32_t env_w32_hook_WinExec ( struct emu_env *  env,
struct emu_env_hook *  hook 
)
int32_t env_w32_hook_WriteFile ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

Generated on Sun Jan 9 16:48:51 2011 for libemu by  doxygen 1.6.1