Re: Executing Arbitrary Machine Code in Guile

2015-08-21 Thread Panicz Maciej Godek
2015-08-22 1:31 GMT+02:00 Elzair : > The other day I came across a page on Rosetta Code showing how to directly > execute x86 instructions across several languages: > http://rosettacode.org/wiki/Machine_code > > I wrote an extension that allows to do that on Linux. You can check it out here: https

Executing Arbitrary Machine Code in Guile

2015-08-21 Thread Elzair
The other day I came across a page on Rosetta Code showing how to directly execute x86 instructions across several languages: http://rosettacode.org/wiki/Machine_code For example, here is the code for Racket. #lang racket/base (require ffi/unsafe) ; set up access to racket internals (define