Skip to content

Instantly share code, notes, and snippets.

View sylv-io's full-sized avatar

Marcello Sylvester Bauer sylv-io

View GitHub Profile
@sylv-io
sylv-io / gen_symbol_offsets.py
Created October 25, 2022 23:30
Convert EDK2 OVMF console log to a GDB script that adds symbol information (add-symbol-file)
#!/usr/bin/env python
import argparse
import sys
import os
import pefile
build_dir='Build/OvmfX64/DEBUG_GCC5/X64'
def parse_flags()->argparse.Namespace: