Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ELMERIKH/PyinMemoryPE
/ get_string
Function
get_string
windows/pe_parse.py:98–101 ·
view source on GitHub ↗
(target, addr)
Source
from the content-addressed store, hash-verified
96
97
98
def
get_string(target, addr):
99
if
target is None:
100
return
ctypes.c_char_p(addr).value.decode(
"latin1"
)
101
return
target.read_string(addr)
102
103
104
class
PESection(IMAGE_SECTION_HEADER):
Callers
6
name
Method · 0.85
get_INT
Method · 0.85
get_exports
Method · 0.85
exports
Method · 0.85
export_name
Method · 0.85
imports
Method · 0.85
Calls
2
decode
Method · 0.80
read_string
Method · 0.45
Tested by
no test coverage detected