miasm
Reverse engineering framework
|
Functions | |
def | sys_x86_64_rt_sigaction (jitter, linux_env) |
def | sys_generic_brk (jitter, linux_env) |
def | sys_x86_32_newuname (jitter, linux_env) |
def | sys_x86_64_newuname (jitter, linux_env) |
def | sys_arml_newuname (jitter, linux_env) |
def | sys_generic_access (jitter, linux_env) |
def | sys_x86_64_openat (jitter, linux_env) |
def | sys_x86_64_newstat (jitter, linux_env) |
def | sys_arml_stat64 (jitter, linux_env) |
def | sys_x86_64_writev (jitter, linux_env) |
def | sys_arml_writev (jitter, linux_env) |
def | sys_generic_exit_group (jitter, linux_env) |
def | sys_generic_read (jitter, linux_env) |
def | sys_x86_64_fstat (jitter, linux_env) |
def | sys_arml_fstat64 (jitter, linux_env) |
def | sys_generic_mmap (jitter, linux_env) |
def | sys_generic_mmap2 (jitter, linux_env) |
def | sys_generic_mprotect (jitter, linux_env) |
def | sys_generic_close (jitter, linux_env) |
def | sys_x86_64_arch_prctl (jitter, linux_env) |
def | sys_x86_64_set_tid_address (jitter, linux_env) |
def | sys_x86_64_set_robust_list (jitter, linux_env) |
def | sys_x86_64_rt_sigprocmask (jitter, linux_env) |
def | sys_x86_64_prlimit64 (jitter, linux_env) |
def | sys_x86_64_statfs (jitter, linux_env) |
def | sys_x86_64_ioctl (jitter, linux_env) |
def | sys_arml_ioctl (jitter, linux_env) |
def | sys_generic_open (jitter, linux_env) |
def | sys_generic_write (jitter, linux_env) |
def | sys_x86_64_getdents (jitter, linux_env) |
def | sys_arml_getdents64 (jitter, linux_env) |
def | sys_x86_64_newlstat (jitter, linux_env) |
def | sys_arml_lstat64 (jitter, linux_env) |
def | sys_x86_64_lgetxattr (jitter, linux_env) |
def | sys_x86_64_getxattr (jitter, linux_env) |
def | sys_x86_64_socket (jitter, linux_env) |
def | sys_x86_64_connect (jitter, linux_env) |
def | sys_x86_64_clock_gettime (jitter, linux_env) |
def | sys_x86_64_lseek (jitter, linux_env) |
def | sys_x86_64_munmap (jitter, linux_env) |
def | sys_x86_64_readlink (jitter, linux_env) |
def | sys_x86_64_getpid (jitter, linux_env) |
def | sys_x86_64_sysinfo (jitter, linux_env) |
def | sys_generic_geteuid (jitter, linux_env) |
def | sys_generic_getegid (jitter, linux_env) |
def | sys_generic_getuid (jitter, linux_env) |
def | sys_generic_getgid (jitter, linux_env) |
def | sys_generic_setgid (jitter, linux_env) |
def | sys_generic_setuid (jitter, linux_env) |
def | sys_arml_set_tls (jitter, linux_env) |
def | sys_generic_fcntl64 (jitter, linux_env) |
def | sys_x86_64_pread64 (jitter, linux_env) |
def | sys_arml_gettimeofday (jitter, linux_env) |
def | syscall_x86_64_exception_handler (linux_env, syscall_callbacks, jitter) |
def | syscall_x86_32_exception_handler (linux_env, syscall_callbacks, jitter) |
def | syscall_arml_exception_handler (linux_env, syscall_callbacks, jitter) |
def | enable_syscall_handling (jitter, linux_env, syscall_callbacks) |
Variables | |
log = logging.getLogger('syscalls') | |
hnd = logging.StreamHandler() | |
dictionary | syscall_callbacks_x86_32 |
dictionary | syscall_callbacks_x86_64 |
dictionary | syscall_callbacks_arml |
def miasm.os_dep.linux.syscall.enable_syscall_handling | ( | jitter, | |
linux_env, | |||
syscall_callbacks | |||
) |
Activate handling of syscall for the current jitter instance. Syscall handlers are provided by @syscall_callbacks @linux_env: LinuxEnvironment instance @syscall_callbacks: syscall number -> func(jitter, linux_env) Example of use: >>> linux_env = LinuxEnvironment_x86_64() >>> enable_syscall_handling(jitter, linux_env, syscall_callbacks_x86_64)
def miasm.os_dep.linux.syscall.sys_arml_fstat64 | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_arml_getdents64 | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_arml_gettimeofday | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_arml_ioctl | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_arml_lstat64 | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_arml_newuname | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_arml_set_tls | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_arml_stat64 | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_arml_writev | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_access | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_brk | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_close | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_exit_group | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_fcntl64 | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_getegid | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_geteuid | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_getgid | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_getuid | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_mmap | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_mmap2 | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_mprotect | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_open | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_read | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_setgid | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_setuid | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_generic_write | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_32_newuname | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_arch_prctl | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_clock_gettime | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_connect | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_fstat | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_getdents | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_getpid | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_getxattr | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_ioctl | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_lgetxattr | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_lseek | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_munmap | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_newlstat | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_newstat | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_newuname | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_openat | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_pread64 | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_prlimit64 | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_readlink | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_rt_sigaction | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_rt_sigprocmask | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_set_robust_list | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_set_tid_address | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_socket | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_statfs | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_sysinfo | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.sys_x86_64_writev | ( | jitter, | |
linux_env | |||
) |
def miasm.os_dep.linux.syscall.syscall_arml_exception_handler | ( | linux_env, | |
syscall_callbacks, | |||
jitter | |||
) |
Call to actually handle an EXCEPT_PRIV_INSN exception In the case of an error raised by a SYSCALL, call the corresponding syscall_callbacks @linux_env: LinuxEnvironment_arml instance @syscall_callbacks: syscall number -> func(jitter, linux_env)
def miasm.os_dep.linux.syscall.syscall_x86_32_exception_handler | ( | linux_env, | |
syscall_callbacks, | |||
jitter | |||
) |
Call to actually handle an EXCEPT_INT_XX exception In the case of an error raised by a SYSCALL, call the corresponding syscall_callbacks @linux_env: LinuxEnvironment_x86_32 instance @syscall_callbacks: syscall number -> func(jitter, linux_env)
def miasm.os_dep.linux.syscall.syscall_x86_64_exception_handler | ( | linux_env, | |
syscall_callbacks, | |||
jitter | |||
) |
Call to actually handle an EXCEPT_SYSCALL exception In the case of an error raised by a SYSCALL, call the corresponding syscall_callbacks @linux_env: LinuxEnvironment_x86_64 instance @syscall_callbacks: syscall number -> func(jitter, linux_env)
miasm.os_dep.linux.syscall.hnd = logging.StreamHandler() |
miasm.os_dep.linux.syscall.log = logging.getLogger('syscalls') |
dictionary miasm.os_dep.linux.syscall.syscall_callbacks_arml |
dictionary miasm.os_dep.linux.syscall.syscall_callbacks_x86_32 |
dictionary miasm.os_dep.linux.syscall.syscall_callbacks_x86_64 |