In bpftime, the system is designed such that while the host application and the eBPF runtime share the same address space, they do not share libraries, including libc.
But when I look at libbpftime-agent.so with the ldd command, I see that he still depends on the standard library. Even though vm and runtime compile to static libraries, they still use glibc's dynamic libraries if the code in the static libraries uses malloc.
So I would like to know what is the mechanism by which he realizes this?
In your paper, I see
But when I look at libbpftime-agent.so with the ldd command, I see that he still depends on the standard library. Even though vm and runtime compile to static libraries, they still use glibc's dynamic libraries if the code in the static libraries uses malloc.![image](https://github.com/eunomia-bpf/bpftime/assets/41728484/c7d1ae08-6fcf-4e06-8103-5b5436ce610f)
So I would like to know what is the mechanism by which he realizes this?