4 ms·
> Having code that behaves differently if it's loaded at different addresses seems like a bug. Why? This only sounds like a bug to me if it is intended to be p
by wolfgke 8y ago
> Having code that behaves differently if it's loaded at different addresses seems like a bug.
Why? This only sounds like a bug to me if it is intended to be position-independent code (PIC).
A reason why in safety-critical code ASLR is avoided is that it introduces another source of non-determinacy and potential bugs, which you want to avoid.
UPDATE: So you really want to keep the system as simple and small as possible and avoid to add anything to it that can introduce new bugs.