Commit Graph

27 Commits

Author SHA1 Message Date
Serge Lamikhov-Center
41f4012d49 Just formatting 2024-06-15 10:58:36 +03:00
Serge Lamikhov-Center
bb572fb848 Comment out assertions of a test 2024-06-15 10:41:35 +03:00
Joerg Vehlow
e2a3d0ada4 Add test for segment size change bug
Signed-off-by: Joerg Vehlow <joerg.vehlow@aox.de>
2024-04-05 17:16:57 +03:00
RoboSchmied
73020740eb Fix: 32 typos
Signed-off-by: RoboSchmied <github@roboschmie.de>
2024-03-26 18:02:24 +02:00
Serge Lamikhov-Center
47af3a4ff9 Rename 'free_data' test 2023-10-14 12:44:26 +03:00
Serge Lamikhov-Center
c86883b906 Implement free_data() for sections too
free_data() has no effect if is_lazy was not set
2023-10-13 20:03:48 +03:00
Serge Lamikhov-Center
d8b71ebc91 Make more const variables 2022-11-14 16:33:50 +02:00
Serge Lamikhov-Center
6c5f34ae3e Add tests for lazy load 2022-11-14 15:17:33 +02:00
Serge Lamikhov-Center
4320ea915e 'noexept' added to upper level API members 2022-11-12 17:00:08 +02:00
Serge Lamikhov-Center
755f81351f Generilize the section compression calls 2022-11-10 19:26:05 +02:00
Nathan Strong
7608269069 Externalize zlib dependency
== DETAILS

- define an interface/abstract class for zlib implementation
- update the code to reference the implementation, remove zlib dependency
- use constructor injection to provide implementations to elfio
- add a test to validate the injected object gets used properly
`
2022-11-04 18:12:15 +02:00
Serge Lamikhov-Center
1df77b2495 A tiny refactoring according to SonarLint 2022-10-16 18:43:18 +03:00
Serge Lamikhov-Center
619c9b6884 Apply advices given by clang-tidy 2022-09-28 20:09:39 +03:00
Serge Lamikhov-Center
dd425d83c6 Modernize more files 2022-09-01 18:50:02 +03:00
Serge Lamikhov-Center
af080f739e Use unique_ptr instead of raw pointers 2022-08-29 08:20:07 +03:00
Richard Chien
01f8fed8ad Change relocation type to unsigned 2022-05-21 22:55:03 +03:00
Serge Lamikhov-Center
068cb76a3f Most of the tests are passing 2022-02-11 23:15:39 +02:00
Serge Lamikhov-Center
4dc38f0f34 modernize-use-using 2021-09-07 10:03:19 +03:00
Serge Lamikhov-Center
762c59a2bb Change copyright period 2021-01-19 09:43:01 +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
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
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
2cf9fdd64a Fix warnings in VS 16.7.2 2020-08-19 07:56:10 +03: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