Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ant4g0nist/rudroid
/ functions
Functions
154 in github.com/ant4g0nist/rudroid
⨍
Functions
154
◇
Types & classes
26
↓ 75 callers
Method
reg_read
Read an unsigned value from a register. Not to be used with registers larger than 64 bit.
code/src/core/unicorn/mod.rs:188
↓ 73 callers
Method
get_arg
(&mut self, num: i32)
code/src/core/android/syscalls/mod.rs:156
↓ 38 callers
Method
pack_64
(&self, value: u64)
code/src/core/mmu.rs:253
↓ 36 callers
Method
set_return_val
(&mut self, value: u64)
code/src/core/android/syscalls/mod.rs:189
↓ 20 callers
Method
debug_print
(&self, message: String)
code/src/core/unicorn/mod.rs:487
↓ 17 callers
Method
new_aux_ent
(&self, key: u64, val: u64)
code/src/core/loaders/elfLoader.rs:326
↓ 14 callers
Method
clone
(&self)
code/src/core/mmu.rs:19
↓ 13 callers
Function
give_me_color
(color: Colors)
code/src/utilities.rs:51
↓ 13 callers
Method
mem_write
(&mut self, address: u64, bytes: &[u8])
code/src/core/unicorn/mod.rs:78
↓ 13 callers
Method
pack_32
(&self, value: u32)
code/src/core/mmu.rs:309
↓ 9 callers
Function
context_title
(msg: Option<&str>)
code/src/utilities.rs:98
↓ 9 callers
Method
pack
unsigned pack
code/src/core/mmu.rs:222
↓ 8 callers
Function
draw_line
()
code/src/utilities.rs:87
↓ 8 callers
Method
reg_write
Write an unsigned value from a register.
code/src/core/unicorn/mod.rs:163
↓ 7 callers
Method
mem_read_as_vec
Return a range of bytes from memory at the specified address as vector.
code/src/core/unicorn/mod.rs:68
↓ 7 callers
Method
mmu_map
(&mut self, address: u64, size: usize, perms: Protection, description: &str, host_ptr: *mut c_void)
code/src/core/mmu.rs:37
↓ 7 callers
Method
null_mut
(&self)
code/src/core/unicorn/mod.rs:517
↓ 7 callers
Method
write
(&mut self, fd: RawFd, buffer: &mut [u8])
code/src/core/android/fs/mod.rs:127
↓ 5 callers
Method
copy_str
(&mut self, address: u64, string: &mut str)
code/src/core/mmu.rs:170
↓ 4 callers
Method
get_string
(&mut self, addr: u64)
code/src/core/android/syscalls/mod.rs:193
↓ 4 callers
Method
read_sp
(&mut self)
code/src/core/mmu.rs:205
↓ 4 callers
Method
uc_align_up
(&self, address: u64)
code/src/core/unicorn/mod.rs:508
↓ 3 callers
Function
callback
hooks
code/src/core/hooks.rs:18
↓ 3 callers
Method
emu_start
Emulate machine code for a specified duration. `begin` is the address where to start the emulation. The emulation stops if `until` is hit. `timeout`
code/src/core/unicorn/mod.rs:447
↓ 3 callers
Method
handle_emu_exception
(&mut self, err: Result<(), unicorn_const::uc_error>)
code/src/core/loaders/elfRunner.rs:41
↓ 3 callers
Method
read
(&self, fd: RawFd, buffer: &mut [u8])
code/src/core/android/fs/mod.rs:134
↓ 3 callers
Method
uc_align_down
(&self, address: u64)
code/src/core/unicorn/mod.rs:504
↓ 3 callers
Method
unpack_64
(&self, value: &[u8])
code/src/core/mmu.rs:281
↓ 3 callers
Method
write
(&mut self, address: u64, data: &[u8])
code/src/core/mmu.rs:166
↓ 2 callers
Method
add_mapinfo
(&mut self, map_info: MapInfo)
code/src/core/mmu.rs:83
↓ 2 callers
Method
add_mem_hook
Add a memory hook.
code/src/core/unicorn/mod.rs:289
↓ 2 callers
Method
alignment
(&self, address: u64)
code/src/core/unicorn/mod.rs:527
↓ 2 callers
Method
change_path_if_special
(&self, path: &str)
code/src/core/android/fs/mod.rs:182
↓ 2 callers
Method
check_for_traversal
(&self, path: &str)
code/src/core/android/fs/mod.rs:71
↓ 2 callers
Method
display_mapped
(&self)
code/src/core/mmu.rs:150
↓ 2 callers
Function
dump_context
(uc: &mut rudroid::Emulator<i64>, addr: u64, size: usize)
code/src/core/hooks.rs:33
↓ 2 callers
Method
empty_syscall_return
(&mut self)
code/src/core/android/syscalls/mod.rs:152
↓ 2 callers
Method
emu_stop
Stop the emulation. This is usually called from callback function in hooks. NOTE: For now, this will stop the execution only after the current block.
code/src/core/unicorn/mod.rs:465
↓ 2 callers
Method
is_driver_io
(&self, path: &str)
code/src/core/android/fs/mod.rs:204
↓ 2 callers
Method
mem_map
Map a memory region in the emulator at the specified address. `address` must be aligned to 4kb or this will return `Error::ARG`. `size` must be a mul
code/src/core/unicorn/mod.rs:116
↓ 2 callers
Method
mem_regions
Returns a vector with the memory regions that are mapped in the emulator.
code/src/core/unicorn/mod.rs:41
↓ 2 callers
Method
mmu_unmap
(&mut self, address: u64, size: usize)
code/src/core/mmu.rs:88
↓ 2 callers
Method
open
(&mut self, path: &str, flags: i32)
code/src/core/android/fs/mod.rs:86
↓ 2 callers
Method
pread
(&self, fd: RawFd, buf: &mut [u8], offset: u64)
code/src/core/android/fs/mod.rs:141
↓ 2 callers
Method
read
(&self, address: u64, size: usize)
code/src/core/mmu.rs:162
↓ 2 callers
Method
sys_read
(&mut self)
code/src/core/android/syscalls/unistd.rs:74
↓ 2 callers
Method
text
(&self)
code/src/core/android/fs/fserrors.rs:31
↓ 2 callers
Method
unpack
unsigned unpack
code/src/core/mmu.rs:234
↓ 2 callers
Method
write_sp
(&mut self, value: u64)
code/src/core/mmu.rs:209
↓ 1 callers
Function
add_hooks
(emu: &mut rudroid::Emulator<i64>)
code/src/core/hooks.rs:9
↓ 1 callers
Method
add_intr_hook
Add an interrupt hook.
code/src/core/unicorn/mod.rs:328
↓ 1 callers
Method
align_len
(&self, len: u64)
code/src/core/unicorn/mod.rs:500
↓ 1 callers
Method
close
(&mut self, fd: i32)
code/src/core/android/fs/mod.rs:152
↓ 1 callers
Method
dump_context
(&mut self)
code/src/core/loaders/elfRunner.rs:64
↓ 1 callers
Method
enable_vfp
(&mut self)
code/src/core/unicorn/mod.rs:494
↓ 1 callers
Method
get_arch
Return the architecture of the current emulator.
code/src/core/unicorn/mod.rs:36
↓ 1 callers
Method
get_path
(&mut self, fd: RawFd)
code/src/core/android/fs/mod.rs:218
↓ 1 callers
Function
get_syscall
(uc: &mut Emulator<i64>)
code/src/core/android/syscalls/mod.rs:15
↓ 1 callers
Method
is_mapped
(&mut self, address: u64, size: u64)
code/src/core/mmu.rs:93
↓ 1 callers
Method
load
(& mut self, elf: &mut ElfFile)
code/src/core/loaders/elfLoader.rs:42
↓ 1 callers
Method
load_with_ld
(&mut self, stack_address: u64, load_address: u64, archbit: header::Machine, elf: &mut ElfFile)
code/src/core/loaders/elfLoader.rs:63
↓ 1 callers
Function
log
(msg: &str, level: DebugLevel)
code/src/utilities.rs:138
↓ 1 callers
Method
mem_map_ptr
Map an existing memory region in the emulator at the specified address. This function is marked unsafe because it is the responsibility of the caller
code/src/core/unicorn/mod.rs:98
↓ 1 callers
Method
mem_read
Read a range of bytes from memory at the specified address.
code/src/core/unicorn/mod.rs:58
↓ 1 callers
Method
mem_unmap
Unmap a memory region. `address` must be aligned to 4kb or this will return `Error::ARG`. `size` must be a multiple of 4kb or this will return `Error
code/src/core/unicorn/mod.rs:133
↓ 1 callers
Method
null_str
(&self, input: &str)
code/src/core/unicorn/mod.rs:522
↓ 1 callers
Method
openat
(&mut self, dirfd: RawFd, path: &str, flags: i32, mode: i32)
code/src/core/android/fs/mod.rs:111
↓ 1 callers
Function
parse_args
()
code/src/main.rs:15
↓ 1 callers
Method
prctl
(&mut self)
code/src/core/android/syscalls/prctl.rs:8
↓ 1 callers
Method
run_elf
(&mut self)
code/src/core/loaders/elfRunner.rs:14
↓ 1 callers
Method
run_linker
(&mut self)
code/src/core/loaders/elfLoader.rs:333
↓ 1 callers
Method
set_shared
(&mut self, shared: bool)
code/src/core/android/fs/mod.rs:58
↓ 1 callers
Method
sigaction
(&mut self, signum: u64, act: u64, oldact : u64)
code/src/core/android/syscalls/signal.rs:22
↓ 1 callers
Method
sys_close
(&mut self)
code/src/core/android/syscalls/fnctl.rs:39
↓ 1 callers
Method
sys_exit_group
(&mut self)
code/src/core/android/syscalls/signal.rs:66
↓ 1 callers
Method
sys_faccessat
(&mut self)
code/src/core/android/syscalls/unistd.rs:21
↓ 1 callers
Method
sys_fcntl
(&mut self)
code/src/core/android/syscalls/fnctl.rs:25
↓ 1 callers
Method
sys_fstat
(&mut self)
code/src/core/android/syscalls/stat.rs:69
↓ 1 callers
Method
sys_fstatat
(&mut self)
code/src/core/android/syscalls/stat.rs:8
↓ 1 callers
Method
sys_fstatfs
(&mut self)
code/src/core/android/syscalls/stat.rs:101
↓ 1 callers
Method
sys_futex
(&mut self)
code/src/core/android/syscalls/futex.rs:21
↓ 1 callers
Method
sys_getpid
(&mut self)
code/src/core/android/syscalls/unistd.rs:6
↓ 1 callers
Method
sys_getrandom
(&mut self)
code/src/core/android/syscalls/random.rs:5
↓ 1 callers
Method
sys_getuid
(&mut self)
code/src/core/android/syscalls/unistd.rs:117
↓ 1 callers
Method
sys_ioctl
(&mut self)
code/src/core/android/syscalls/ioctl.rs:5
↓ 1 callers
Method
sys_mmap
(&mut self)
code/src/core/android/syscalls/mman.rs:14
↓ 1 callers
Method
sys_mprotect
(&mut self)
code/src/core/android/syscalls/mman.rs:65
↓ 1 callers
Method
sys_munmap
(&mut self)
code/src/core/android/syscalls/mman.rs:76
↓ 1 callers
Method
sys_openat
(&mut self)
code/src/core/android/syscalls/fnctl.rs:4
↓ 1 callers
Method
sys_pread64
(&mut self)
code/src/core/android/syscalls/unistd.rs:98
↓ 1 callers
Method
sys_readlinkat
(&mut self)
code/src/core/android/syscalls/unistd.rs:37
↓ 1 callers
Method
sys_rt_sigaction
(&mut self)
code/src/core/android/syscalls/signal.rs:11
↓ 1 callers
Method
sys_rt_sigprocmask
(&mut self)
code/src/core/android/syscalls/signal.rs:56
↓ 1 callers
Method
sys_sched_getscheduler
(&mut self)
code/src/core/android/syscalls/sched.rs:5
↓ 1 callers
Method
sys_set_tid_address
(&mut self)
code/src/core/android/syscalls/unistd.rs:11
↓ 1 callers
Method
sys_sigaltstack
(&mut self)
code/src/core/android/syscalls/signal.rs:4
↓ 1 callers
Method
sys_write
(&mut self)
code/src/core/android/syscalls/unistd.rs:121
↓ 1 callers
Method
syscall
(&mut self, syscall: syscalls::Syscalls)
code/src/core/android/syscalls/mod.rs:28
↓ 1 callers
Function
to_uc_permissions
(perms: program::Flags)
code/src/utilities.rs:160
↓ 1 callers
Method
unpack_32
(&self, value: &[u8])
code/src/core/mmu.rs:337
next →
1–100 of 154, ranked by callers