menios icon indicating copy to clipboard operation
menios copied to clipboard

Implement dynamic loader (dlopen, dlsym, dlclose)

Open pbalduino opened this issue 3 months ago • 0 comments

Goal

Add dynamic linking support to load shared libraries at runtime.

Context

No dynamic loader exists. All programs are statically linked.

Definition of Done

  • [ ] dlopen() - Load shared library
  • [ ] dlsym() - Resolve symbol
  • [ ] dlclose() - Unload library
  • [ ] dlerror() - Get error string
  • [ ] ELF shared library format support
  • [ ] Relocation processing
  • [ ] Symbol resolution and binding
  • [ ] Lazy binding support
  • [ ] Library search paths (LD_LIBRARY_PATH)

Dependencies

Required

  • #193 - Minimal libc ✅
  • ELF loader enhancements

Priority

Low - Future work

Estimated Time

16+ weeks part-time (substantial kernel work)

pbalduino avatar Oct 21 '25 14:10 pbalduino