guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Executing Arbitrary Machine Code in Guile


From: tomas
Subject: Re: Executing Arbitrary Machine Code in Guile
Date: Sat, 22 Aug 2015 09:15:25 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Aug 22, 2015 at 08:46:52AM +0200, Panicz Maciej Godek wrote:
> 2015-08-22 1:31 GMT+02:00 Elzair <address@hidden>:
> 
> > 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://bitbucket.org/panicz/envy/src/
> 
> The file exec.c contains the code that exports a new procedure to Guile.
> You can write analogous function using ffi with mmap, without resorting to
> external modules, of course.

You've tickled my curiosity. I'll have a look!

This one might be related (although not a direct answer to the OP's question):

  
<https://wingolog.org/archives/2014/02/18/compost-a-leaf-function-compiler-for-guile>

- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlXYIY0ACgkQBcgs9XrR2kZ7QgCfRd8Q3T++b6D85VxZETrMApug
CiEAn1iStsBHgKJA8CRVtavL0V97IXtP
=SNSt
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]