The existing one actually failed on the int* p, not on int z (as can be
seen by the fault being 8 bytes rather than 4).
This is also needed to make sure the stack safety analysis does not
classify the alloca as safe.
Differential D105705
[hwasan] More realistic setjmp test. fmayer on Jul 9 2021, 8:46 AM. Authored by
Details
The existing one actually failed on the int* p, not on int z (as can be This is also needed to make sure the stack safety analysis does not
Diff Detail
Event TimelineComment Actions LGTM w/ comment change
|
this relies on globals tagging. can you have p be declared in main() and passed as a parameter to f()? then no need to update the comment as well :)