示例#1
0
 def decode_preceding_insn(*args):
     if len(args) == 1:
         tmp = insn_t()
         rc = _ida_ua.decode_preceding_insn(tmp, args[0])
         cmd.assign(tmp)
         return rc
     else:
         return _ida_ua.decode_preceding_insn(*args)
示例#2
0
def decode_preceding_insn(*args):
  """
  decode_preceding_insn(out, ea) -> PyObject *


  Decodes the preceding instruction. Please check ua.hpp / decode_preceding_insn()
  @param ea: current ea
  @param out: instruction storage
  @return: tuple(preceeding_ea or BADADDR, farref = Boolean)
  """
  return _ida_ua.decode_preceding_insn(*args)