Project

General

Profile

Actions

Feature #3

open

An ELF parser is required so that NativeOS can load code from executable files

Added by danirod almost 4 years ago. Updated almost 4 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
Start date:
06/01/2018
Due date:
% Done:

70%

Estimated time:

Description

A simple way to load code from ELF files placed by the bootloader, but separated from the main executable file (nativeos.elf) must be added.

At the moment, I am only interested in being able to relocate and use code from simple relocatable files, such as unlinked object files, so that some aspects of the kernel, such as drivers, can be decoupled from the kernel itself.

Actions #1

Updated by danirod almost 4 years ago

  • % Done changed from 0 to 40

So far, a quick debug program that is able to dump information about ELF files has been written. The functions that compose this library should be incorporated into the trunk of the project soon.

As of yesterday, only the relocation aspect of these files is missing. This is required in order to be able to actually link relocatable files, such as kernel object files that could contain code with additional drivers.

A second read to the ELF document should be given to inspect for missing stuff.

Actions #2

Updated by danirod almost 4 years ago

  • Status changed from New to In Progress
Actions #3

Updated by danirod almost 4 years ago

  • % Done changed from 40 to 70
Actions

Also available in: Atom PDF