Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/mandiant/speakeasy
/ functions
Functions
2,357 in github.com/mandiant/speakeasy
⨍
Functions
2,357
◇
Types & classes
416
↳
Endpoints
229
↓ 2 callers
Method
_fire_dyn_code_hooks
(self, addr)
speakeasy/binemu.py:921
↓ 2 callers
Method
_get_exception_list
Retrieves the exception handler list for the current thread
speakeasy/windows/winemu.py:2467
↓ 2 callers
Method
_get_pe_imports
(self)
speakeasy/windows/common.py:259
↓ 2 callers
Method
_get_pe_sections
(self)
speakeasy/windows/common.py:301
↓ 2 callers
Method
_hook_mem_map_dispatch
(self, mm)
speakeasy/memmgr.py:79
↓ 2 callers
Method
_init_name
(self, path, data=None, filename=None)
speakeasy/windows/win32.py:353
↓ 2 callers
Function
_lowercase_set
(tt)
speakeasy/windows/hammer.py:25
↓ 2 callers
Method
_ordered_peb_modules
(self)
speakeasy/windows/win32.py:500
↓ 2 callers
Method
_patch_imports
Imports are patched with invalid memory addresses. When the API is called by the emulated binary, the invalid memory fetch callback w
speakeasy/windows/common.py:324
↓ 2 callers
Method
_prepare_run_context
Prepare CPU and memory state for the given run without starting emulation.
speakeasy/windows/winemu.py:424
↓ 2 callers
Method
_set_emu_hooks
Unmap reserved memory space so we can handle events (e.g. import APIs, entry point returns, etc.)
speakeasy/windows/winemu.py:377
↓ 2 callers
Method
_set_entry_point_names
(self)
speakeasy/windows/kernel.py:564
↓ 2 callers
Method
_setup_gdt
Set up the GDT so we can access segment registers correctly This will be done a little differently depending on architecture
speakeasy/windows/winemu.py:676
↓ 2 callers
Method
add
(self)
speakeasy/common.py:231
↓ 2 callers
Function
add_config_cli_arguments
(parser: argparse.ArgumentParser, specs: list[ConfigCliFieldSpec])
speakeasy/cli_config.py:73
↓ 2 callers
Method
add_instruction_hook
Add a hook that will fire for IN, SYSCALL, or SYSENTER instructions
speakeasy/binemu.py:1102
↓ 2 callers
Method
add_module_to_peb
(self, module)
speakeasy/windows/objman.py:576
↓ 2 callers
Method
add_section
Add a section to the decoy PE
speakeasy/windows/common.py:477
↓ 2 callers
Method
add_symlink
(self, link, dev)
speakeasy/windows/objman.py:854
↓ 2 callers
Method
add_vectored_exception_handler
Add a vectored exception handler that will be executed on an exception
speakeasy/windows/win32.py:121
↓ 2 callers
Method
alloc_peb
Allocate memory for the Process Environment Block (PEB)
speakeasy/windows/win32.py:475
↓ 2 callers
Method
alloc_stack
Allocate memory to use for the program stack
speakeasy/binemu.py:595
↓ 2 callers
Function
apply_config_cli_overrides
( config: dict[str, Any], args: argparse.Namespace, specs: list[ConfigCliFieldSpec], )
speakeasy/cli_config.py:136
↓ 2 callers
Method
bind
int bind( SOCKET s, const sockaddr *addr, int namelen );
speakeasy/winenv/api/usermode/ws2_32.py:362
↓ 2 callers
Method
build_service_main_args
(self, service_name, service_args=None, char_width=1)
speakeasy/windows/win32.py:61
↓ 2 callers
Method
cast
Create a formatted structure from bytes
speakeasy/windows/winemu.py:251
↓ 2 callers
Method
cast_section
Get a section from a given offset
speakeasy/windows/common.py:458
↓ 2 callers
Method
clean_stack_args
Adjust the stack for arguments that were supplied
speakeasy/binemu.py:612
↓ 2 callers
Method
connect
int WSAAPI connect( SOCKET s, const sockaddr *name, int namelen );
speakeasy/winenv/api/usermode/ws2_32.py:322
↓ 2 callers
Method
convert_pool_tag
(self, tag)
speakeasy/winenv/api/kernelmode/ndis.py:41
↓ 2 callers
Method
create_heap
(self, emu)
speakeasy/winenv/api/usermode/kernel32.py:131
↓ 2 callers
Method
create_mutant
Create a kernel mutant object
speakeasy/windows/winemu.py:2730
↓ 2 callers
Method
crypt_get
(self, hnd)
speakeasy/windows/cryptman.py:67
↓ 2 callers
Method
dec_ref
Dereferece an object and remove it from the object manager when its reference count is 0
speakeasy/windows/objman.py:883
↓ 2 callers
Function
decode_artifact
(entry: DataArtifact)
tests/test_artifact_store.py:8
↓ 2 callers
Method
dev_ioctl
(self, arch, dev, ioctl, inbuf)
speakeasy/windows/ioman.py:17
↓ 2 callers
Method
disasm
Disassemble bytes at a specified address
speakeasy/binemu.py:232
↓ 2 callers
Method
emit_config_descriptor
(self)
examples/usb_emu.py:75
↓ 2 callers
Method
enable
(self)
speakeasy/engines/unicorn_eng.py:48
↓ 2 callers
Method
file_create_mapping
(self, hfile, name, size, prot)
speakeasy/winenv/api/api.py:289
↓ 2 callers
Method
file_delete
Delete a file
speakeasy/windows/winemu.py:297
↓ 2 callers
Method
format_http_request
(self, headers=None)
speakeasy/windows/netman.py:149
↓ 2 callers
Method
get_address_tag
Get the tag for a supplied memory address
speakeasy/memmgr.py:235
↓ 2 callers
Method
get_ansi_strings
Get all ansi strings from a supplied memory blob
speakeasy/binemu.py:700
↓ 2 callers
Method
get_api_hooks
If an API hook has been set, return it here
speakeasy/binemu.py:822
↓ 2 callers
Function
get_config_cli_field_specs
(default_config: dict[str, Any] | None = None)
speakeasy/cli_config.py:154
↓ 2 callers
Method
get_connection_info
(self)
speakeasy/windows/netman.py:51
↓ 2 callers
Function
get_const_defines
(flags, prefix="")
speakeasy/winenv/defs/wininet.py:174
↓ 2 callers
Method
get_current_irql
(self)
speakeasy/winenv/api/kernelmode/ntoskrnl.py:44
↓ 2 callers
Method
get_current_station
(self)
speakeasy/windows/sessman.py:153
↓ 2 callers
Function
get_define_int
(define, prefix="")
speakeasy/winenv/defs/windows/com.py:117
↓ 2 callers
Function
get_define_str
(define, prefix="")
speakeasy/winenv/defs/windows/com.py:128
↓ 2 callers
Function
get_defines
(define, prefix="")
speakeasy/winenv/defs/registry/reg.py:67
↓ 2 callers
Method
get_drive
(self, root_path="", volume_guid_path="")
speakeasy/windows/driveman.py:23
↓ 2 callers
Method
get_file_from_handle
(self, handle)
speakeasy/windows/fileman.py:303
↓ 2 callers
Function
get_flag_defines
(flags, prefix="")
speakeasy/winenv/defs/windows/windows.py:309
↓ 2 callers
Method
get_handle
(self)
speakeasy/windows/fileman.py:57
↓ 2 callers
Method
get_handle
(self)
speakeasy/windows/cryptman.py:28
↓ 2 callers
Method
get_hash
(self)
speakeasy/windows/fileman.py:104
↓ 2 callers
Method
get_json_report
Retrieve the execution profile for the emulator as a json string
speakeasy/profiler.py:635
↓ 2 callers
Method
get_kernel_mod
Get the kernel image module
speakeasy/windows/kernel.py:555
↓ 2 callers
Method
get_key_from_config
See if the emulator config file contains a handler for the requested registry path
speakeasy/windows/regman.py:159
↓ 2 callers
Method
get_key_from_handle
(self, handle)
speakeasy/windows/regman.py:119
↓ 2 callers
Method
get_last_error
Get the last error code for the current thread
speakeasy/windows/win32.py:107
↓ 2 callers
Method
get_mapping_from_handle
(self, handle)
speakeasy/windows/fileman.py:294
↓ 2 callers
Method
get_mem_strings
Get ansi and unicode strings from emulated memory
speakeasy/binemu.py:777
↓ 2 callers
Method
get_name
(self)
speakeasy/windows/regman.py:47
↓ 2 callers
Method
get_port
(self)
speakeasy/windows/netman.py:138
↓ 2 callers
Function
get_primary_sections
(report)
tests/test_section_access.py:23
↓ 2 callers
Method
get_ptr_field
Get ctypes value for the required pointer size
speakeasy/struct.py:171
↓ 2 callers
Method
get_registry_key
Get registry key by path or handle args: handle: handle corresponding for a registry key path: Path to a reg
speakeasy/speakeasy.py:569
↓ 2 callers
Method
get_report
Retrieve the execution profile for the emulator
speakeasy/profiler.py:642
↓ 2 callers
Function
get_sample_path
(case: PmaCase)
tests/pma_harness.py:76
↓ 2 callers
Method
get_server
(self)
speakeasy/windows/netman.py:135
↓ 2 callers
Method
get_session_manager
Get the session manager for the emulator. This will manage things like desktops, windows, and session isolation
speakeasy/windows/win32.py:114
↓ 2 callers
Method
get_stack_trace
Get the current stack state
speakeasy/binemu.py:517
↓ 2 callers
Method
get_system_process
Get the process object for the system process (PID 4)
speakeasy/windows/kernel.py:48
↓ 2 callers
Method
get_unicode_strings
Get all unicode strings from a supplied memory blob
speakeasy/binemu.py:719
↓ 2 callers
Method
handle_import_data
Data that is imported (e.g. KeTickCount) is handled with a initializer function. Call it here if there is a handler for the imported
speakeasy/windows/winemu.py:1372
↓ 2 callers
Method
import_key
(self, blob_type=None, blob=None, blob_len=None, hnd_import_key=None, param_list=None, flags=None)
speakeasy/windows/cryptman.py:33
↓ 2 callers
Method
init_container_process
Create a process to be used to host shellcode or DLLs
speakeasy/windows/win32.py:572
↓ 2 callers
Method
init_processes
(self, processes)
speakeasy/windows/kernel.py:181
↓ 2 callers
Method
init_teb
(self, teb_addr, peb_addr)
speakeasy/windows/objman.py:426
↓ 2 callers
Method
init_usb_descriptors
(self)
examples/usb_emu.py:31
↓ 2 callers
Function
is_model_type
(annotation: Any)
speakeasy/cli_config.py:332
↓ 2 callers
Method
is_secure
(self)
speakeasy/windows/netman.py:144
↓ 2 callers
Method
load_module
(self, path=None, data=None, filename=None)
speakeasy/windows/win32.py:162
↓ 2 callers
Method
load_thread_context
Set the current thread CPU context
speakeasy/windows/winemu.py:2418
↓ 2 callers
Function
main
()
speakeasy/cli.py:216
↓ 2 callers
Method
make_image
(self)
speakeasy/windows/loaders.py:399
↓ 2 callers
Method
make_image
(self)
speakeasy/windows/loaders.py:518
↓ 2 callers
Method
mem_map_reserve
Map a previously reserved block of memory
speakeasy/memmgr.py:271
↓ 2 callers
Method
mem_unmap
Free a block of emulated memory
speakeasy/memmgr.py:179
↓ 2 callers
Method
new_object
(self, obj_type)
speakeasy/windows/objman.py:857
↓ 2 callers
Method
new_window
(self)
speakeasy/windows/sessman.py:65
↓ 2 callers
Method
new_wininet_inst
(self, user_agent, access, proxy, bypass, flags)
speakeasy/windows/netman.py:352
↓ 2 callers
Method
normalize_import_miss
This function attempts to fold as many function handlers together as possible. For example, ntdll functions will be handled by the nt
speakeasy/windows/winemu.py:1561
↓ 2 callers
Method
normalize_value
Convert registry values to python types
speakeasy/windows/regman.py:25
↓ 2 callers
Method
pad_file
(self)
speakeasy/windows/common.py:521
↓ 2 callers
Function
parse_volume_spec
Parse a ``host_path:guest_path`` volume specification. Handles Windows drive-letter colons on both sides (e.g. ``C:\\samples:C:\\guest``). T
speakeasy/volumes.py:8
← previous
next →
301–400 of 2,357, ranked by callers