Generating unabstracted ELF object files
Closed this issue · 1 comments
Mesabloo commented
We currently have a minimalist ELF object file abstract skeleton in the code. However, we will need to "compile" it down to an unabstracted version (which is equivalent to what can be found in the elf.h
header of the C library). The problem is that we need to provide offsets, memory sizes, physical/virtual addresses, etc and I have no idea how to fetch those.
I believe that offsets can be set in a fixup phase in charge of replacing dummy values (like 0x0
) with the real offsets in the file, but I'm not sure how to handle it at all.