Skip to content

Instantly share code, notes, and snippets.

@cartazio
Created June 24, 2013 19:10
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 cartazio/5852610 to your computer and use it in GitHub Desktop.
Save cartazio/5852610 to your computer and use it in GitHub Desktop.
all thats needed to jump to a any code pointer, just sacrified r1 to be the fun pointer and it works!
// c minus minus code
ghcShim{
W_ funptr = r1 ;
jump funptr ;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment