Serge Lamikhov-Center
3e4a2fabfd
Add tests for the new flavor of get_symbol()
2020-02-22 11:31:27 +02:00
Serge Lamikhov-Center
46d081d5df
Add autoxxx tools to the ELFIOTest directory
2020-02-15 23:24:20 +02:00
Martin Bickel
a638f47edc
new testcase for read/save sequence
2017-03-06 22:28:46 +02:00
Martin Bickel
6dad943222
Tests now use distinct output files, allowing for better post test analysis
2017-01-16 20:38:37 +02:00
Serge Lamikhov-Center
8290078a64
Relocation entry endianness fix; Warnings elimination
2015-02-13 20:47:37 +02:00
Mario Werner
b91a43b378
special support for PHDR segments and segments which include the elf header
...
Only elf files with strange GNU_RELRO segments fail the load, save, cycle.
It would maybe a good idea to separate the layout functionality from the
current save. The current coupling of layout and save make it
impossible to build layouts which contain the elf header via the public
API.
2014-11-15 22:08:52 +01:00
Mario Werner
0ece76b5eb
rewrote the segment save logic to not only care about alignment
...
The initial implementation only made sure that all sections and segments
are properly aligned. This is enough for simple embedded applications
but can not deal with more complex layouts.
The new implementation should be more generic given that it respects the
virtual addresses of the individual sections.
One thing which is currently not supported by this rewrite are segments
which contain the program/segment header or even the whole elf header.
2014-11-14 08:27:36 +01:00
Serge Lamikhov-Center
b227bf1482
Add a test that verifies ARM executable which was generated by CLang and LLVM
...
Signed-off-by: Serge Lamikhov-Center <to_serge@users.sourceforge.net>
2014-02-27 19:42:57 +02:00
Serge Lamikhov-Center
33dcaf063f
Use [i|o]stream instead of [i|o]fstream; The patch was provided by Jason Hiser
...
Test's fixes
2014-02-26 18:02:30 +02:00
Serge Lamikhov-Center
d7dfac7e25
Refactoring of a test
2014-02-26 17:41:14 +02:00
Serge Lamikhov-Center
ed6a40ada1
Proper calculate size difference between file_size/memory_size in case of section type SHT_NOBITS
2013-04-21 16:54:07 +03:00
Serge Lamikhov-Center
b78c0aca3d
Convert all files to UNIX EOL
2012-11-27 11:45:28 +02:00
Serge Lamikhov-Center
b74f44443d
'add_entry' in symbol_section_accessor was renamed to 'add_symbol'
...
documentation update
<elfio.hpp> was modified to be <elfio/elfio.hpp>
2012-11-25 19:58:07 +02:00
Serge Lamikhov-Center
0791d33e5b
- .note section is produced by write_exe_i386 test of ELFIOTest1.cpp
...
- include files are added to the test project
2012-07-01 21:12:56 +03:00
Serge Lamikhov-Center
bf2800a64a
- Prevent binary file change in repository, restore test file after each run
2012-06-20 09:17:19 +03:00
Serge Lamikhov-Center
00e37476c0
- Fix a reported problem with section data size not updating at 'load' time
2012-06-20 09:09:20 +03:00
Serge Lamikhov-Center
1a957edfba
Don't calculate section address if it was already initialized
2012-06-03 23:19:33 +03:00
Serge Lamikhov-Center
0237e33a30
Fix EOL problem
2012-03-03 13:36:39 +02:00
Serge Lamikhov-Center
493549e030
Initial
2012-02-18 12:01:36 +02:00