Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenByteDev/dll-syringe
/ functions
Functions
330 in github.com/OpenByteDev/dll-syringe
⨍
Functions
330
◇
Types & classes
59
↓ 1 callers
Function
build_test_target_x64
()
tests/common/mod.rs:43
↓ 1 callers
Function
build_test_target_x86
()
tests/common/mod.rs:35
↓ 1 callers
Method
ensure_capacity
(&mut self, capacity: usize)
src/utils/array_or_vec.rs:109
↓ 1 callers
Method
find_module_by_name
( &self, module_name: impl AsRef<Path>, )
src/process/borrowed.rs:139
↓ 1 callers
Method
find_module_by_name
( &self, module_name: impl AsRef<Path>, )
src/process/owned.rs:120
↓ 1 callers
Method
find_module_by_path
( &self, module_path: impl AsRef<Path>, )
src/process/borrowed.rs:166
↓ 1 callers
Method
free
(&self, allocation: &Allocation)
src/process/memory/remote_box.rs:68
↓ 1 callers
Method
free
(&mut self, allocation: &Self::Alloc)
src/process/memory/raw_allocator.rs:69
↓ 1 callers
Method
get_free_library_fn_ptr
(&self)
src/syringe.rs:63
↓ 1 callers
Method
get_local_procedure_address
Returns a pointer to the procedure with the given name from this module. # Note This function is only supported for modules in the current process.
src/process/module.rs:302
↓ 1 callers
Method
get_proc_address_fn_ptr
(&self)
src/syringe.rs:70
↓ 1 callers
Method
into_dangling_local_slice
Leaks the buffer and returns the underlying memory slice if the buffer is allocated in the current process.
src/process/memory/buffer.rs:148
↓ 1 callers
Method
into_raw_handle
(self)
src/process/owned.rs:50
↓ 1 callers
Method
into_vec
(self)
src/utils/array_or_vec.rs:99
↓ 1 callers
Function
is_cross
Detects cross-rs. Remarks: I wish I could install Rust itself via `Rustup` here, but the Ubuntu image that ships with `cross` doesn't have the right
tests/common/mod.rs:106
↓ 1 callers
Method
is_empty
(&self)
src/process/memory/buffer.rs:277
↓ 1 callers
Method
is_remote
(&self)
src/process/module.rs:210
↓ 1 callers
Method
is_x64
Returns whether this process is a 64-bit process.
src/process/process.rs:144
↓ 1 callers
Method
kill
Terminates this process with exit code 1.
src/process/process.rs:189
↓ 1 callers
Method
kill_on_drop
(self)
src/process/owned.rs:281
↓ 1 callers
Method
kill_with_exit_code
Terminates this process with the given exit code.
src/process/process.rs:194
↓ 1 callers
Method
len
(&self)
src/utils/array_or_vec.rs:46
↓ 1 callers
Method
len
(&self)
src/process/memory/remote_box.rs:109
↓ 1 callers
Method
memory
(&self)
src/process/memory/raw_allocator.rs:98
↓ 1 callers
Method
path
Returns the executable path of this process.
src/process/process.rs:154
↓ 1 callers
Function
payload_procedure_helper_inner
( buf: &mut [u8], f: impl FnOnce(A) -> R, )
src/payload_utils.rs:63
↓ 1 callers
Method
process
(&self)
src/rpc/payload.rs:76
↓ 1 callers
Method
process
(&self)
src/process/memory/remote_box.rs:34
↓ 1 callers
Function
range_from_bounds
( offset: usize, len: usize, range: &impl RangeBounds<usize>, )
src/utils/range.rs:3
↓ 1 callers
Method
read
(&self)
src/process/memory/remote_box.rs:162
↓ 1 callers
Method
read_bytes
(&self, buf: &mut [u8])
src/process/memory/remote_box.rs:105
↓ 1 callers
Method
read_struct
Reads a value of type `T` from this buffer starting from the given offset. # Panics This function will panic if the given offset plus the size of the
src/process/memory/buffer.rs:320
↓ 1 callers
Method
spare_capacity_mut
(&mut self)
src/utils/array_or_vec.rs:92
↓ 1 callers
Method
spare_writer
(&mut self)
src/utils/array_or_vec.rs:135
↓ 1 callers
Method
start_remote_thread
not relevant as ptr is dereffed in the target process and any invalid deref will only result in an io::Error.
src/process/process.rs:233
↓ 1 callers
Function
test
(process: OwnedProcess, payload_path: &Path)
tests/inject.rs:90
↓ 1 callers
Method
to_vec
(&self)
src/utils/array_buf.rs:67
↓ 1 callers
Method
try_guess_is_loaded
Returns whether this module is still loaded in the respective process.
src/process/module.rs:351
↓ 1 callers
Method
try_to_owned
Tries to create a new [`OwnedProcess`] instance for this process.
src/process/borrowed.rs:229
↓ 1 callers
Method
wait_for_module_by_name
( &self, module_name: impl AsRef<Path>, timeout: Duration, )
src/process/owned.rs:142
Method
DllImportResolver
https://docs.microsoft.com/en-us/dotnet/standard/native-interop/cross-platform Library path will search win => __DllName, __DllName.dll linux, osx =>
dll-syringe-bindings/bindings/csharp/NativeMethods.cs:24
Function
DllMain
( _hinst_dll: HINSTANCE, // handle to DLL module _fdw_reason: DWORD, // reason for calling function
tests/helpers/test_payload/src/lib.rs:5
Method
RegisterImportResolver
()
dll-syringe-bindings/bindings/csharp/Init.cs:6
Function
__payload_procedure_helper
( buf_info_ptr: *mut c_void, f: impl FnOnce(A) -> R, )
src/payload_utils.rs:19
Method
_find_remote_by_name
( module_name: impl AsRef<Path>, process: P, )
src/process/module.rs:169
Method
_find_remote_by_path
( module_path: impl AsRef<Path>, process: P, )
src/process/module.rs:180
Method
_load_inject_help_data_for_process
( process: BorrowedProcess<'_>, )
src/syringe.rs:347
Function
add
(a: u32, b: u32)
tests/helpers/test_payload/src/lib.rs:14
Function
add_raw
(a: u32, b: u32)
tests/helpers/test_payload/src/lib.rs:29
Function
add_raw_c
(a: u32, b: u32)
tests/helpers/test_payload/src/lib.rs:44
Function
add_raw_large
(a: u64, b: u64)
tests/helpers/test_payload/src/lib.rs:39
Function
add_raw_mixed
(a: f32, b: u32)
tests/helpers/test_payload/src/lib.rs:34
Function
add_smol_raw
(a: u16, b: u8)
tests/helpers/test_payload/src/lib.rs:54
Method
all
()
src/process/owned.rs:194
Method
alloc_buf
(&self, len: usize)
src/process/memory/remote_box.rs:56
Method
alloc_uninit
(&self)
src/process/memory/remote_box.rs:43
Method
allocate
Allocates a new buffer of the given length in the given process. Both data and code can be stored in the buffer.
src/process/memory/buffer.rs:55
Method
allocate_and_write
Allocates a new buffer with enough space to store a value of type `T` in the given process.
src/process/memory/buffer.rs:112
Method
allocate_code
Allocates a new codea buffer of the given length in the given process.
src/process/memory/buffer.rs:71
Method
allocate_code_page
Allocates a new code buffer with the size of a memory page in the given process.
src/process/memory/buffer.rs:80
Method
allocate_data
Allocates a new data buffer of the given length in the given process.
src/process/memory/buffer.rs:63
Method
allocate_data_page
Allocates a new data buffer with the size of a memory page in the given process.
src/process/memory/buffer.rs:67
Method
allocate_for
Allocates a new buffer with enough space to store a value of type `T` in the given process.
src/process/memory/buffer.rs:107
Method
allocate_page
Allocates a new buffer with the size of a memory page in the given process.
src/process/memory/buffer.rs:59
Method
allocate_with_options
( process: BorrowedProcess<'a>, len: usize, allocation_type: DWORD, protection
src/process/memory/buffer.rs:83
Method
as_handle
(&self)
src/process/borrowed.rs:57
Method
as_local_slice
(&self)
src/process/memory/buffer.rs:399
Method
as_local_slice_mut
(&mut self)
src/process/memory/buffer.rs:409
Method
as_mut_slice
(&mut self)
src/process/memory/buffer.rs:173
Method
as_raw_ptr
(&self)
src/rpc/payload.rs:82
Method
as_slice
(&self)
src/process/memory/buffer.rs:167
Function
assert_send
()
src/syringe.rs:107
Method
base_name
Returns the file name of the executable of this process.
src/process/process.rs:183
Method
build
( inject_data: &InjectHelpData, remote_allocator: &RemoteBoxAllocator, )
src/syringe.rs:427
Method
build_call_stub_x64
( procedure: F, result_buf: *mut usize, float_mask: u32, )
src/rpc/raw.rs:233
Method
build_call_stub_x86
( procedure: F, result_buf: *mut usize, float_mask: u32, )
src/rpc/raw.rs:175
Method
build_code_x64
( load_library_w: LoadLibraryWFn, return_buffer: *mut HMODULE, get_last_error: GetLast
src/syringe.rs:512
Method
build_code_x86
( load_library_w: LoadLibraryWFn, return_buffer: *mut HMODULE, get_last_error: GetLast
src/syringe.rs:474
Method
build_float_mask
()
src/rpc/raw.rs:323
Method
build_get_proc_address_x64
( get_proc_address: GetProcAddressFn, return_buffer: *mut UntypedFnPtr, )
src/rpc/rpc_core.rs:131
Method
build_get_proc_address_x86
( get_proc_address: GetProcAddressFn, return_buffer: *mut UntypedFnPtr, )
src/rpc/rpc_core.rs:94
Method
call_with_args
(&self, args: &[usize])
src/rpc/raw.rs:116
Method
call_with_args
( &self, args: <F::Args as Tuple<'_>>::Refs, )
src/rpc/payload.rs:94
Method
clear
(&mut self)
src/utils/array_or_vec.rs:71
Method
code
(self)
src/error.rs:119
Function
correct_align
()
src/process/memory/raw_allocator.rs:346
Function
crash
()
tests/helpers/test_payload/src/lib.rs:106
Method
current_handle
()
src/process/borrowed.rs:135
Method
current_handle
()
src/process/owned.rs:116
Function
current_process_is_current
()
tests/process.rs:125
Function
current_pseudo_process_eq_current_process
()
tests/process.rs:142
Method
default
()
src/utils/array_or_vec.rs:16
Method
deref
(&self)
src/utils/array_buf.rs:91
Method
deref
(&self)
src/utils/array_or_vec.rs:155
Method
deref
(&self)
src/process/memory/buffer.rs:33
Method
deref_mut
(&mut self)
src/utils/array_buf.rs:97
Method
deref_mut
(&mut self)
src/utils/array_or_vec.rs:161
Method
deref_mut
(&mut self)
src/process/memory/buffer.rs:38
Function
does_panic
()
tests/helpers/test_payload/src/lib.rs:24
Method
drop
(&mut self)
src/utils/array_buf.rs:109
← previous
next →
101–200 of 330, ranked by callers