Commit Graph

16 Commits

Author SHA1 Message Date
Serge Lamikhov-Center
9d6984a59b An attempt to address unusual case where 'note' size is larger than Elf_Word 2022-06-21 08:07:06 +03:00
Serge Lamikhov-Center
ee891ca7c9 Make sure that dynamic section entry size is larger than ElfXX_Dyn structure 2022-06-19 23:21:56 +03:00
Serge Lamikhov-Center
cf954a8d42 Prevent memory access to data out the notes' section 2022-06-19 17:37:22 +03:00
Serge Lamikhov-Center
3aad501f5b Add check for incorrect section/segment entry size 2022-06-18 22:47:37 +03:00
Serge Lamikhov-Center
07ef317550 Check out of the file boundary access attemps 2022-06-16 17:30:22 +03:00
Serge Lamikhov-Center
068cb76a3f Most of the tests are passing 2022-02-11 23:15:39 +02:00
Serge Lamikhov-Center
7ab1112907 Add -Wextra option 2022-01-14 20:49:23 +02:00
Serge Lamikhov-Center
0ed413883d Definition of constants 2021-11-08 15:32:14 +02:00
Serge Lamikhov-Center
83d1f9b28a Don't clean() address_translation table 2021-09-20 23:45:50 +03:00
Serge Lamikhov-Center
b527ea992a An attempt to implement memory translation for sections 2021-09-19 11:28:35 +03:00
Serge Lamikhov-Center
0a15ec0aea Header dump shows correct values 2021-09-19 11:28:26 +03:00
Serge Lamikhov-Center
8e0b5754e4 arrange_local_symbols() added
ELF standard requires that all STB_LOCAL symbols will go prior others and sh_info entry will contain the number of the local symbols
2020-08-18 12:57:45 -07:00
Serge Lamikhov-Center
de83f7dbbd Move ELF test files to 'tests' directory 2020-08-09 22:43:30 -07:00
Serge Lamikhov-Center
9cf8821c03 Prevents seg fault described in #42 2020-06-10 06:53:29 -07:00
Serge Lamikhov-Center
453929342f Don't access a note entry in case namesz is less than 1 2020-05-29 05:26:43 -07:00
Serge Lamikhov-Center
1a5ac38fae Add VSCODE settings 2020-02-22 11:29:45 +02:00