MCPcopy Create free account

hub / github.com/Irate-Walrus/stardust-rs / functions

Functions65 in github.com/Irate-Walrus/stardust-rs

↓ 10 callersFunctionresolve_function
Finds a function by its hash from the export directory of a module. # Arguments `module_base` - The base address of the module. `function_hash` - The
stardust/src/stcore/os/windows/resolve.rs:108
↓ 4 callersMethodhandle
(&self)
stardust/src/stcore/os/windows/allocator.rs:19
↓ 2 callersFunctiondata_offset
()
stardust/src/stcore/mod.rs:18
↓ 2 callersFunctionepilogue_offset
()
stardust/src/stcore/mod.rs:34
↓ 2 callersFunctiongot_offset
()
stardust/src/stcore/mod.rs:26
↓ 2 callersFunctionlog_str
Log &str to stdout
stardust/src/stcore/os/linux/mod.rs:16
↓ 2 callersFunctionresolve_module
Finds and returns the base address of a module by its hash. # Arguments `module_hash` - The hash of the module name to locate. Returns the base addr
stardust/src/stcore/os/windows/resolve.rs:66
↓ 2 callersFunctionrip_end
()
stardust/src/stcore/arch/i686/mod.rs:24
↓ 2 callersFunctionrip_start
()
stardust/src/stcore/arch/i686/mod.rs:9
↓ 2 callersMethodrtl_allocate_heap
(&self)
stardust/src/stcore/os/windows/ntdll.rs:29
↓ 1 callersFunctionalloc_rw
()
runner/src/main.rs:44
↓ 1 callersFunctionclose
Closes a file using the `close` syscall
stardust/src/stcore/os/linux/resolve.rs:30
↓ 1 callersFunctiondjb2_hash
(buf: bytes)
stardust/scripts/djb2.py:3
↓ 1 callersFunctiondjb2_hash_u8
(data: &[u8])
djb2_macro/src/lib.rs:49
↓ 1 callersFunctionfind_peb
()
stardust/src/stcore/os/windows/resolve.rs:12
↓ 1 callersFunctionget_cstr_len
Calculates the length of a C-style null-terminated string. This function counts the number of characters in the string until it encounters a null byt
stardust/src/stcore/os/windows/resolve.rs:163
↓ 1 callersFunctionget_nt_headers
Retrieves the NT headers from the base address of a module. # Arguments `base_addr` - The base address of the module. Returns a pointer to `ImageNtH
stardust/src/stcore/os/windows/resolve.rs:41
↓ 1 callersFunctioninitialize
()
stardust/src/stcore/os/linux/mod.rs:58
↓ 1 callersMethodinitialize
(&self)
stardust/src/stcore/os/windows/allocator.rs:27
↓ 1 callersMethodnt_protect_virtual_memory
(&self)
stardust/src/stcore/os/windows/ntdll.rs:54
↓ 1 callersFunctionopen
Opens a file using the `open` syscall
stardust/src/stcore/os/linux/resolve.rs:20
↓ 1 callersFunctionpatch_got_offsets
(ptr: *mut c_void)
stardust/src/stcore/os/windows/mod.rs:35
↓ 1 callersFunctionpatch_got_offsets
Patch hardcoded memory addresses in the GLOBAL_OFFSET_TABLE this has the side effect of changing the values of *_offset() to their actual addresses bu
stardust/src/stcore/os/linux/mod.rs:45
↓ 1 callersFunctionread
Reads from a file using the `read` syscall
stardust/src/stcore/os/linux/resolve.rs:25
↓ 1 callersFunctionresolve_function
(module_base: *const c_void, sym_hash: u32)
stardust/src/stcore/os/linux/resolve.rs:159
↓ 1 callersFunctionresolve_module
(sym_hash: u32)
stardust/src/stcore/os/linux/resolve.rs:39
↓ 1 callersMethodrtl_create_heap
(&self)
stardust/src/stcore/os/windows/ntdll.rs:24
↓ 1 callersMethodrtl_free_heap
(&self)
stardust/src/stcore/os/windows/ntdll.rs:34
↓ 1 callersMethodrtl_re_allocate_heap
(&self)
stardust/src/stcore/os/windows/ntdll.rs:39
↓ 1 callersFunctionrw_page
Set data, bss, and got page to RW really this only protects `size_of::<usize>()` but it'll flip the entire page including `rip_end()`, so don't call t
stardust/src/stcore/os/linux/mod.rs:36
↓ 1 callersFunctionset_rx
(ptr: *mut usize)
runner/src/main.rs:67
↓ 1 callersFunctionwrite
Write to file descriptor using the `write` syscall
stardust/src/stcore/os/linux/mod.rs:29
↓ 1 callersMethodwrite_file
(&self)
stardust/src/stcore/os/windows/kernel32.rs:26
Function_Unwind_Resume
()
stardust/src/main.rs:39
Function_stmain
()
stardust/src/main.rs:54
Methodalloc
(&self, layout: Layout)
stardust/src/stcore/os/windows/allocator.rs:47
Methodalloc
(&self, layout: Layout)
stardust/src/stcore/os/linux/allocator.rs:13
Methodalloc_zeroed
(&self, layout: Layout)
stardust/src/stcore/os/windows/allocator.rs:52
Methoddealloc
(&self, ptr: *mut u8, _layout: Layout)
stardust/src/stcore/os/windows/allocator.rs:57
Methoddealloc
(&self, ptr: *mut u8, layout: Layout)
stardust/src/stcore/os/linux/allocator.rs:39
Functiondefine_djb2_hash_fn
(input: TokenStream)
djb2_macro/src/lib.rs:10
Functiondjb2_hash
(input: TokenStream)
djb2_macro/src/lib.rs:33
Methodfrom_local
Initializes the global INSTANCE with a provided stack-initialized instance. This should only be called once.
stardust/src/stcore/instance.rs:48
Methodget
()
stardust/src/stcore/instance.rs:70
Functioninitialize
()
stardust/src/stcore/os/windows/mod.rs:48
Functionlog_str
Log &str to stdout
stardust/src/stcore/os/windows/mod.rs:17
Functionmain
()
runner/src/main.rs:17
Functionmain
()
stardust/build.rs:4
Methodnew
()
stardust/src/stcore/instance.rs:28
Methodnew
()
stardust/src/stcore/os/windows/ntdll.rs:19
Methodnew
()
stardust/src/stcore/os/windows/kernel32.rs:11
Methodnew
()
stardust/src/stcore/os/linux/libc.rs:9
Methodnt_terminate_process
(&self)
stardust/src/stcore/os/windows/ntdll.rs:49
Methodoutput_debug_string_a
(&self)
stardust/src/stcore/os/windows/kernel32.rs:16
Methodoutput_debug_string_w
(&self)
stardust/src/stcore/os/windows/kernel32.rs:21
Functionpanic
(_: &core::panic::PanicInfo)
stardust/src/main.rs:45
Methodrealloc
(&self, ptr: *mut u8, _layout: Layout, new_size: usize)
stardust/src/stcore/os/windows/allocator.rs:62
Functionrip_end
()
stardust/src/stcore/arch/x86_64/mod.rs:29
Functionrip_start
()
stardust/src/stcore/arch/x86_64/mod.rs:14
Methodrtl_destroy_heap
(&self)
stardust/src/stcore/os/windows/ntdll.rs:44
Functionrust_eh_personality
()
stardust/src/main.rs:29
Functionrust_oom
()
stardust/src/stcore/os/windows/allocator.rs:69
Functionrust_oom
()
stardust/src/stcore/os/linux/allocator.rs:47
Functionusize_to_hex_str
(num: usize)
stardust/src/stcore/macros.rs:45
Functionusize_to_int_str
(num: usize)
stardust/src/stcore/macros.rs:77