Crate faithe

Source
Expand description

§Faithe

Useful stuff for memory hacking in windows.

Modules§

internal
APIs for internal interation with current process.
memory
Useful memory APIs.
module
Module for dealing with processs’ modules.
pattern
Pattern searching.
process
Module for doing common things with processes.
thread
Iterator over threads and etc.
types
Re-exports of types used in windows.

Macros§

c_str
Constructs a zero-terminated string at compile time.
containing_record
Resolves next link in doubly-linked list.
function
Creates function that resolves its address on the first call.
global
Creates global that resolves its address on the first access.
interface
Creates an trait that emulates virtual table behavior from C++. You can use 'this lifetime for arguments that requires self lifetime.
list_iter
Creates an iterator over doubly-linked list.
offset_of
Calculates the offset of the specified field from the start of the named struct.
pc_str
Constructs new zero terminated string of type [windows::Win32::Foundation::PSTR].
size_of
Get size in bytes of types and variables.
str_ptr
Creates new StrPtr.
unicode_string
Creates new unicode string.
vmt
Creates a virtual method table.
wide
Encodes the input string as a wide string (utf-16) constant.

Enums§

FaitheError
Error type for all mistakes made in faithe.

Functions§

terminated_array
Creates an immutable slice from the terminated array by finding it’s last element. Returns a slice NOT INCLUDING the last element.
terminated_array_mut
Creates a mutable slice from the terminated array by finding it’s last element. Returns a slice NOT INCLUDING the last element.
to_mut_ref
Casts a pointer to a mutable reference.
to_ref
Casts a pointer to an immutable reference.