Commit Graph

48 Commits

Author SHA1 Message Date
Serge Lamikhov-Center
f7cd33ad14 Add -Wall options. Address the warnings 2022-01-01 17:49:44 +02:00
Serge Lamikhov-Center
e4c945a343 Newer versions of autotools 2022-01-01 17:48:52 +02:00
Serge Lamikhov-Center
daa1a17390 Version Requirements accessor (modifier) was added 2021-12-01 17:38:18 +02:00
Serge Lamikhov-Center
7ba15e0549 Version Requirements accessor (reader) was added 2021-12-01 17:10:35 +02:00
Serge Lamikhov-Center
056846723a Change order and meaning of address_translation structure 2021-09-21 00:31:47 +03:00
Serge Lamikhov-Center
53d3bb407c Rename 'end' field of address translation to 'size' 2021-09-20 20:44:19 +03:00
Serge Lamikhov-Center
dad4b434c8 Use a different notation for the address translation 2021-09-20 00:03:21 +03:00
Serge Lamikhov-Center
0a15ec0aea Header dump shows correct values 2021-09-19 11:28:26 +03:00
Serge Lamikhov-Center
24d29a213a Move constructor and assignment has been implemented 2021-09-19 11:16:30 +03:00
Serge Lamikhov-Center
4dc38f0f34 modernize-use-using 2021-09-07 10:03:19 +03:00
Serge Lamikhov-Center
1f79600cec Refactoring 2021-08-16 23:19:47 +03:00
Serge Lamikhov-Center
7dcfe3d86d Add default template parameter to array accessor 2021-08-14 16:09:51 +03:00
Serge Lamikhov-Center
95eec4f592 Changes of clang-format formatting 2021-08-13 09:53:53 +03:00
Serge Lamikhov-Center
fc0293ebbd Explicit element size for array accessor 2021-08-13 09:40:49 +03:00
Serge Lamikhov-Center
ef262285dc Add support for GNU hash lookup algorithm 2021-07-27 16:30:41 +03:00
Serge Lamikhov-Center
0fac6ce45b Add a convinience function 'add_section()' to segment class
It is not clear why this hasn't been done initially
2021-04-08 17:03:05 +03:00
Serge Lamikhov-Center
762c59a2bb Change copyright period 2021-01-19 09:43:01 +02:00
Serge Lamikhov-Center
8037e5a42a Add 'validate' function to C language wrapper 2021-01-08 00:11:20 +02:00
Martin Bickel
00c1192ea2 Added testcase for offset/address mismatch detection 2021-01-07 12:43:21 +02:00
Martin Bickel
3e55690e6d Added new check for section/progHeader consistency 2021-01-07 12:43:21 +02:00
Serge Lamikhov-Center
def3653abc Increase version number to 3.9 2020-12-22 14:30:16 +02:00
Serge Lamikhov-Center
22ff134363 Address array section accessor added
The accessor is useful for manipulation of such sections as .ctors,
.dtors, .init_array and .fini_array
2020-12-22 14:10:16 +02:00
Serge Lamikhov-Center
95de7faaa7 Remove MS VS project files 2020-10-30 19:16:20 +02:00
Matt Schulte
b2154b3e81 Setup CMake to have 'check' target like autoconf
This setups the CMake build system to have the same `make check`
functionality as the autoconf build system
2020-10-30 06:40:44 +02:00
Matt Schulte
1559155e7d Add 'make check' target 2020-10-30 00:55:54 +02:00
Matt Schulte
66e4f48b84 Add cmake install support for vcpkg integration 2020-10-30 00:29:18 +02:00
Serge Lamikhov-Center
0826f15d0b Use funny syntax to prevent min() macro in MSVS 2020-10-17 22:51:53 +03:00
Serge Lamikhov-Center
d6338db817 Prevent usage of min() macro when compiled with VS 2020-10-17 21:57:53 +03:00
Serge Lamikhov-Center
8dccdf686c Add MIT license notice 2020-10-17 21:35:55 +03:00
Serge Lamikhov-Center
e7f60ed754 Add CMake for tests folder 2020-10-16 11:20:12 +03:00
Serge Lamikhov-Center
49c2de32ec In dynamic section count entries until DT_NULL; Add const for modinfo params 2020-10-16 01:29:26 +03:00
Serge Lamikhov-Center
e18e5bc261 Use a header for version information 2020-08-24 10:24:09 -07:00
Serge Lamikhov-Center
e00bf98230 Add modinfo to VS project 2020-08-23 09:57:21 +03:00
Serge Lamikhov-Center
5cb9c18ef1 Increase ELFIO library version number 2020-08-22 15:26:00 -07:00
Serge Lamikhov-Center
b4c245f5a8 Add .modinfo section accessor 2020-08-22 15:11:58 -07:00
Serge Lamikhov-Center
9c739b49a0 Reformat sources by using clang-format
It is not perfect (and, probably, it is worser than it was before), but, it is automatic
2020-08-21 07:56:08 -07:00
Serge Lamikhov-Center
655f864226 Remove previous implementation of the callback 2020-08-19 23:05:12 -07:00
Serge Lamikhov-Center
fe17eb40aa Implement swap_symbols() for relocation section.
The function can be used as a callback for arrange_local_symbols()
2020-08-19 22:44:58 -07:00
Serge Lamikhov-Center
d255a35259 Address warnings reported by VS 2020-08-19 23:58:07 +03:00
Serge Lamikhov-Center
6d3d5467a2 Permit substitution of relocation entry by using set_entry() function call 2020-08-19 13:39:15 -07:00
Serge Lamikhov-Center
5a5ba2dc09 Add a callback to arrange_local_symbols() 2020-08-19 07:28:47 -07:00
Serge Lamikhov-Center
9273958309 Increase ELFIO library version number 2020-08-18 22:07:58 -07:00
Serge Lamikhov-Center
2cf9fdd64a Fix warnings in VS 16.7.2 2020-08-19 07:56:10 +03:00
Serge Lamikhov-Center
3d007e35a4 Increase ELFIO library version number 2020-08-18 13:47:10 -07:00
Serge Lamikhov-Center
cca512025b Add casting to align the types 2020-08-18 13:24:52 -07: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
4f89bb0553 Rename tests directory 2020-08-09 22:23:41 -07:00