59
you are viewing a single comment's thread
view the rest of the comments
[-] ANarcoSnowPlow@hexbear.net 2 points 6 days ago* (last edited 6 days ago)

Theoretically speaking... It could be possible for the compiler to recognize certain patterns and inject arbitrary instructions into the compiled code of interest. If it were really smart it would probably be limited to some specific platforms of interest, be some otherwise harmless looking instructions, that might do something to allow consistent exploitation under some specific circumstances. I'm just spit balling here, I've not put much thought into this past "I'm sure there could be some nasty shit you could do if you wanted to."

Another option might be hiding some information about the author and the system doing the compilation in binaries.

You're trusting the compiler to convert human readable code into machine readable code. I suspect you could sneak some "unreachable" code in there or something, and if it doesn't look scary it'd be easy to write it off as a quirk of optimization or something.

Edit: I have no evidence this is being done or has ever actually been done. I'm just saying that it's theoretically possible.

this post was submitted on 25 Dec 2025
59 points (98.4% liked)

technology

24149 readers
299 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 5 years ago
MODERATORS