[Openmcl-devel] Troubleshooting FFI calls on ARM
Ron Garret
ron at flownet.com
Wed Jun 19 13:52:44 PDT 2019
On Jun 19, 2019, at 1:45 PM, Jeremy Shoemaker <jeremy at codingkoi.com> wrote:
> I've tried using (external "getpid"), and I get back the addresses of the external-entry-point for getpid and lib.so.6 but I'm not sure how to confirm if those are pointing to the right locations.
One suggestion: use %get-signed-long to read out a few bytes of memory at the location reported by (external "getpid”) and then write a little C program that does the same thing and see if you get the same result.
> I realize this is probably some esoteric configuration that I'm trying to play around with, and that here may be dragons, but any help would be greatly appreciated.
IMHO this is something one should reasonably be able to expect to work.
rg
More information about the Openmcl-devel
mailing list