Skip to content

Instantly share code, notes, and snippets.

View rwindegger's full-sized avatar

Rene Windegger rwindegger

View GitHub Profile
@syndrowm
syndrowm / get_stack_arg.py
Created June 21, 2012 21:26
idapython script to resolv stack variable names
from idaapi import *
from idc import *
def get_stack_arg(arg, base='ebp'):
# find the stack frame
stack = GetFrame(here())
size = GetStrucSize(stack)
# figure out all of the variable names
names = []