Re: Executing Arbitrary Machine Code in Guile

2015-08-25 Thread Elzair
tp://github.com/wedesoft/aiscm > >> On August 22, 2015 12:31:56 AM GMT+01:00, Elzair >> wrote: >> 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/Machi

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