- `brew install libusb``
./configure --enable-bonobo --disable-werror CFLAGS=-I/opt/homebrew/Cellar/libusb/1.0.27/include/libusb-1.0
This file contains hidden or 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
""" | |
0001565c int64_t sub_1565c(int64_t arg1) | |
0001565c { | |
0001565c uint64_t x8 = arg1 >> 0x28; | |
00015670 uint64_t x9 = arg1 >> 0x1e & 0x3ff; | |
00015674 uint64_t x10 = arg1 >> 0x14 & 0x3ff; | |
00015678 uint64_t x11 = arg1 >> 0xa & 0x3ff; | |
0001567c uint64_t x12 = arg1 & 0x3ff; | |
""" |
This file contains hidden or 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
struct FileEntry { | |
char tag[4]; | |
u32 offset; | |
u32 length; | |
u32 pad; | |
}; | |
struct FTAB_Header { | |
u32 unk[8]; | |
char magic[8]; |
This file contains hidden or 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
ROM:00003965 DCB 0, 0x60, 0 | |
ROM:00003968 aArgumentD DCB "argument = %d",0xA,0 | |
ROM:00003977 DCB 0xA,0 | |
ROM:00003979 aPullingTz0Blac DCB "pulling TZ0 blackbird",0xA,0 | |
ROM:00003990 aTz000xX DCB "TZ0[0]: 0x%x",0xA,0 | |
ROM:0000399E aTz010xX DCB "TZ0[1]: 0x%x",0xA,0 | |
ROM:000039AC aTz0RegsModifie DCB "TZ0 regs modified",0xA,0 | |
ROM:000039BF aTz0FailedToLoc DCB "TZ0 failed to lock",0xA,0 | |
ROM:000039D3 aTz1FailedToLoc DCB "TZ1 failed to lock",0xA,0 | |
ROM:000039E7 aTz0Base0xLlx DCB "tz0_base: 0x%llx",0xA,0 |
This file contains hidden or 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
fio --filename=/tmp/test --rw=randread --size=2Go --direct=1 --bs=1M --ioengine=libaio --runtime=60 --numjobs=1 --time_based --group_reporting --name=seq_read --iodepth=16 | |
fio --filename=/tmp/test --rw=read --size=5Go --direct=1 --bs=1M --ioengine=libaio --runtime=60 --numjobs=1 --time_based --group_reporting --name=seq_read --iodepth=16 |
This file contains hidden or 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
[ | |
{ | |
"url": "https://updates.cdn-apple.com/2023SummerSeed/patches/042-21091/60572AF0-9BC3-465F-89ED-77117194CB26/com_apple_MobileAsset_SoftwareUpdate/3df121022bd578846478faa25a4dcf3055396954.zip", | |
"build": "21N5207g", | |
"filename": "iBEC.n301.RELEASE.im4p", | |
"kbag": "AB7893B981E44BFF298328C89C826F8BA6EF1A7ADC80DB156C9D55D9F4E27E8AD2CC21AFA42A41E1392B57E9FE90D992", | |
"key": "34b218667cd03eb93e073b9b3bca4a865b20f130550a800b2aa2c1c2348041865cee47db7e3bcda739d05adde9f9f716" | |
}, | |
{ | |
"url": "https://updates.cdn-apple.com/2023SummerSeed/patches/042-21091/60572AF0-9BC3-465F-89ED-77117194CB26/com_apple_MobileAsset_SoftwareUpdate/3df121022bd578846478faa25a4dcf3055396954.zip", |
Day | Title | link |
---|---|---|
1 | Apple Source code | https://www.youtube.com/watch?v=WxOZgr0Ld9o |
2 | Mach-O Binaries | https://www.youtube.com/watch?v=G_bDl5hv8kY |
3 | PAC (Pointer Authentication Codes) | https://www.youtube.com/watch?v=9neXmcwtCF8 |
4 | dyld_shared_cache | https://www.youtube.com/watch?v=I1ZkONfyHG4 |
5 | Userspace Memory Layout | https://www.youtube.com/watch?v=MUr7qg7iqKE |
6 | SIP | https://www.youtube.com/watch?v=HeOVKe0xpW0 |
7 | Kernel Boot Arguments | https://www.youtube.com/watch?v=gjOKlBpJWoc |
8 | XNU Source Code Overview | https://www.youtube.c |
This file contains hidden or 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
# void _panic(char const* func, char const* str, ...) | |
def get_panic(): | |
for s in bv.strings: | |
if "somehow a violation was triggered in early boot" in s.value: | |
break | |
ref = list(bv.get_code_refs(s.start))[0] | |
real_panic = bv.get_functions_containing(ref.address)[0] | |
panic_ref = list(bv.get_code_refs(real_panic.start))[0] | |
panic_wrapper = bv.get_functions_containing(panic_ref.address)[0] |
21N5207g
sep-firmware.n301.RELEASE.im4p : 3a3bf6617a7e7fb83b7d2412c4f542e7208e16b48dad79e9109ae688bcb03604173d01aefdc37796dbbec9632ecc24bc
iBoot.n301.RELEASE.im4p : 1202606a6048a9d286d19110c983f7eb2ecd9d0b62e5c301dfd916cb3cc635b7e963adf0f3e6e73361bc54dd98d01c3b
We will add a 15GB disk for a specific partition : /var/db/elasticsearch
List the disks :
[root@centos8s vagrant]# fdisk -l
Disk /dev/vda: 128 GiB, 137438953472 bytes, 268435456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
NewerOlder