mirror of
https://github.com/Mr-xn/Penetration_Testing_POC.git
synced 2025-06-20 09:50:19 +00:00
5 lines
98 B
C
5 lines
98 B
C
// ROP Helpers
|
|
|
|
void __attribute__((naked)) swapgs() {
|
|
__asm__ __volatile__("swapgs; ret ");
|
|
} |