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

Method dis_nbytes

qiling/extensions/r2/r2.py:266–268  ·  view source on GitHub ↗
(self, addr: int, size: int)

Source from the content-addressed store, hash-verified

264 return bytes.fromhex(hexstr)
265
266 def dis_nbytes(self, addr: int, size: int) -> List[Instruction]:
267 insts = [Instruction(**dic) for dic in self._cmdj(f"pDj {size} @ {addr}")]
268 return insts
269
270 def disassembler(self, ql: 'Qiling', addr: int, size: int, filt: Pattern[str]=None) -> int:
271 '''A human-friendly monkey patch of QlArchUtils.disassembler powered by r2, can be used for hook_code

Callers 1

disassemblerMethod · 0.95

Calls 2

_cmdjMethod · 0.95
InstructionClass · 0.85

Tested by

no test coverage detected