MCPcopy Index your code

hub / github.com/mandiant/speakeasy / functions

Functions2,357 in github.com/mandiant/speakeasy

↓ 443 callersMethodmem_write
(self, addr, data)
speakeasy/winenv/api/api.py:316
↓ 281 callersMethodget_ptr_size
(self)
speakeasy/winenv/api/api.py:114
↓ 199 callersMethodread_mem_string
(self, addr, width, max_chars=0)
speakeasy/winenv/api/api.py:162
↓ 173 callersMethodset_last_error
Set the last error code for the current thread
speakeasy/windows/win32.py:100
↓ 143 callersMethodget_char_width
Based on the API name, determine the character width being used by the function
speakeasy/winenv/api/api.py:355
↓ 107 callersMethodmem_read
(self, addr, size)
speakeasy/winenv/api/api.py:283
↓ 107 callersMethodupdate
Update the raw data associated with a decoy PE
speakeasy/windows/common.py:451
↓ 79 callersMethodget_bytes
(self, obj)
speakeasy/winenv/api/api.py:123
↓ 73 callersMethodmem_alloc
(self, size, base=None, tag=None, flags=0, perms=0, shared=False, process=None)
speakeasy/winenv/api/api.py:146
↓ 70 callersMethodmem_cast
(self, obj, addr)
speakeasy/winenv/api/api.py:155
↓ 58 callersMethodsizeof
(self, obj=None)
speakeasy/windows/objman.py:95
↓ 57 callersMethodmem_map
Allocate memory in the cpu engine
speakeasy/engines/unicorn_eng.py:163
↓ 55 callersMethodsizeof
(self, obj)
speakeasy/winenv/api/api.py:117
↓ 53 callersMethodreg_write
Modify register values
speakeasy/engines/unicorn_eng.py:189
↓ 52 callersMethodread_wide_string
(self, addr, max_chars=0)
speakeasy/winenv/api/api.py:183
↓ 50 callersMethodreg_read
Read register values
speakeasy/engines/unicorn_eng.py:196
↓ 45 callersMethod__init__
(self, ptr_size)
speakeasy/winenv/defs/nt/ntoskrnl.py:129
↓ 44 callersMethodadd_callback
Adds a callback to the emulation callback list. A "callback" in this context refers to a function that in not imported statically or
speakeasy/windows/winemu.py:1336
↓ 43 callersMethod__get_hook_attrs__
(self, obj)
speakeasy/winenv/api/api.py:83
↓ 39 callersMethodwrite_mem_string
(self, string, addr, width)
speakeasy/winenv/api/api.py:191
↓ 36 callersMethodget_arch
Get the architecture of the emulator return: emulator architecture constant value
speakeasy/speakeasy.py:872
↓ 35 callersMethodget_object_from_handle
(self, hnd)
speakeasy/winenv/api/api.py:346
↓ 33 callersMethodread_string
(self, addr, max_chars=0)
speakeasy/winenv/api/api.py:187
↓ 30 callersMethodget_func_argv
Get the arguments for a function given the supplied calling convention
speakeasy/binemu.py:327
↓ 29 callersMethodget_current_process
Get the current process that is emulating
speakeasy/windows/winemu.py:658
↓ 26 callersMethodget_pc
Get the value of the current program counter return: value of the program counter
speakeasy/speakeasy.py:832
↓ 25 callersMethodfile_open
(self, path, create=False, truncate=False)
speakeasy/winenv/api/api.py:286
↓ 24 callersMethodread_unicode_string
(self, addr)
speakeasy/winenv/api/api.py:176
↓ 24 callersMethodwrite_back
(self)
speakeasy/windows/objman.py:110
↓ 23 callersMethodload_module
Load a module into the speakeasy emulator. args: path: file path to PE module data: bytes object containing
speakeasy/speakeasy.py:240
↓ 22 callersFunction_get_offset
(cstruct, field_name)
tests/test_process_parameters.py:6
↓ 22 callersMethodget_address_map
Get the address mapping object associated with the specified address args: addr: Address in the emulation space
speakeasy/speakeasy.py:581
↓ 22 callersMethodget_valid_ranges
Retrieve a valid address range that can satisfy the requested size. Optionally, a base address can be specified to test if it can be
speakeasy/memmgr.py:287
↓ 22 callersFunctionload_test_bin
()
tests/conftest.py:55
↓ 21 callersMethodadd_api_hook
Set a callback to fire when a specified API is called during emulation args: cb: Callable python function to execute
speakeasy/speakeasy.py:365
↓ 21 callersMethodget_handle
(self)
speakeasy/winenv/api/usermode/user32.py:57
↓ 20 callersMethod__init__
(self, ptr_size)
speakeasy/winenv/defs/wdf.py:162
↓ 20 callersMethodget_arch
Get the current emulated architecture
speakeasy/binemu.py:632
↓ 19 callersMethodrun_module
Run a previously loaded module through the configured emulator args: module: The module whose entry point to be run
speakeasy/speakeasy.py:285
↓ 19 callersMethodshutdown
Closes the emulation instance and releases underlying engine resources. Removes all Unicorn hooks so the native engine can be safely
speakeasy/speakeasy.py:403
↓ 18 callersMethoddo_str_format
Format a string similar to msvcrt.printf
speakeasy/winenv/api/api.py:413
↓ 18 callersMethodget_data
(self, size=-1, reset_pointer=False)
speakeasy/windows/fileman.py:121
↓ 18 callersMethodget_va_arg_count
Get the number of arguments in the variable argument list
speakeasy/winenv/api/api.py:367
↓ 17 callersMethod__init__
(self)
speakeasy/windows/objman.py:51
↓ 17 callersMethodfile_get
(self, handle)
speakeasy/winenv/api/api.py:292
↓ 17 callersMethodrecord_file_access_event
( self, path, event_type, data=None, handle=0, disposition=[], access=[], buffer=0, size=None )
speakeasy/winenv/api/api.py:223
↓ 17 callersMethodreg_read
Read a value from an emulated cpu register
speakeasy/binemu.py:187
↓ 16 callersMethodget_current_thread
Get the current thread that is emulating
speakeasy/windows/winemu.py:652
↓ 16 callersMethodreg_write
Write a value to an emulated cpu register
speakeasy/binemu.py:174
↓ 15 callersMethodget_object_from_name
(self, name)
speakeasy/winenv/api/api.py:349
↓ 15 callersMethodmem_free
(self, addr)
speakeasy/winenv/api/api.py:149
↓ 15 callersMethodmem_read
Read bytes from a memory address args: addr: address to read bytes from size: number of bytes to read
speakeasy/speakeasy.py:616
↓ 15 callersMethodmem_write
Write bytes to a memory address args: addr: address to write bytes to data: data to write return:
speakeasy/speakeasy.py:631
↓ 15 callersMethodset_pc
Set the value of the current program counter args: addr: address to set the program counter to return:
speakeasy/speakeasy.py:841
↓ 14 callersFunction_normalize_mod_name
(name: str)
speakeasy/windows/winemu.py:40
↓ 14 callersMethodget_error_info
Collect emulator state information in the event of an error.
speakeasy/windows/winemu.py:1511
↓ 14 callersMethodget_mod_from_addr
(self, addr)
speakeasy/windows/winemu.py:847
↓ 14 callersMethodget_object_handle
(self, obj)
speakeasy/winenv/api/api.py:343
↓ 14 callersMethodreg_get_key
(self, handle)
speakeasy/winenv/api/api.py:301
↓ 14 callersMethodwrite_string
(self, string, addr)
speakeasy/winenv/api/api.py:197
↓ 13 callersFunction_copy_default_value
(key: str)
speakeasy/config.py:247
↓ 13 callersMethodget_current_run
Get the current run that is being emulated
speakeasy/windows/winemu.py:609
↓ 13 callersMethodget_handle
(self)
speakeasy/winenv/api/usermode/kernel32.py:127
↓ 13 callersMethodget_mem_tag
(self)
speakeasy/windows/objman.py:119
↓ 13 callersMethodget_path
(self)
speakeasy/windows/regman.py:73
↓ 13 callersMethodget_ptr_size
Get the pointer size of the current emulation state
speakeasy/binemu.py:771
↓ 13 callersMethodget_report
Get the emulation report from the emulator return: Get the emulation report as a Pydantic Report model
speakeasy/speakeasy.py:347
↓ 12 callersMethod__init__
(self, ptr_size)
speakeasy/winenv/defs/windows/kernel32.py:126
↓ 12 callersMethod__init__
(self, ptr_size, sub_authority_count)
speakeasy/winenv/defs/windows/windows.py:92
↓ 12 callersMethodadd_run
Add a run to the emulation run queue
speakeasy/windows/winemu.py:386
↓ 12 callersMethodget_bytes
Convert the structure to bytes and respecting endianness
speakeasy/struct.py:211
↓ 12 callersMethodget_bytes
(self, obj=None)
speakeasy/windows/objman.py:100
↓ 12 callersMethodget_mem_maps
Get all memory maps in the emulation space return: A list of all valid memory maps from the emulator
speakeasy/speakeasy.py:723
↓ 12 callersFunctionnormalize_value
(value: str)
tests/pma_harness.py:56
↓ 12 callersMethodvalidate_object_services
(self, reason)
speakeasy/windows/winemu.py:186
↓ 11 callersMethodget_cstruct
(self)
speakeasy/struct.py:251
↓ 11 callersMethodget_max_int
(self)
speakeasy/winenv/api/api.py:279
↓ 11 callersMethodon_run_complete
Clean up after a run completes (implemented in the child class) since this may mean different things depending. This function will po
speakeasy/windows/winemu.py:190
↓ 11 callersMethodrecord_process_event
(self, proc, event_type, **kwargs)
speakeasy/winenv/api/api.py:235
↓ 11 callersMethodseek
(self, offset, whence)
speakeasy/windows/fileman.py:138
↓ 11 callersMethodwrite_wide_string
(self, string, addr)
speakeasy/winenv/api/api.py:194
↓ 10 callersMethod__init__
Arguments: se_obj: speakeasy emulator object emu_eng: emulation engine object cb: Python callback functio
speakeasy/common.py:58
↓ 10 callersMethodcast
(self, obj, bytez)
speakeasy/winenv/api/api.py:129
↓ 10 callersMethodget_crypt_manager
Get the crypto manager
speakeasy/windows/winemu.py:321
↓ 10 callersMethodget_peb_modules
(self)
speakeasy/windows/winemu.py:990
↓ 10 callersMethodget_processes
(self)
speakeasy/windows/win32.py:135
↓ 10 callersMethodget_wininet_object
(self, handle)
speakeasy/windows/netman.py:358
↓ 9 callersMethod__init__
(self, ptr_size)
speakeasy/winenv/defs/wfp/fwpmtypes.py:9
↓ 9 callersMethodadd_code_hook
Set a callback to fire for every CPU instruction that is emulated args: cb: Callable python function to execute
speakeasy/speakeasy.py:432
↓ 9 callersMethodfind_matching_entries
Given a search pattern like ``C:\\*`` or ``C:\\Windows\\*.exe``, yield ``(name, is_dir)`` tuples for immediate children that match,
speakeasy/windows/fileman.py:263
↓ 9 callersMethodget_ret_address
Returns the value stored at the top of the stack return: value stored at the top of the stack
speakeasy/speakeasy.py:774
↓ 9 callersMethodget_stack_ptr
Get the current address of the stack pointer return: address of stack pointer
speakeasy/speakeasy.py:812
↓ 9 callersMethodis_address_valid
Was this address previously reserved or mapped? args: address: address to check return: True if add
speakeasy/speakeasy.py:911
↓ 9 callersMethodset_func_args
Set the arguments before an emulated function call. This is how we pass arguments to a function when calling it through the emulator.
speakeasy/binemu.py:287
↓ 9 callersMethodsizeof
Get the size of the C structure
speakeasy/struct.py:223
↓ 9 callersMethodtell
(self)
speakeasy/windows/fileman.py:144
↓ 8 callersMethodadd_object
(self, obj)
speakeasy/windows/objman.py:863
↓ 8 callersMethodcreate_value
(self, name, val_type, value)
speakeasy/windows/regman.py:76
↓ 8 callersMethodexit_process
(self)
speakeasy/winenv/api/api.py:352
↓ 8 callersFunctionget_api_calls
(ep, api_name)
tests/test_wdm.py:11
next →1–100 of 2,357, ranked by callers