You mean you somehow avoided a load. But what if the constant was already placed in a register ? Also how could you pinpoint the reference to your constant in the machine code ? I'm quite profane about all this.
Not OP, but often one uses an easily identifiable dummy pattern like 0xC0DECA57 or 0xDEADBEEF which can be substituted without also messing up the machine code.
You use a label.
belter•3h ago
akdas•3h ago
timewizard•3h ago
rkeene2•3h ago
[0] https://man.openbsd.org/mprotect.2
Retr0id•2h ago
mananaysiempre•2h ago
[1] https://developer.apple.com/documentation/apple-silicon/port...