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
#define UNLOADED_FILE 1 | |
#include <idc.idc> | |
static main(void) | |
{ | |
// set 'loading idc file' mode | |
set_inf_attr(INF_GENFLAGS, INFFL_LOADIDC|get_inf_attr(INF_GENFLAGS)); | |
GenInfo(); // various settings | |
Segments(); // segmentation | |
Enums(); // enumerations |
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
Atmosphere Fatal Report (v1.0): | |
Result: 0x1BF802 (2002-3580) | |
Title ID: 010000000000000c | |
Process Name: bcat | |
Firmware: 9.0.0 (Atmosphere 0.9.4-master-c62c4846) | |
General Purpose Registers: | |
Start Address: 0000003551e00000 | |
Stack Trace: | |
ReturnAddress[00]: 0000003551f79edc |
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
// This file should be used in the following way: | |
// - reload executable into IDA with using switch -c | |
// - use File, Load IDC file and load this file. | |
// | |
// NOTE: This file doesn't contain all information from the database. | |
// | |
#define UNLOADED_FILE 1 | |
#include <idc.idc> |
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
#define UNLOADED_FILE 1 | |
#include <idc.idc> | |
static main(void) | |
{ | |
// set 'loading idc file' mode | |
set_inf_attr(INF_GENFLAGS, INFFL_LOADIDC|get_inf_attr(INF_GENFLAGS)); | |
GenInfo(); // various settings | |
Segments(); // segmentation | |
Enums(); // enumerations |
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
#define UNLOADED_FILE 1 | |
#include <idc.idc> | |
static main(void) | |
{ | |
// set 'loading idc file' mode | |
set_inf_attr(INF_GENFLAGS, INFFL_LOADIDC|get_inf_attr(INF_GENFLAGS)); | |
GenInfo(); // various settings | |
Segments(); // segmentation | |
Enums(); // enumerations |
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
#define UNLOADED_FILE 1 | |
#include <idc.idc> | |
static main(void) | |
{ | |
// set 'loading idc file' mode | |
set_inf_attr(INF_GENFLAGS, INFFL_LOADIDC|get_inf_attr(INF_GENFLAGS)); | |
GenInfo(); // various settings | |
Segments(); // segmentation | |
Enums(); // enumerations |
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
var res = sc.ipcMsg(600).datau64(0x40000000, 0x40000).sendTo('fatal:u').assertOk(); | |
var addr = [res.data[0], res.data[1]]; | |
var sz = [res.data[2], res.data[3]]; | |
utils.log('IRAM at: '+utils.paddr(addr)+', size: '+utils.paddr(sz)); | |
sc.iramAddr = addr; | |
iramWrite4 = function(val, ofs) { | |
sc.ipcMsg(503).datau64(val, utils.add2(sc.iramAddr, ofs)).sendTo('fatal:u').assertOk(); | |
} |
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
from struct import unpack as up, pack as pk | |
import arm64, os, sys | |
TEXT_START_OFFSET = 0x507300 | |
TEXT_END_OFFSET = 0x32FEBF0 | |
RWDATA_START = 0x3A9F000 | |
ENCTABLE_START = 0x3F2C238 | |
ENCTABLE_END = 0x3F957B8 |
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
// | |
// This file should be used in the following way: | |
// - reload executable into IDA with using switch -c | |
// - use File, Load IDC file and load this file. | |
// | |
// NOTE: This file doesn't contain all information from the database. | |
// | |
#define UNLOADED_FILE 1 | |
#include <idc.idc> |
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
// | |
// This file should be used in the following way: | |
// - reload executable into IDA with using switch -c | |
// - use File, Load IDC file and load this file. | |
// | |
// NOTE: This file doesn't contain all information from the database. | |
// | |
#define UNLOADED_FILE 1 | |
#include <idc.idc> |