env_linux_syscall_hooks.c File Reference

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include "emu/emu_cpu.h"
#include "emu/emu_cpu_data.h"
#include "emu/emu_memory.h"
#include "emu/emu_string.h"
#include "emu/environment/emu_env.h"
#include "emu/environment/emu_profile.h"
#include "emu/environment/linux/emu_env_linux.h"
Include dependency graph for env_linux_syscall_hooks.c:

Defines

#define AL(x)   (x)

Functions

int32_t env_linux_hook_exit (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_linux_hook_fork (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_linux_hook_execve (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_linux_hook_dup2 (struct emu_env *env, struct emu_env_hook *hook)
int32_t env_linux_hook_socketcall (struct emu_env *env, struct emu_env_hook *hook)

Define Documentation

#define AL (  )     (x)

Function Documentation

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

References eax, ebx, ecx, emu_cpu_get(), emu_cpu_reg32_set(), and emu_cpu::reg.

Here is the call graph for this function:

int32_t env_linux_hook_execve ( struct emu_env *  env,
struct emu_env_hook *  hook 
)
int32_t env_linux_hook_exit ( struct emu_env *  env,
struct emu_env_hook *  hook 
)

References eax, ebx, emu_cpu_get(), emu_cpu_reg32_set(), and emu_cpu::reg.

Here is the call graph for this function:

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

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

Here is the call graph for this function:

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

Generated on Sun Jan 9 16:49:31 2011 for libemu by  doxygen 1.6.1