laachy.bsky.social
@laachy.bsky.social
I will make one up and have it uploaded within an hour.
December 9, 2025 at 5:01 AM
Theres really only a few instruction patterns you need to emulate. This could probably be done with other compilers as well. You might see I append to symbols that would otherwise be the name of the section as its not possible to reference sections in rust. Also globals are a bit funky needing work
December 9, 2025 at 5:01 AM
Other emitted jmps have issues currently as I havent made any other changes to the original CP. These are currently related to merging and hooking. I put this in current issues
December 9, 2025 at 4:58 AM
Honestly did this last and used AI to come up with a proof of concept as ive never used Iced before but knew where the problem was. Worked first try so kept it in as it helps keep TCO which just relies on jmp instructions at the end of a function to keep the current stack frame.
December 9, 2025 at 4:56 AM