#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"
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 AL | ( | x | ) | (x) |
Referenced by env_linux_hook_socketcall().
| 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.

| int32_t env_linux_hook_execve | ( | struct emu_env * | env, | |
| struct emu_env_hook * | hook | |||
| ) |
References ebx, ecx, edx, emu_cpu::emu, emu_cpu_get(), emu_memory_get(), emu_memory_read_dword(), emu_memory_read_string(), emu_string_char(), emu_string_free(), emu_string_new(), and emu_cpu::reg.

| 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.

| int32_t env_linux_hook_fork | ( | struct emu_env * | env, | |
| struct emu_env_hook * | hook | |||
| ) |
| int32_t env_linux_hook_socketcall | ( | struct emu_env * | env, | |
| struct emu_env_hook * | hook | |||
| ) |
References AL, eax, ebx, ecx, emu_cpu::emu, emu_cpu_get(), emu_cpu_reg32_set(), emu_memory_get(), emu_memory_read_block(), emu_memory_read_dword(), and emu_cpu::reg.

1.6.1