#!/usr/bin/env python3 """Pseudo-backtrace from a minidump: walk the faulting thread's stack and report every qword that points into a loaded module's code (i.e. plausible return addresses), innermost first.""" import struct, sys p = sys.argv[1] d = open(p, "rb").read() nstreams, dirrva = struct.unpack_from("= 0x100: rsp = struct.unpack_from("