Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ELMERIKH/PyinMemoryPE
/ b
Function
b
pythonmemorymodule/pefile.py:720–726 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
718
719
720
def
b(x):
721
if
isinstance(x, bytes):
722
return
x
723
elif
isinstance(x, bytearray):
724
return
bytes(x)
725
else
:
726
return
codecs.encode(x,
"cp1252"
)
727
728
729
class
AddressSet(set):
Callers
9
parse_strings
Function · 0.85
__unpack__
Method · 0.85
pefile.py
File · 0.85
parse_version_information
Method · 0.85
parse_delay_import_directory
Method · 0.85
parse_import_directory
Method · 0.85
parse_imports
Method · 0.85
get_string_u_at_rva
Method · 0.85
dump_info
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected