This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ida_funcs | |
import ida_search | |
import ida_auto | |
import idautils | |
# Find the bounds of the program | |
segments = list(idautils.Segments()) | |
MODULE_START_ADDR = min(segments) | |
MODULE_END_ADDR = get_segm_end(max(segments)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import ida_funcs | |
import ida_search | |
import idautils | |
BASE_ADDR = 0x7100000000 | |
def search_imm(value): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Nintendo sysmodules */ | |
0100000000000000 fs | |
0100000000000001 ldr | |
0100000000000002 ncm | |
0100000000000003 pm | |
0100000000000004 sm | |
0100000000000005 boot | |
0100000000000006 usb | |
0100000000000007 tma.stub/htc.stub | |
0100000000000008 boot2 |