Skip to content

Instantly share code, notes, and snippets.

View jarkkojs's full-sized avatar

Jarkko Sakkinen jarkkojs

View GitHub Profile
#!/usr/bin/env python3
import sys
from elftools.elf.elffile import ELFFile
R_RISCV_ADD32 = 35
R_RISCV_SUB32 = 39
def main():
if len(sys.argv) != 2:
sys.exit(1)