Commit Graph

566 Commits

Author SHA1 Message Date
Michael Agun
92b9b67df6 check that stream is big enough, accounting for overflow 2024-06-14 17:07:43 +03:00
Epifanov Ivan
3bc66a0e50 Add arm relocation types 2024-06-14 17:07:43 +03:00
Serge Lamikhov-Center
d33fadb34a Just reformatting 2024-04-28 19:36:59 +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
Serge Lamikhov-Center
45af83bc67 Add yet another "Elf in a library" image 2024-03-28 09:22:25 +02:00
RoboSchmied
73020740eb Fix: 32 typos
Signed-off-by: RoboSchmied <github@roboschmie.de>
2024-03-26 18:02:24 +02:00
Serge Lamikhov-Center
8a08b5be22 Upgrade GitHub actions 2024-03-22 18:38:54 +02:00
Serge Lamikhov-Center
a428b72acb Check file offset doesn't exceed file size 2024-03-22 18:21:56 +02:00
Eugen Wissner
e361316ce4 Add RISC-V relocation types 2024-03-03 16:33:23 +02:00
Alan Jowett
182248f364 Validate size of entries before accessing members
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
2024-01-20 19:21:59 +02:00
Jatin Chaudhary
9814eaaa76 Fix warning shown up with clang compiler 2024-01-12 15:24:56 +02:00
Serge Lamikhov-Center
2b457dd5d9 Change a comment 2023-12-18 19:59:04 +02:00
Serge Lamikhov-Center
1a92db337f Proper ignore resource files for CPack 2023-12-16 20:01:11 +02:00
Serge Lamikhov-Center
c5e56b8c50 Unused images are moved to a separate folder 2023-12-16 08:41:21 +02:00
Serge Lamikhov-Center
87d64fb25c Move artworks folder to 'doc' directory 2023-12-16 08:04:04 +02:00
Serge Lamikhov-Center
36c45301d4
Increase the library version number 2023-12-14 20:22:49 +02:00
Serge Lamikhov-Center
1a6eb42455
The workflow is used by another project 2023-12-14 19:12:49 +02:00
Serge Lamikhov-Center
80f7212b91
Add workflow_dispatch 2023-12-14 18:41:07 +02:00
Serge Lamikhov-Center
4834f7924b
Permit workflow_call 2023-12-14 17:45:14 +02:00
Serge Lamikhov-Center
332c140e30
Move to actions/checkout@v4 2023-12-14 17:20:31 +02:00
Serge Lamikhov-Center
aa2dbf5564
Add Windows-2019 2023-12-13 19:42:38 +02:00
Serge Lamikhov-Center
7e635921fa
Add 2 Mac OSes 2023-12-13 19:27:35 +02:00
Serge Lamikhov-Center
70345f2417
Add Mac builds 2023-12-13 19:20:31 +02:00
Serge Lamikhov-Center
480a39fee6
Add c_compiler 2023-12-13 19:12:23 +02:00
Serge Lamikhov-Center
4c4e774cd8
Advance Google Test commit # 2023-12-13 18:24:31 +02:00
Serge Lamikhov-Center
6a94d4d108
Remove C compiler settings 2023-12-13 18:17:50 +02:00
Serge Lamikhov-Center
05a0f3dcd1
Exclude cl.exe build from Ubuntu-20-04 2023-12-13 18:09:23 +02:00
Serge Lamikhov-Center
da52b08f17
Add older Ubuntu OS version 2023-12-13 18:03:06 +02:00
Serge Lamikhov-Center
418e97d258
Update c-cpp.yml 2023-12-13 17:50:50 +02:00
Serge Lamikhov-Center
4bc17b6b81 Green title 2023-11-24 10:07:47 +02:00
Serge Lamikhov-Center
a528c2e99b Fix formatting 2023-11-23 19:20:53 +02:00
Serge Lamikhov-Center
d950ddbb90 The library artwork added 2023-11-23 18:22:17 +02:00
Serge Lamikhov-Center
eb6882952c Remove unnecessary files in 'test' directory 2023-10-24 19:26:45 +03:00
Serge Lamikhov-Center
5b2a6ca626 Change relocation type to R_X86_64_32 2023-10-17 17:26:17 +03:00
Serge Lamikhov-Center
e07864463c Experimental change of section table alignment to 16 2023-10-16 20:19:00 +03: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
0399b9f8df Add segment's free_data() description to the doc 2023-10-10 22:29:01 +03:00
Eugene Cohen
23527bd291 Add segment free_data function
Allow for segment data to be freed to allow for reduced memory usage
when dealing with large elf segments.
2023-10-10 22:10:57 +03:00
Serge Lamikhov-Center
73a241079a Refactor the last commit 2023-08-28 19:35:05 +03:00
Serge Lamikhov-Center
089160c40e Use more portable function memchr()
Use more portable memchr() function instead of strnlen() which is not in ISO standard
2023-08-28 18:43:47 +03:00
Serge Lamikhov-Center
8ae6cec5d6 C++17 refactoring 2023-06-02 17:37:37 +03:00
Serge Lamikhov-Center
5a9297b1bd Use c++17 standard 2023-05-06 16:51:42 +03:00
Nam Cao
d251da09a0 Remove unnecessary initialization that causes GCC warning 2023-02-22 22:25:54 +02:00
Hao Chen
5be0f95443 Update elfio.hpp
Fix a memory leak that misuses unique_ptr
2023-02-12 10:06:22 +02:00
scribam
aecc192aa6 Use CodeQL Actions v2 2023-01-17 09:48:31 +02:00
Serge Lamikhov-Center
be202e3107 Minor refactoring 2022-12-31 10:00:30 +02:00
Serge Lamikhov-Center
6fc23e53dd Increase version number for future release 2022-12-18 00:37:56 +02:00
Serge Lamikhov-Center
d00cc32f8b Switch to a newer 'googletest' archive 2022-12-15 19:07:46 +02:00
Serge Lamikhov-Center
b2901a51b6 Add missed implementation function for insert_data() 2022-11-30 08:25:01 +02:00