Exemplo n.º 1
0
 def get_stkvar(*args):
     if len(args) == 2:
         import ida_ua
         insn, op, v = ida_ua.cmd, args[0], args[1]
     else:
         insn, op, v = args
     return _ida_frame.get_stkvar(insn, op, v)
Exemplo n.º 2
0
def get_stkvar(*args):
    r"""
    get_stkvar(insn, op, v) -> PyObject *


    Get pointer to stack variable
    @param op: reference to instruction operand
    @param v: immediate value in the operand (usually op.addr)
    @return:
        - None on failure
        - tuple(member_t, actval)
          where actval: actual value used to fetch stack variable
    """
    return _ida_frame.get_stkvar(*args)