Commit Graph

38 Commits

Author SHA1 Message Date
Serge Lamikhov-Center
e00bf98230 Add modinfo to VS project 2020-08-23 09:57:21 +03:00
Serge Lamikhov-Center
761d70da2c Add dump function for .modinfo section 2020-08-22 23:10:11 -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
c6e5eb0aad Update Copyright period 2020-08-19 13:47:20 -07:00
Serge Lamikhov-Center
b1961db18b Fix compilation warnings in VS 2019 v16.7.0 2020-08-07 20:27:13 +03:00
Serge Lamikhov-Center
a935b5472e The counter type for 'symbol_tables' has been changed to Elf_Xword 2020-05-29 13:54:28 +03:00
Serge Lamikhov-Center
64626605ed Remove tab characters 2020-02-22 18:22:23 +02:00
Serge Lamikhov-Center
cb3bd43ca5 Avoid warning regarding incompatible integer types 2018-11-03 18:11:32 +02:00
alvaro
bc5f17b0fc Fix more NULL dereferences
Crash 7d695153fd8052529d480c2352d4ada33a44bada
2017-10-04 20:47:51 +03:00
Yutetsu TAKATSUKASA
fb26cf1002 resolve compiler warning by "-Wsign-compare" 2016-09-18 10:44:16 +09:00
Tim Strazzere
ecc45ede27 Prevent accessing pdata struct if it doesn't exist. 2016-04-23 16:37:48 +03:00
Serge Lamikhov-Center
5ec1fc8949 Prevent a crash when working with MN10300 ELF file 2015-02-25 00:57:51 +02:00
Serge Lamikhov-Center
9e4502d90e Copyright year update 2015-02-13 20:51:07 +02:00
Serge Lamikhov-Center
8290078a64 Relocation entry endianness fix; Warnings elimination 2015-02-13 20:47:37 +02:00
Mario Werner
d2a27c7d96 initialized a few variables to silence warnings when building with Wall 2014-12-03 09:45:21 +01:00
Mario Werner
8dda93f2bb fixed a few warnings (signed-unsigned comparisions, unused param) 2014-11-13 18:24:03 +01:00
Mario Werner
22bd7ba77d fix: static class member MAX_DATA_ENTRIES is not defined -> linker error
Static class members usually have to be defined explicitly which plays not
well with header only libraries. Moving the constant into the ELFIO scope
works around that problem.

The problem only shows up at -O0. Higher optimisations levels manage to
completely remove the references to the static member.
2014-11-13 18:23:02 +01:00
Serge Lamikhov-Center
e8afffece9 Dump for section and segment data added 2014-02-26 17:35:20 +02:00
Serge Lamikhov-Center
b217a8a993 Remove extra ";" to prevent warnings at compilation with GCC -pedantic option 2013-01-30 01:05:32 +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
0953467246 Added output for 64-bit ELF files 2012-12-02 19:01:05 +02:00
Serge Lamikhov-Center
b78c0aca3d Convert all files to UNIX EOL 2012-11-27 11:45:28 +02:00
Serge Lamikhov-Center
001833f402 Don't print \0 at the end of notes 2012-11-26 01:17:00 +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
d3a0732983 Use <elfio/> prefix for \#include files 2012-11-25 14:37:09 +02:00
Serge Lamikhov-Center
ac33c1e4de Output section names at the end of line
Increase width of Nr field
Refactor format_assoc() implementation
2012-08-23 09:12:03 +03:00
Serge Lamikhov-Center
3aa0cc1751 Align format_assoc() implementation to its specialization version 2012-08-22 22:50:03 +03:00
Serge Lamikhov-Center
f0211fa620 Use 'const' instance when working with dumper
Use a template for tabled functions
2012-08-22 19:56:35 +03:00
Serge Lamikhov-Center
3b43ddd6b9 ELFDump is using ELFIO::dump class now 2012-08-19 23:26:47 +03:00
Serge Lamikhov-Center
8ded746bc3 Symbol tables and notes output added 2012-08-19 22:01:18 +03:00
Serge Lamikhov-Center
02696b9e7f Segment dump implemented 2012-08-19 18:48:02 +03:00
Serge Lamikhov-Center
e62b2b38cb Section flags output added 2012-08-19 15:07:54 +03:00
Serge Lamikhov-Center
4a2b8c1e85 Section output started 2012-08-18 21:05:11 +03:00
Serge Lamikhov-Center
ca0609fa4f Type and Machine tables added to dumper 2012-08-18 13:08:35 +03:00
Serge Lamikhov-Center
cb56843e26 Headers dump is implemented by using tables 2012-08-18 08:50:03 +03:00
Serge Lamikhov-Center
e04476791a Another change 2012-07-29 22:24:45 +03:00
Serge Lamikhov-Center
6d60be2dfd A test program added; str_elf_class output implemented 2012-07-29 17:49:16 +03:00
Serge Lamikhov-Center
daa8c81bfb Add dumper file 2012-07-29 17:49:16 +03:00