Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (12 sloc) 0.275 kB
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
int badcode = 1;
int tramp(int i) {
return badcode + i;
}
int (*t)(int) = (void *)((char*)&tramp + 0);
int j = t(10);
printf("Hello world from untrusted binary %i!\n", j);
return(0);
}
Jump to Line
Something went wrong with that request. Please try again.