Generate symbol file:
python kernel_syms.py
as -o kernal_syms.o kernel_syms.s
Load the symbols into gdb:
#!/usr/bin/env python3 | |
# CSR OTAU binary parser | |
# https://developer.qualcomm.com/qfile/34081/csr102x_otau_overview.pdf | |
# For use with test and demonstration only. This is obviously not official and | |
# is not affiliated with Qualcomm. | |
import io | |
import os | |
import sys |
import gdb | |
import re | |
from collections import namedtuple | |
DETAILS = { | |
# API 24 playstore | |
# API 25 playstore | |
'3.10.0+': (0xC0887D20, 0xC092138C, 316, 0xC0A7754C, 4), | |
# API 26 playstore |
Generate symbol file:
python kernel_syms.py
as -o kernal_syms.o kernel_syms.s
Load the symbols into gdb:
package org.mapleir; | |
import org.mapleir.app.client.SimpleApplicationContext; | |
import org.mapleir.app.service.ApplicationClassSource; | |
import org.mapleir.app.service.InstalledRuntimeClassSource; | |
import org.mapleir.asm.ClassHelper; | |
import org.mapleir.asm.ClassNode; | |
import org.mapleir.asm.MethodNode; | |
import org.mapleir.context.AnalysisContext; | |
import org.mapleir.context.BasicAnalysisContext; |