public
Created

all thats needed to jump to a any code pointer, just sacrified r1 to be the fun pointer and it works!

  • Download Gist
shim.cmm
1 2 3 4 5
// c minus minus code
ghcShim{
W_ funptr = r1 ;
jump funptr ;
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.