MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / decode

Method decode

pydevd_attach_to_process/winappdbg/disasm.py:154–173  ·  view source on GitHub ↗

@type address: int @param address: Memory address where the code was read from. @type code: str @param code: Machine code to disassemble. @rtype: list of tuple( long, int, str, str ) @return: List of tuples. Each tuple represents an assembly inst

(self, address, code)

Source from the content-addressed store, hash-verified

152 raise SyntaxError("Subclasses MUST implement this method!")
153
154 def decode(self, address, code):
155 """
156 @type address: int
157 @param address: Memory address where the code was read from.
158
159 @type code: str
160 @param code: Machine code to disassemble.
161
162 @rtype: list of tuple( long, int, str, str )
163 @return: List of tuples. Each tuple represents an assembly instruction
164 and contains:
165 - Memory address of instruction.
166 - Size of instruction in bytes.
167 - Disassembly line of instruction.
168 - Hexadecimal dump of instruction.
169
170 @raise NotImplementedError: This disassembler could not be loaded.
171 This may be due to missing dependencies.
172 """
173 raise NotImplementedError()
174
175
176# ==============================================================================

Callers 4

unmarshall_keyMethod · 0.45
unmarshall_valueMethod · 0.45
disassemble_stringMethod · 0.45
readMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected