Longestboi / sndata-converter

A python script that can extract both function names and offsets from .sndata header sections. And puts those functions and offsets into a script for either Ghidra or Ida to use.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sndata-converter

Description:

A python script that can extract both function names and offsets. And puts those functions and offsets into a script for either Ghidra or Ida to use.

I still haven't tested this with IDA, so report and problems if there are any.

Usage:

usage: sndata-converter PS2-ELF Output [options]

Extract Debug Symbols from PS2 ELF files the contain a .sndata section
header

positional arguments:
  PS2 ELF       Input file
  Output        Output file

optional arguments:
  -h, --help    show this help message and exit
  -i, --ida     Output Ida Python script
  -g, --ghidra  Output script for use with Ghidra's 'ImportSymbolsScript.py'

References:

@diwidog - For originally reversing the .sndata header format.

About

A python script that can extract both function names and offsets from .sndata header sections. And puts those functions and offsets into a script for either Ghidra or Ida to use.


Languages

Language:Python 100.0%