#
#asahi-re · 2021-02-01 12:43
never_releasedGENTER/GEXIT
#asahi-re · 2021-02-01 12:16
svenhttps://twitter.com/s1guza/status/1355929535699681284 mentions #define gexit .long 0x201400
#asahi-re · 2021-02-01 11:38
marcan0x002014xx sounds like another encoding space
#asahi-re · 2021-02-01 11:37
marcanAMX should be 0x00201000 through 0x002013ff
#asahi-re · 2021-02-01 11:37
marcan0x4xx
#asahi-re · 2021-02-01 11:37
marcanno, that has an extra bit set
#asahi-re · 2021-02-01 11:36
marcanthat doesn't look right
#asahi-re · 2021-02-01 11:36
marcanamxsty x2?
#asahi-re · 2021-02-01 11:34
marcanso that's AMX then?
#asahi-re · 2021-02-01 11:34
marcan 88: 00201462 .inst 0x00201462 ; NYI
#asahi-re · 2021-02-01 11:34
marcanthe iBoot trampoline (I think) has this
#asahi-re · 2021-02-01 11:00
roxfanhttps://gist.github.com/dougallj/7a75a3be1ec69ca550e7c36dc75e0d6f
#asahi-re · 2021-02-01 10:57
roxfanwhat undefined instructions? 20 xx is AMX but I didn't see them in the blobs
#asahi-re · 2021-02-01 07:47
never_releasedcomex: public Apple compilers and disassemblers do not support those :P
#asahi-re · 2021-02-01 06:42
davidrysk[m](Or even just a disassembler)
#asahi-re · 2021-02-01 06:42
davidrysk[m]Hah, fair
#asahi-re · 2021-02-01 06:27
comexthere's always the "compile it to native code and then use a decompiler" approach
#asahi-re · 2021-02-01 05:18
davidrysk[m]is there a way to make llvm-ir easier to read?
#asahi-re · 2021-02-01 05:07
krbtgtwonder what they are
#asahi-re · 2021-02-01 05:01
marcanyes, I saw stuff like that in an iBoot trampoline (I think) I found in RAM
#asahi-re · 2021-02-01 05:00
davidrysk[m](meaning, instructions that are specific to Apple's chips)
#asahi-re · 2021-02-01 05:00
davidrysk[m]marcan: looking at this blob, I see undefined instructions.. I think never_released already established that they're using extended instructions here
#asahi-re · 2021-01-31 17:19
davidrysk[m]so it's likely that REing the blob will uncover what certain defines mean
#asahi-re · 2021-01-31 17:19
davidrysk[m]also they didn't redact everything from the source
#asahi-re · 2021-01-31 17:18
davidrysk[m]also huh. sicily and tonga. sicily is A14 and tonga is M1?
#asahi-re · 2021-01-31 16:44
Blueriseah, tarball, nice, thank
#asahi-re · 2021-01-31 16:44
marcanhttps://opensource.apple.com/tarballs/xnu/
#asahi-re · 2021-01-31 16:43
jannauBluerise: https://opensource.apple.com/source/xnu/xnu-7195.60.75/
#asahi-re · 2021-01-31 16:41
Bluerisemarcan: hm, where's that xnu dump?
#asahi-re · 2021-01-31 16:14
davidrysk[m]someone should file a rdar
#asahi-re · 2021-01-31 16:14
marcanit's crazy
#asahi-re · 2021-01-31 16:14
marcanyeah, I know
#asahi-re · 2021-01-31 16:13
davidrysk[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
#asahi-re · 2021-01-31 16:12
davidrysk[m]marcan: looking at the symbols in these binaries it boggles me that they're doing this
#asahi-re · 2021-01-31 13:36
roxfan2iirc there's kmutil(?) which can show some info about currently used kernel
#asahi-re · 2021-01-31 05:12
amwYep - your right and otool shows Intel instructions
#asahi-re · 2021-01-31 05:11
davidrysk[m]`file` command says that the plain kernel file is intel
#asahi-re · 2021-01-31 05:11
marcanafaik
#asahi-re · 2021-01-31 05:11
marcanthe kernel supports both t8101 and t8103
#asahi-re · 2021-01-31 05:11
davidrysk[m]that's probably intel
#asahi-re · 2021-01-31 05:10
amwI don't know how to tell which file is actually running on a Mac - no /proc on Macs :-(
#asahi-re · 2021-01-31 05:10
amwdavidrysk: ok - There is a third file 16M long called plain "kernel" ?
#asahi-re · 2021-01-31 05:07
davidrysk[m]t8020 is definitely not M1
#asahi-re · 2021-01-31 05:07
davidrysk[m]so they just call the kernel .t8101 for M1
#asahi-re · 2021-01-31 05:07
davidrysk[m]t8101 and t8103 are similar enough
#asahi-re · 2021-01-31 04:51
amwBut my MBA is an M1 based one?
#asahi-re · 2021-01-31 04:51
amwThat's interesting as my MacBookAir has only t8101 and t8020 files in the /System/Library/Kernels
#asahi-re · 2021-01-31 04:46
davidrysk[m](t8101 is A14, t8103 is M1)
#asahi-re · 2021-01-31 04:46
davidrysk[m](t8020 is A12)
#asahi-re · 2021-01-31 04:46
davidrysk[m]DTK does mean developer transition kit (since it's A12)

plus ›