Skip to content

Commit

Permalink
elf_file: Set of new functions for reading elf files
Browse files Browse the repository at this point in the history
A structure was created to represent a file, a section and a strings
section. Created a new functions to read a elf file, retrieve a section
header based on index or name, read a section contents based on
a header or name, retrieve section name and functions that print file,
section and program headers.

Signed-off-by: Adrian Warecki <[email protected]>
  • Loading branch information
softwarecki authored and pjdobrowolski committed Sep 26, 2023
1 parent 7bc2958 commit 5f47509
Show file tree
Hide file tree
Showing 3 changed files with 750 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ add_executable(rimage
src/adsp_config.c
src/misc_utils.c
src/file_utils.c
src/elf_file.c
tomlc99/toml.c
)

Expand Down
Loading

0 comments on commit 5f47509

Please sign in to comment.