MCPcopy Create free account
hub / github.com/Vector35/debugger / ip

Method ip

api/python/debuggercontroller.py:1254–1264  ·  view source on GitHub ↗

The IP (instruction pointer) of the target For x86_64, it returns the value of ``rip`` register. For x86, it returns the value of ``eip`` register. For armv7/aarch64, or any other architecture that is not native to BN, it returns the value of ``pc`` register.

(self)

Source from the content-addressed store, hash-verified

1252
1253 @property
1254 def ip(self) -> int:
1255 """
1256 The IP (instruction pointer) of the target
1257
1258 For x86_64, it returns the value of ``rip`` register.
1259
1260 For x86, it returns the value of ``eip`` register.
1261
1262 For armv7/aarch64, or any other architecture that is not native to BN, it returns the value of ``pc`` register.
1263 """
1264 return dbgcore.BNDebuggerGetIP(self.handle)
1265
1266 @ip.setter
1267 def ip(self, addr: int) -> bool:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected