Commit Graph

25 Commits

Author SHA1 Message Date
Richard Chien
1cb8be7aee Fix potential use of uninitialized variables 2022-05-21 22:55:03 +03:00
Serge Lamikhov-Center
1e6d24d40e Address warnings reported by Windows compilation 2022-02-26 01:56:52 +02:00
Serge Lamikhov-Center
090444309f Address casting on MSVC++ 2022-02-11 09:20:38 +02:00
Serge Lamikhov-Center
f7cd33ad14 Add -Wall options. Address the warnings 2022-01-01 17:49:44 +02:00
Serge Lamikhov-Center
33089a021a Make 'explicit' constructor 2021-09-14 18:35:54 +03:00
Serge Lamikhov-Center
8df00c6c1a modernize-use-nullptr 2021-09-07 10:16:20 +03:00
Serge Lamikhov-Center
4a84319bb8 modernize-use-nullptr 2021-08-26 12:52:23 +03:00
Serge Lamikhov-Center
95eec4f592 Changes of clang-format formatting 2021-08-13 09:53:53 +03:00
Serge Lamikhov-Center
57e614a486 Remove postfix underscore in parameter names 2021-02-05 10:40:18 +02:00
Serge Lamikhov-Center
762c59a2bb Change copyright period 2021-01-19 09:43:01 +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
f02366804f More apropriate way to avoid macro extraction 2020-10-17 23:57:58 +03: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
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
c6e5eb0aad Update Copyright period 2020-08-19 13:47:20 -07:00
Serge Lamikhov-Center
5f904722f6 New machine numbers added 2020-08-08 08:23:25 -07:00
Vinicius Rangel
350008420f dynamic_section_accessor#add_entry params updated
Changed useless by-reference params to by-value
which forbids number literals (i.e. DT_*)

Added missing const keyword to std::string& parameter
2019-04-19 09:24:40 +03:00
Vašek Potoček
972f89e022 Better support for read-only ELF access 2017-10-04 20:33:10 +03:00
Serge Lamikhov-Center
8e7a29e128 Refactoring 2016-04-23 17:58:34 +03:00
Serge Lamikhov-Center
9e4502d90e Copyright year update 2015-02-13 20:51:07 +02:00
Serge Lamikhov-Center
79ecb3fabc Data size boundary check for dynamic section reader
Permit section data allocation for size equal to 0
2013-01-30 14:45:35 +02:00
Serge Lamikhov-Center
cde39c9d45 Add a validation for the case when dynamic section has no data
Signed-off-by: Serge Lamikhov-Center <to_serge@users.sourceforge.net>
2013-01-30 01:06:00 +02: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