Andy Wingo <wi...@pobox.com> skribis: > * libguile/objcodes.c (register_elf, scm_find_mapped_elf_image): New > interfaces that keep a list of all ELF mappings. Exported from the > (system vm objcode) module. > > * module/system/vm/objcode.scm: Export find-mapped-elf-image.
OK. > +static SCM > +scm_find_mapped_elf_image (SCM ip) > +{ > + char *ptr = (char *) scm_to_unsigned_integer (ip, 0, SCM_T_UINTPTR_MAX); scm_to_uintptr, which we should move from foreign.c to a public header. Ludo’.