MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / to_unsigned

Function to_unsigned

tools/extract_metadata.py:156–160  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

154
155
156def to_unsigned(val):
157 if val < 0:
158 return val & ((2 ** 32) - 1)
159 else:
160 return val
161
162
163def find_segment_with_address(module, address):

Callers 4

get_section_stringsFunction · 0.85
extract_metadataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected