• zea@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 months ago

    Maybe there’s a signal handler or some other outside force that knows where that variable lives on the stack (maybe through DWARF) and can pause your program to modify it asynchronously. Very niche. More practical is purely to inhibit certain compiler optimizations.