ASLR in action

This commit is contained in:
nora 2024-11-29 22:50:26 +01:00
parent 96f2dcf8af
commit 741b1000b3
2 changed files with 49 additions and 10 deletions

View file

@ -1,10 +1,10 @@
// #include<elf.h>
int main(int argc)
int main(int argc, int argv)
{
int x = 100;
int x = 200;
return x;
thisismyfakeconstantbecauseidonthaveconstant(x - 1);
return argv;
}
int thisismyfakeconstantbecauseidonthaveconstant(int x)