MCPcopy Create free account
hub / github.com/qilingframework/qiling / read_int

Function read_int

qiling/debugger/qdb/misc.py:51–55  ·  view source on GitHub ↗

Turn a numerical string into its integer value.

(s: str, /)

Source from the content-addressed store, hash-verified

49
50
51def read_int(s: str, /) -> int:
52 """Turn a numerical string into its integer value.
53 """
54
55 return int(s, 0)
56
57
58def try_read_int(s: str, /) -> Optional[int]:

Callers 1

try_read_intFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected