예제 #1
0
 def decode_insn(*args):
     if len(args) == 1:
         tmp = insn_t()
         rc = _ida_ua.decode_insn(tmp, args[0])
         cmd.assign(tmp)
         return rc
     else:
         return _ida_ua.decode_insn(*args)
예제 #2
0
def decode_insn(*args):
  """
  decode_insn(out, ea) -> int


  Analyze the specified address and fill 'out'. This function does not
  modify the database. It just tries to interpret the specified address
  as an instruction and fills the 'out' structure.
  
  @param out: the resulting instruction (C++: insn_t  *)
  @param ea: linear address (C++: ea_t)
  @return: the length of the (possible) instruction or 0
  """
  return _ida_ua.decode_insn(*args)
예제 #3
0
def decode_insn(*args):
  """
  decode_insn(out, ea) -> int
  """
  return _ida_ua.decode_insn(*args)