You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clang's GOT-indirect code sequence for no-PIC avoids a copy relocation if __stack_chk_guard turns out to be defined by a shared object (say, libc.so.6).
consider the following code:
clang generates:
to read the stack canary into the relevant stack slot. GCC generates a much nicer:
Can we do better? (15B vs 12B per function with a stack protector)
The text was updated successfully, but these errors were encountered: