Skip to content

Instantly share code, notes, and snippets.

@fox8091
fox8091 / label_syscalls_3ds.py
Last active January 30, 2018 03:55 — forked from gabe-k/label_syscalls.py
IDAPython script to label 3DS syscalls
# based on info from switchbrew and reswitched
from idaapi import *
from idc import *
syscall_map = {
0x01: "svcControlMemory",
0x02: "svcQueryMemory",
0x03: "svcExitProcess",
0x04: "svcGetProcessAffinityMask",
0x05: "svcSetProcessAffinityMask",