marcan changed the topic of #asahi-re to: Asahi Linux: porting Linux to Apple Silicon macs | Hardware / boot process / firmware interface reverse engineering | WARNING: this channel (only) may contain binary reverse engineering discussion | RE policy: https://alx.sh/re (MANDATORY READ) | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-re
neunon has quit [Quit: ZNC 1.8.2 - https://znc.in]
neunon has joined #asahi-re
alvaro_fe has quit [Ping timeout: 272 seconds]
alvaro_fe has joined #asahi-re
robinp has quit [Read error: Connection reset by peer]
robinp has joined #asahi-re
DrWhax has quit [Ping timeout: 272 seconds]
DrWhax has joined #asahi-re
PhilippvK_ has quit [Ping timeout: 260 seconds]
phiologe has joined #asahi-re
Tokamak has joined #asahi-re
Tokamak_ has joined #asahi-re
Tokamak has quit [Ping timeout: 264 seconds]
<davidrysk[m]> marcan: looking at this blob, I see undefined instructions.. I think never_released already established that they're using extended instructions here
<davidrysk[m]> (meaning, instructions that are specific to Apple's chips)
Tokamak has joined #asahi-re
<marcan> yes, I saw stuff like that in an iBoot trampoline (I think) I found in RAM
Tokamak_ has quit [Ping timeout: 246 seconds]
<krbtgt> wonder what they are
<davidrysk[m]> is there a way to make llvm-ir easier to read?
Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<comex> there's always the "compile it to native code and then use a decompiler" approach
<davidrysk[m]> Hah, fair
<davidrysk[m]> (Or even just a disassembler)
modmuss50 has quit [Ping timeout: 260 seconds]
brinly has quit [Ping timeout: 260 seconds]
modmuss50 has joined #asahi-re
brinly has joined #asahi-re
robher has quit [Ping timeout: 260 seconds]
narmstrong has quit [Ping timeout: 260 seconds]
robher has joined #asahi-re
narmstrong has joined #asahi-re
<never_released> comex: public Apple compilers and disassemblers do not support those :P
_whitelogger has joined #asahi-re
irl25519 has joined #asahi-re
irl25519 has quit [Quit: irl25519]
dstzd has quit [Quit: ZNC - https://znc.in]
thestr4ng3r has joined #asahi-re
amw has quit [Ping timeout: 264 seconds]
<roxfan> what undefined instructions? 20 xx is AMX but I didn't see them in the blobs
x56 has quit [Quit: Ծ-Ծ]
x56 has joined #asahi-re
<marcan> the iBoot trampoline (I think) has this
<marcan> 88: 00201462 .inst 0x00201462 ; NYI
<marcan> so that's AMX then?
<marcan> amxsty x2?
<marcan> that doesn't look right
<marcan> no, that has an extra bit set
<marcan> 0x4xx
<marcan> AMX should be 0x00201000 through 0x002013ff
<marcan> 0x002014xx sounds like another encoding space
<sven> https://twitter.com/s1guza/status/1355929535699681284 mentions #define gexit .long 0x201400
<never_released> GENTER/GEXIT
<never_released> GXF
<never_released> Guarded execution
<never_released> SP_GL[1/2], TPIDR_GL[1/2], VBAR_GL[1/2], ELR_GL[1/2], ESR_GL[1/2], FAR_GL[1/2], SPSR_GL[1/2]
<never_released> GXF_CONFIG_EL[1/2], GXF_ENTRY_EL[1/2], GXF_PABENTRY_EL[1/2]
<sven> huh, interesting.
<sven> is that another exception level or something like that?
<never_released> in parallel yes, with their own exception vectors
<sven> do you know what they use that one for?
<never_released> http://newosxbook.com/articles/CasaDePPL.html for the pre-GXF PPL implementation
<sven> interesting
<sven> thanks!
<opticron> well that's kind of wacky
<opticron> it's like they reimplemented a custom/different EL3
BaughnLogBot has quit [Ping timeout: 260 seconds]
BaughnLogBot has joined #asahi-re
Namidairo has quit [Ping timeout: 240 seconds]
jcs has left #asahi-re [#asahi-re]
tomtastic has left #asahi-re ["part/quit"]
<modwizcode> I thought PPL'
<modwizcode> oops
<modwizcode> I thought PPL's implementation was pretty sound on it'
<modwizcode> *it's own
<modwizcode> geez I keep bumping enter
zkrx has quit [Ping timeout: 246 seconds]
zkrx has joined #asahi-re
Tokamak has joined #asahi-re
irl25519 has joined #asahi-re
irl25519 has quit [Quit: irl25519]
irl25519 has joined #asahi-re
irl25519 has quit [Quit: irl25519]
irl25519 has joined #asahi-re
irl25519 has quit [Client Quit]
<comex> never_released: they don't support the custom instructions, but that's separate from the making LLVM IR blobs easier to read (I just checked and only two of the .o files that contain bitcode fail to compile because of custom instructions, and those could be patched not to do so, if the goal is just REing the logic)
irl25519 has joined #asahi-re
irl25519 has quit [Quit: irl25519]
irl25519 has joined #asahi-re
Bastian[m] has quit [Ping timeout: 244 seconds]
bakk[m] has quit [Ping timeout: 244 seconds]
wolf511[m] has quit [Ping timeout: 244 seconds]
ronyrus[m] has quit [Ping timeout: 244 seconds]
fried_dede[m] has quit [Ping timeout: 244 seconds]
jinen[m] has quit [Ping timeout: 244 seconds]
svenpeter has quit [Ping timeout: 244 seconds]
fried_dede[m] has joined #asahi-re
svenpeter has joined #asahi-re
ronyrus[m] has joined #asahi-re
jinen[m] has joined #asahi-re
wolf511[m] has joined #asahi-re
bakk[m] has joined #asahi-re
Bastian[m] has joined #asahi-re
irl25519 has quit [Quit: irl25519]
TheJollyRoger has quit [Remote host closed the connection]
TheJollyRoger has joined #asahi-re
gurmble has joined #asahi-re
grumble has quit [Ping timeout: 606 seconds]
gurmble is now known as grumble
irl25519 has joined #asahi-re
irl25519 has quit [Client Quit]
irl25519 has joined #asahi-re
irl25519 has quit [Client Quit]
the-mentor8 has joined #asahi-re
the-mentor has quit [Ping timeout: 260 seconds]
the-mentor8 is now known as the-mentor
zkrx has quit [Ping timeout: 264 seconds]
delroth[m] has quit [*.net *.split]
rootspring[m] has quit [*.net *.split]
reispflanze[m] has quit [*.net *.split]
brentr123[m] has quit [*.net *.split]
smist08[m] has quit [*.net *.split]
davidrysk[m] has quit [*.net *.split]
skillfulman23[m] has quit [*.net *.split]
bylaws has quit [*.net *.split]
Tokamak has quit [Ping timeout: 244 seconds]
Tokamak has joined #asahi-re
bylaws has joined #asahi-re
davidrysk[m] has joined #asahi-re
rootspring[m] has joined #asahi-re
zkrx has joined #asahi-re
delroth[m] has joined #asahi-re
brentr123[m] has joined #asahi-re
skillfulman23[m] has joined #asahi-re
smist08[m] has joined #asahi-re
reispflanze[m] has joined #asahi-re
amw has joined #asahi-re
the-mentor has quit [Ping timeout: 240 seconds]
the-mentor has joined #asahi-re
zkrx has quit [Ping timeout: 264 seconds]
amw has quit [Ping timeout: 246 seconds]
zkrx has joined #asahi-re
amw has joined #asahi-re
irl25519 has joined #asahi-re
irl25519 has quit [Quit: irl25519]