Skip to content

Instantly share code, notes, and snippets.

@khyberspache
Created December 23, 2020 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khyberspache/6d48cad972d625008ebbe96946f3a272 to your computer and use it in GitHub Desktop.
Save khyberspache/6d48cad972d625008ebbe96946f3a272 to your computer and use it in GitHub Desktop.
Position Independent Executable example for article
// example pie_blob.c
int f1(int v, void (* exit)(int)){
(*exit)(0);
return v;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment