#
…

2021-01-31

00:37amw has joined #asahi-re
00:38amwroxfan: Thanks - uninstalling the debian python3-construct and using pip3 install construct worked
00:39amwNow the machodump.py script runs fine... - The standard debian packages don't work and the git clone didn't seem to either...
01:25Tokamak has joined #asahi-re
02:31amwmarcan: Just added some documentation to the RE page on extracting from the kernel.release.t8020 file - please check if ok
02:32amwI just guessed the offset into the file used based on how you choose your offset :-)
02:44amw has quit [Ping timeout: 240 seconds]
03:31PhilippvK_ has joined #asahi-re
03:31PhilippvK has quit [Ping timeout: 264 seconds]
03:38davidrysk[m]amw: note that t8020 is for the DTK and t8101 is for the M1 Mac. Also you can use otool -xV if you have the Apple cctools
04:01amw has joined #asahi-re
04:13Tokamak_ has joined #asahi-re
04:17Tokamak has quit [Ping timeout: 246 seconds]
04:36amwdavidrysk: Thanks - that's much easier and allows me to verify my decode
04:38amwI presume that dtk means = "development transition kit" binary - I didn't even know they shipped multiple kernels on the MacBookAir
04:43amwJan: I guess that's the hardware davidrysk was saying the .t8020 which I used in my example on the wiki
04:45Jan[m]1it may be not for MBA but mini A12
04:46Jan[m]1don't know if that makes a difference though
04:46davidrysk[m]DTK does mean developer transition kit (since it's A12)
04:46davidrysk[m](t8020 is A12)
04:46davidrysk[m](t8101 is A14, t8103 is M1)
04:51amwThat's interesting as my MacBookAir has only t8101 and t8020 files in the /System/Library/Kernels
04:51amwBut my MBA is an M1 based one?
05:07davidrysk[m]t8101 and t8103 are similar enough
05:07davidrysk[m]so they just call the kernel .t8101 for M1
05:07davidrysk[m]t8020 is definitely not M1
05:10amwdavidrysk: ok - There is a third file 16M long called plain "kernel" ?
05:10amwI don't know how to tell which file is actually running on a Mac - no /proc on Macs :-(
05:11davidrysk[m]that's probably intel
05:11marcanthe kernel supports both t8101 and t8103
05:11davidrysk[m]`file` command says that the plain kernel file is intel
05:11Tokamak_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:12amwYep - your right and otool shows Intel instructions
05:37TheJollyRoger has joined #asahi-re
08:41kit_ty_kate has quit [Ping timeout: 272 seconds]
08:57bisko has quit [Quit: Textual IRC Client: www.textualapp.com]
09:01amw has quit [Ping timeout: 240 seconds]
10:46amw has joined #asahi-re
12:09amw has quit [Ping timeout: 246 seconds]
13:36roxfan2iirc there's kmutil(?) which can show some info about currently used kernel
14:49roxfan2 is now known as roxfan
15:11Tokamak has joined #asahi-re
15:16Tokamak has quit [Ping timeout: 264 seconds]
15:51Tokamak has joined #asahi-re
16:07Tokamak has quit [Ping timeout: 246 seconds]
16:12davidrysk[m]marcan: looking at the symbols in these binaries it boggles me that they're doing this
16:13davidrysk[m]what's in here: start.o, pinst.o, pmap.o, pcb.o, locore.o, gxf_exceptions.o, machine_routines_asm.o, machine_routines_apple.o, machine_routines_sprr.o, sart.o, t8020dart.o, nvmeppl.o, uat.o, uat_ppl_handoff.o, IOUnifiedAddressTranslator.cpo
16:14marcanyeah, I know
16:14marcanit's crazy
16:14davidrysk[m]someone should file a rdar
16:35snalty has quit [Quit: ZNC 1.8.2 - https://znc.in]
16:36TheJollyRoger has quit [Ping timeout: 268 seconds]
16:38TheJollyRoger has joined #asahi-re
16:41Bluerisemarcan: hm, where's that xnu dump?
16:44Blueriseah, tarball, nice, thank
17:18davidrysk[m]also huh. sicily and tonga. sicily is A14 and tonga is M1?
17:19davidrysk[m]also they didn't redact everything from the source
17:19davidrysk[m]so it's likely that REing the blob will uncover what certain defines mean
17:41taziden has quit [Ping timeout: 265 seconds]
17:59taziden has joined #asahi-re
20:35amw has joined #asahi-re
21:05irl25519 has joined #asahi-re
21:29amw has quit [Ping timeout: 240 seconds]
21:51irl25519 has quit [Quit: irl25519]
21:56amw has joined #asahi-re
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:01yrlf has joined #asahi-re
23:03taziden has quit [Ping timeout: 240 seconds]
23:06taziden has joined #asahi-re
…