MCPcopy Create free account

hub / github.com/OpenByteDev/dll-syringe / functions

Functions330 in github.com/OpenByteDev/dll-syringe

↓ 1 callersFunctionbuild_test_target_x64
()
tests/common/mod.rs:43
↓ 1 callersFunctionbuild_test_target_x86
()
tests/common/mod.rs:35
↓ 1 callersMethodensure_capacity
(&mut self, capacity: usize)
src/utils/array_or_vec.rs:109
↓ 1 callersMethodfind_module_by_name
( &self, module_name: impl AsRef<Path>, )
src/process/borrowed.rs:139
↓ 1 callersMethodfind_module_by_name
( &self, module_name: impl AsRef<Path>, )
src/process/owned.rs:120
↓ 1 callersMethodfind_module_by_path
( &self, module_path: impl AsRef<Path>, )
src/process/borrowed.rs:166
↓ 1 callersMethodfree
(&self, allocation: &Allocation)
src/process/memory/remote_box.rs:68
↓ 1 callersMethodfree
(&mut self, allocation: &Self::Alloc)
src/process/memory/raw_allocator.rs:69
↓ 1 callersMethodget_free_library_fn_ptr
(&self)
src/syringe.rs:63
↓ 1 callersMethodget_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 callersMethodget_proc_address_fn_ptr
(&self)
src/syringe.rs:70
↓ 1 callersMethodinto_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 callersMethodinto_raw_handle
(self)
src/process/owned.rs:50
↓ 1 callersMethodinto_vec
(self)
src/utils/array_or_vec.rs:99
↓ 1 callersFunctionis_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 callersMethodis_empty
(&self)
src/process/memory/buffer.rs:277
↓ 1 callersMethodis_remote
(&self)
src/process/module.rs:210
↓ 1 callersMethodis_x64
Returns whether this process is a 64-bit process.
src/process/process.rs:144
↓ 1 callersMethodkill
Terminates this process with exit code 1.
src/process/process.rs:189
↓ 1 callersMethodkill_on_drop
(self)
src/process/owned.rs:281
↓ 1 callersMethodkill_with_exit_code
Terminates this process with the given exit code.
src/process/process.rs:194
↓ 1 callersMethodlen
(&self)
src/utils/array_or_vec.rs:46
↓ 1 callersMethodlen
(&self)
src/process/memory/remote_box.rs:109
↓ 1 callersMethodmemory
(&self)
src/process/memory/raw_allocator.rs:98
↓ 1 callersMethodpath
Returns the executable path of this process.
src/process/process.rs:154
↓ 1 callersFunctionpayload_procedure_helper_inner
( buf: &mut [u8], f: impl FnOnce(A) -> R, )
src/payload_utils.rs:63
↓ 1 callersMethodprocess
(&self)
src/rpc/payload.rs:76
↓ 1 callersMethodprocess
(&self)
src/process/memory/remote_box.rs:34
↓ 1 callersFunctionrange_from_bounds
( offset: usize, len: usize, range: &impl RangeBounds<usize>, )
src/utils/range.rs:3
↓ 1 callersMethodread
(&self)
src/process/memory/remote_box.rs:162
↓ 1 callersMethodread_bytes
(&self, buf: &mut [u8])
src/process/memory/remote_box.rs:105
↓ 1 callersMethodread_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 callersMethodspare_capacity_mut
(&mut self)
src/utils/array_or_vec.rs:92
↓ 1 callersMethodspare_writer
(&mut self)
src/utils/array_or_vec.rs:135
↓ 1 callersMethodstart_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 callersFunctiontest
(process: OwnedProcess, payload_path: &Path)
tests/inject.rs:90
↓ 1 callersMethodto_vec
(&self)
src/utils/array_buf.rs:67
↓ 1 callersMethodtry_guess_is_loaded
Returns whether this module is still loaded in the respective process.
src/process/module.rs:351
↓ 1 callersMethodtry_to_owned
Tries to create a new [`OwnedProcess`] instance for this process.
src/process/borrowed.rs:229
↓ 1 callersMethodwait_for_module_by_name
( &self, module_name: impl AsRef<Path>, timeout: Duration, )
src/process/owned.rs:142
MethodDllImportResolver
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
FunctionDllMain
( _hinst_dll: HINSTANCE, // handle to DLL module _fdw_reason: DWORD, // reason for calling function
tests/helpers/test_payload/src/lib.rs:5
MethodRegisterImportResolver
()
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
Functionadd
(a: u32, b: u32)
tests/helpers/test_payload/src/lib.rs:14
Functionadd_raw
(a: u32, b: u32)
tests/helpers/test_payload/src/lib.rs:29
Functionadd_raw_c
(a: u32, b: u32)
tests/helpers/test_payload/src/lib.rs:44
Functionadd_raw_large
(a: u64, b: u64)
tests/helpers/test_payload/src/lib.rs:39
Functionadd_raw_mixed
(a: f32, b: u32)
tests/helpers/test_payload/src/lib.rs:34
Functionadd_smol_raw
(a: u16, b: u8)
tests/helpers/test_payload/src/lib.rs:54
Methodall
()
src/process/owned.rs:194
Methodalloc_buf
(&self, len: usize)
src/process/memory/remote_box.rs:56
Methodalloc_uninit
(&self)
src/process/memory/remote_box.rs:43
Methodallocate
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
Methodallocate_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
Methodallocate_code
Allocates a new codea buffer of the given length in the given process.
src/process/memory/buffer.rs:71
Methodallocate_code_page
Allocates a new code buffer with the size of a memory page in the given process.
src/process/memory/buffer.rs:80
Methodallocate_data
Allocates a new data buffer of the given length in the given process.
src/process/memory/buffer.rs:63
Methodallocate_data_page
Allocates a new data buffer with the size of a memory page in the given process.
src/process/memory/buffer.rs:67
Methodallocate_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
Methodallocate_page
Allocates a new buffer with the size of a memory page in the given process.
src/process/memory/buffer.rs:59
Methodallocate_with_options
( process: BorrowedProcess<'a>, len: usize, allocation_type: DWORD, protection
src/process/memory/buffer.rs:83
Methodas_handle
(&self)
src/process/borrowed.rs:57
Methodas_local_slice
(&self)
src/process/memory/buffer.rs:399
Methodas_local_slice_mut
(&mut self)
src/process/memory/buffer.rs:409
Methodas_mut_slice
(&mut self)
src/process/memory/buffer.rs:173
Methodas_raw_ptr
(&self)
src/rpc/payload.rs:82
Methodas_slice
(&self)
src/process/memory/buffer.rs:167
Functionassert_send
()
src/syringe.rs:107
Methodbase_name
Returns the file name of the executable of this process.
src/process/process.rs:183
Methodbuild
( inject_data: &InjectHelpData, remote_allocator: &RemoteBoxAllocator, )
src/syringe.rs:427
Methodbuild_call_stub_x64
( procedure: F, result_buf: *mut usize, float_mask: u32, )
src/rpc/raw.rs:233
Methodbuild_call_stub_x86
( procedure: F, result_buf: *mut usize, float_mask: u32, )
src/rpc/raw.rs:175
Methodbuild_code_x64
( load_library_w: LoadLibraryWFn, return_buffer: *mut HMODULE, get_last_error: GetLast
src/syringe.rs:512
Methodbuild_code_x86
( load_library_w: LoadLibraryWFn, return_buffer: *mut HMODULE, get_last_error: GetLast
src/syringe.rs:474
Methodbuild_float_mask
()
src/rpc/raw.rs:323
Methodbuild_get_proc_address_x64
( get_proc_address: GetProcAddressFn, return_buffer: *mut UntypedFnPtr, )
src/rpc/rpc_core.rs:131
Methodbuild_get_proc_address_x86
( get_proc_address: GetProcAddressFn, return_buffer: *mut UntypedFnPtr, )
src/rpc/rpc_core.rs:94
Methodcall_with_args
(&self, args: &[usize])
src/rpc/raw.rs:116
Methodcall_with_args
( &self, args: <F::Args as Tuple<'_>>::Refs, )
src/rpc/payload.rs:94
Methodclear
(&mut self)
src/utils/array_or_vec.rs:71
Methodcode
(self)
src/error.rs:119
Functioncorrect_align
()
src/process/memory/raw_allocator.rs:346
Functioncrash
()
tests/helpers/test_payload/src/lib.rs:106
Methodcurrent_handle
()
src/process/borrowed.rs:135
Methodcurrent_handle
()
src/process/owned.rs:116
Functioncurrent_process_is_current
()
tests/process.rs:125
Functioncurrent_pseudo_process_eq_current_process
()
tests/process.rs:142
Methoddefault
()
src/utils/array_or_vec.rs:16
Methodderef
(&self)
src/utils/array_buf.rs:91
Methodderef
(&self)
src/utils/array_or_vec.rs:155
Methodderef
(&self)
src/process/memory/buffer.rs:33
Methodderef_mut
(&mut self)
src/utils/array_buf.rs:97
Methodderef_mut
(&mut self)
src/utils/array_or_vec.rs:161
Methodderef_mut
(&mut self)
src/process/memory/buffer.rs:38
Functiondoes_panic
()
tests/helpers/test_payload/src/lib.rs:24
Methoddrop
(&mut self)
src/utils/array_buf.rs:109
← previousnext →101–200 of 330, ranked by callers