Skip to content

Instantly share code, notes, and snippets.

View Mortinat's full-sized avatar

Qstevens Mortinat

View GitHub Profile
@JaciBrunning
JaciBrunning / pathfinder.py
Created December 28, 2020 15:12
Ghidra Pathfinder - Find execution paths between two functions
from ghidra.program.model.symbol import RefType
import itertools
def memoize(func):
cache = dict()
def memoized_func(*args):
if args in cache:
return cache[args]
result = func(*args)