Commit Graph

48 Commits

Author SHA1 Message Date
Serge Lamikhov-Center
44905d3df8 Preparation to release 3.6 2020-06-10 07:59:52 -07:00
Serge Lamikhov-Center
de472e3e96 Just an obsession 2020-06-10 07:23:23 -07:00
Serge Lamikhov-Center
8ba481c5d7 Refresh autotools generated files 2020-06-10 07:07:14 -07:00
Serge Lamikhov-Center
9cf8821c03 Prevents seg fault described in #42 2020-06-10 06:53:29 -07:00
Serge Lamikhov-Center
10da8a2b37 Update library version in "configure" file 2020-06-09 23:51:12 -07:00
Pierre Bélissent
8ae505c775 Minor improvements in the project configuration 2020-06-06 22:26:12 +03:00
Pierre Bélissent
6e237576f0 Issue serge1/ELFIO#19: Test case to reproduce, and correction 2020-06-06 22:26:12 +03:00
Pierre Bélissent
9f0c760767 Create .travis.yml (enables Travis CI) 2020-05-29 03:25:17 -07:00
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
Serge Lamikhov-Center
aed963ce55 Add autoxxx tools to the ELFIOTest directory 2020-02-15 23:23:52 +02:00
orbitcowboy
010ef79cd0 Fixed some warnings from Cppcheck. 2019-05-28 17:55:14 +03:00
Serge Lamikhov-Center
013cc2f9db Move Visual C++ projects to VS 2019 2019-04-19 14:02:31 +03:00
Serge Lamikhov-Center
d98e824ed6 Return back Makefile.in files. The intention is that configure/make pair will work without additional automake invocation 2018-11-02 23:12:26 -07:00
Serge Lamikhov-Center
1fdbb64235 Change VS projects to use VS2017 and Boost 1.65.1 2017-10-05 10:25:30 +03:00
Martin Bickel
a638f47edc new testcase for read/save sequence 2017-03-06 22:28:46 +02:00
Martin Bickel
65335f6a75 Integrate tests into automake 2017-03-06 22:28:46 +02:00
Martin Bickel
9e787dcf1e Additional assertions to prevent crashes 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
9f9407d301 Adjust test to the changes done for note section 2016-07-10 17:48:46 +03:00
Serge Lamikhov-Center
69b6177bd6 Make '.shstrtab' section be explicitly aligned to 1 2015-09-26 15:01:56 +03:00
Serge Lamikhov-Center
d50e955ca0 Moving to Boost library 1.59.0 2015-09-26 13:03:17 +03:00
Serge Lamikhov-Center
c46fe2a371 Moving to MSVC 2015 2015-08-22 20:06:31 +03:00
Serge Lamikhov-Center
5e39e2197f stdint.h is a part of Visual Studio 2013 distribution already 2015-02-13 22:31:55 +02:00
Serge Lamikhov-Center
56585d98e2 Conditional compilation for boost library linkage 2015-02-13 22:21:12 +02:00
Serge Lamikhov-Center
8290078a64 Relocation entry endianness fix; Warnings elimination 2015-02-13 20:47:37 +02:00
Serge Lamikhov-Center
a88cfacaca Use boost library version 1.57.0 2014-11-22 23:52:02 +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
17f03740e6 Using macros for header fields access functions
Set segment's index upon its creation
Move to VS2013 projects
2014-02-26 17:30:43 +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
1e82ef11b4 add_entry() functions are implemented for dynamic_section_accessor class
Signed-off-by: Serge Lamikhov-Center <to_serge@users.sourceforge.net>
2013-01-13 19:59:15 +02:00
Serge Lamikhov-Center
4b7061dc92 Dynamic section accessor is implemented
Fix segment header position when no segments are present
Dumper - dynamic section output added
Dynamic section reader tests are added

Signed-off-by: Serge Lamikhov-Center <to_serge@users.sourceforge.net>
2013-01-13 04:29:43 +02:00
Serge Lamikhov-Center
b78c0aca3d Convert all files to UNIX EOL 2012-11-27 11:45:28 +02:00
Serge Lamikhov-Center
f051fc0517 write_obj example implemented 2012-11-26 19:40:03 +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
16e9c36e28 Document updates; Small refactoring 2012-11-20 19:58:28 +02:00
Serge Lamikhov-Center
d439d83458 Fix header.e_ident initialization 2012-07-21 09:17:18 +03: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
03da533493 Starting new site building 2012-03-09 12:01:14 +02: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