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
↓ 4 callers
Function
output_active_config
(model: SpeakeasyConfig, logger)
speakeasy/cli_config.py:197
↓ 4 callers
Method
parse_usb_config
(self, data)
speakeasy/winenv/api/kernelmode/wdfldr.py:174
↓ 4 callers
Method
push_stack
Put a value on the stack and adjust the stack pointer args: val: value to push to the stack return:
speakeasy/speakeasy.py:792
↓ 4 callers
Method
read_back
(self)
speakeasy/windows/objman.py:294
↓ 4 callers
Method
read_ptr
(self, address)
speakeasy/binemu.py:764
↓ 4 callers
Method
read_registers
(self)
tests/test_gdb.py:73
↓ 4 callers
Method
set_context
(self, context, address=0)
speakeasy/windows/objman.py:61
↓ 4 callers
Method
win_perms_to_emu_perms
(self, win_perms)
speakeasy/winenv/api/usermode/kernel32.py:137
↓ 3 callers
Method
GetSystemTimeAsFileTime
void GetSystemTimeAsFileTime( LPFILETIME lpSystemTimeAsFileTime );
speakeasy/winenv/api/usermode/kernel32.py:1632
↓ 3 callers
Method
__init__
(self, ptr_size)
speakeasy/winenv/defs/windows/user32.py:32
↓ 3 callers
Method
_alloc_sentinel
(self)
speakeasy/windows/winemu.py:860
↓ 3 callers
Method
_get_pe_exports
(self)
speakeasy/windows/common.py:284
↓ 3 callers
Method
_init_emulator
Based on the PE metadata, use the appropriate emulator. That is, a user mode emulator vs a kernel mode emulator
speakeasy/speakeasy.py:95
↓ 3 callers
Method
_init_hooks
Lazily add hooks if users added them early before emulator engine was instantiated
speakeasy/speakeasy.py:134
↓ 3 callers
Method
_resolve_module_offset
Return 'module+0xoffset' string for an address inside a loaded module, or None.
speakeasy/windows/winemu.py:1439
↓ 3 callers
Method
_set_dyn_code_hook
Set the top level dispatch hook for dynamic code execution
speakeasy/binemu.py:931
↓ 3 callers
Method
add_input_metadata
Add top level profiler fields containing metadata for the module that will be emulated
speakeasy/profiler.py:153
↓ 3 callers
Method
add_interrupt_hook
Get a callback for software interrupts args: cb: Callable python function to execute return: Hook ob
speakeasy/speakeasy.py:555
↓ 3 callers
Method
add_mem_invalid_hook
Get a callback for when a memory access violation occurs args: cb: Callable python function to execute return:
speakeasy/speakeasy.py:541
↓ 3 callers
Method
add_mem_read_hook
Set a callback to fire when a memory address is read from args: cb: Callable python function to execute begi
speakeasy/speakeasy.py:462
↓ 3 callers
Method
advance_bootstrap_phase
(self, phase)
speakeasy/windows/winemu.py:155
↓ 3 callers
Function
apply_volumes
Parse *volume_specs* and prepend the resulting file entries to *config*. Entries are prepended so they win first-match resolution in ``get_em
speakeasy/volumes.py:79
↓ 3 callers
Method
close
(self)
tests/test_gdb.py:25
↓ 3 callers
Method
continue_
(self)
tests/test_gdb.py:79
↓ 3 callers
Method
create_device_object
Create a device object to use for kernel emulation
speakeasy/windows/kernel.py:308
↓ 3 callers
Method
create_driver_object
Create a driver object for the driver that is going to be emulated
speakeasy/windows/kernel.py:68
↓ 3 callers
Method
crypt_close
(self, hnd)
speakeasy/windows/cryptman.py:64
↓ 3 callers
Method
crypt_open
(self, cname=None, pname=None, ptype=None, flags=None)
speakeasy/windows/cryptman.py:57
↓ 3 callers
Method
delete_key
(self, hnd)
speakeasy/windows/cryptman.py:43
↓ 3 callers
Method
disable
(self)
speakeasy/engines/unicorn_eng.py:53
↓ 3 callers
Method
disable_code_hook
(self)
speakeasy/windows/winemu.py:206
↓ 3 callers
Method
double_to_hex
(self, x)
speakeasy/winenv/api/usermode/msvcrt.py:72
↓ 3 callers
Method
emu_perms_to_win_perms
(self, emu_perms)
speakeasy/winenv/api/usermode/kernel32.py:156
↓ 3 callers
Method
find_resource
(self, pe, name, type_)
speakeasy/winenv/api/usermode/kernel32.py:202
↓ 3 callers
Method
get_address_map
Get the "MemMap" object associated with a specific address
speakeasy/memmgr.py:209
↓ 3 callers
Function
get_api_calls
(ep, api_name)
tests/test_file_access.py:6
↓ 3 callers
Function
get_api_calls
(ep, api_name)
tests/test_dlls.py:6
↓ 3 callers
Method
get_cd
Get the path of the current directory
speakeasy/windows/winemu.py:1160
↓ 3 callers
Method
get_data_export_handler
(self, mod_name, exp_name)
speakeasy/winenv/api/winapi.py:55
↓ 3 callers
Function
get_define
(define, prefix="")
speakeasy/winenv/defs/winsock/winsock.py:62
↓ 3 callers
Method
get_emu_file
(self, path)
speakeasy/windows/fileman.py:369
↓ 3 callers
Method
get_encoding
(self, char_width)
speakeasy/winenv/api/api.py:307
↓ 3 callers
Method
get_handle
(self)
speakeasy/windows/netman.py:101
↓ 3 callers
Method
get_handle
(self)
speakeasy/windows/regman.py:68
↓ 3 callers
Method
get_interface
Get COM interface
speakeasy/windows/com.py:20
↓ 3 callers
Method
get_key
(self, hnd)
speakeasy/windows/cryptman.py:40
↓ 3 callers
Method
get_key_from_path
(self, path)
speakeasy/windows/regman.py:122
↓ 3 callers
Method
get_mem_regions
Get the current regions of mapped memory
speakeasy/memmgr.py:281
↓ 3 callers
Method
get_module_from_addr
If the supplied address belongs to a module, return it
speakeasy/binemu.py:811
↓ 3 callers
Method
get_object_from_addr
(self, addr)
speakeasy/windows/objman.py:904
↓ 3 callers
Method
get_object_from_id
(self, id)
speakeasy/winenv/api/api.py:337
↓ 3 callers
Method
get_osver_string
Get the human readable OS version string
speakeasy/binemu.py:123
↓ 3 callers
Method
get_pe_metadata
(self)
speakeasy/windows/loaders.py:166
↓ 3 callers
Method
get_register_state
Get the current state of registers from the emulator
speakeasy/binemu.py:238
↓ 3 callers
Method
get_response
Check the configuration file so see if there is a handler for the current WinInet request
speakeasy/windows/netman.py:183
↓ 3 callers
Method
get_run_time
Get the time spent emulating a specific "run"
speakeasy/profiler.py:166
↓ 3 callers
Method
get_section_for_addr
(self, addr: int)
speakeasy/windows/loaders.py:156
↓ 3 callers
Method
get_std_handle
(self, dev)
speakeasy/windows/objman.py:552
↓ 3 callers
Method
get_type
(self)
speakeasy/windows/regman.py:50
↓ 3 callers
Method
handle_file_data
Based on the emulation config, determine what data to return from the read request
speakeasy/windows/fileman.py:165
↓ 3 callers
Method
init_peb
(self, modules)
speakeasy/windows/objman.py:661
↓ 3 callers
Method
is_dll
(self)
speakeasy/windows/loaders.py:132
↓ 3 callers
Method
is_driver
(self)
speakeasy/windows/common.py:367
↓ 3 callers
Function
load_example_module
(name: str)
tests/test_examples.py:16
↓ 3 callers
Method
load_library
(self, mod_name)
speakeasy/windows/winemu.py:2212
↓ 3 callers
Method
load_module_by_name
Load a module by name using the appropriate loader. Priority: native PE file -> API handler (JIT PE) -> placeholder stub.
speakeasy/windows/winemu.py:2231
↓ 3 callers
Method
load_shellcode
Load a shellcode blob into emulation space args: fpath: file path containing shellcode blob arch: Architectu
speakeasy/speakeasy.py:314
↓ 3 callers
Method
log_api
(self, pc, imp_api, rv, argv)
speakeasy/windows/winemu.py:1614
↓ 3 callers
Method
make_image
(self)
speakeasy/windows/loaders.py:185
↓ 3 callers
Method
mem_copy
(self, dst, src, n)
speakeasy/winenv/api/api.py:159
↓ 3 callers
Method
mem_protect
Change the memory protections for pages in the emu engine
speakeasy/engines/unicorn_eng.py:184
↓ 3 callers
Method
mem_unmap
Free memory in the cpu engine
speakeasy/engines/unicorn_eng.py:168
↓ 3 callers
Method
merge_binary_data
Append raw bytes to an existing artifact payload and store the merged result.
speakeasy/profiler.py:197
↓ 3 callers
Function
merge_config_dicts
(base: dict[str, Any], overlay: dict[str, Any])
speakeasy/cli_config.py:62
↓ 3 callers
Method
new_desktop
(self, name="")
speakeasy/windows/sessman.py:48
↓ 3 callers
Method
new_request
(self, verb, objname, ver, ref, accepts, flags, ctx)
speakeasy/windows/netman.py:246
↓ 3 callers
Method
new_socket
(self, family, stype, protocol, flags)
speakeasy/windows/netman.py:294
↓ 3 callers
Method
normalize_reg_path
(self, path)
speakeasy/windows/regman.py:109
↓ 3 callers
Function
normalize_response_path
(path)
speakeasy/windows/fileman.py:19
↓ 3 callers
Method
pool_alloc
(self, pool_type, size, tag)
speakeasy/winenv/api/api.py:140
↓ 3 callers
Method
query_halt_reason
(self)
tests/test_gdb.py:70
↓ 3 callers
Method
record_dropped_files_event
(self, run, files)
speakeasy/profiler.py:214
↓ 3 callers
Method
record_http_event
(self, server, port, headers="", body=b"", secure=False)
speakeasy/winenv/api/api.py:271
↓ 3 callers
Method
run_shellcode
Run a previously loaded shellcode blob by address args: sc_addr: address of the previously loaded shellcode blog to emul
speakeasy/speakeasy.py:332
↓ 3 callers
Method
set_connection_info
(self, host, port)
speakeasy/windows/netman.py:47
↓ 3 callers
Method
set_start_time
Get the start time for a sample so we can time the execution length
speakeasy/profiler.py:160
↓ 3 callers
Method
setup_callback
For APIs that call functions, we will setup the stack to make this flow naturally.
speakeasy/winenv/api/api.py:394
↓ 3 callers
Method
socket
SOCKET WSAAPI socket( int af, int type, int protocol );
speakeasy/winenv/api/usermode/ws2_32.py:139
↓ 3 callers
Method
stop
(self)
speakeasy/windows/win32.py:637
↓ 3 callers
Function
unwrap_annotated
(annotation: Any)
speakeasy/cli_config.py:325
↓ 2 callers
Method
__init__
(self, ptr_size)
tests/test_struct.py:13
↓ 2 callers
Method
__init__
(self, ptr_size)
speakeasy/winenv/defs/registry/reg.py:58
↓ 2 callers
Method
__init__
(self, ptr_size)
speakeasy/winenv/defs/windows/netapi32.py:16
↓ 2 callers
Method
__init__
(self, ptr_size)
speakeasy/winenv/defs/windows/windef.py:16
↓ 2 callers
Method
__init__
(self, emu)
speakeasy/winenv/api/usermode/dnsapi.py:37
↓ 2 callers
Method
__init__
(self, path, config=None, data=b"")
speakeasy/windows/fileman.py:74
↓ 2 callers
Method
__init__
(self, ptr_size)
speakeasy/windows/kernel_mods/volmgr.py:12
↓ 2 callers
Method
__setattr__
(self, name: str, value: Any)
speakeasy/struct.py:24
↓ 2 callers
Method
_decode_rle
Decode GDB RSP run-length encoding. x*N means: one explicit x, then (ord(N)-29) additional copies.
tests/test_gdb.py:37
↓ 2 callers
Method
_exec_next_run
Execute the next run from the emulation queue
speakeasy/windows/winemu.py:392
← previous
next →
201–300 of 2,357, ranked by callers