Kevin Klues e3e0d6dbdb Fixed off-by-one error in 'name' of add_note() function.
Previously, when assigning 'name' as a string, it's length was specified
using the full length of 'namesz'. However, this length includes the
trailing '\0' of the underlying char[]. This ultimately causes the C++
string that is created to (incorrectly) contain the '\0' character as
well. This leads to problems where e.g. the following will return false,
even when 'name' itself actually contains the string "GNU\0":

  if (name == "GNU") {
    return true;
  }
  return false;

To fix this, we should only include the length of the string minus the
trailing '\0'.
2016-07-02 11:02:20 -07:00
2015-02-13 20:55:49 +02:00
2015-09-26 13:03:17 +03:00
2015-09-26 13:03:17 +03:00
2015-01-19 13:36:49 +02:00
2012-11-27 11:45:28 +02:00
2012-02-18 12:01:36 +02:00
2015-02-13 20:55:49 +02:00
2015-02-13 20:55:49 +02:00
2012-11-27 11:45:28 +02:00
2012-11-27 00:00:27 +02:00
2012-12-05 11:02:34 +02:00
2012-11-27 00:00:27 +02:00
2015-01-19 13:36:49 +02:00
2012-11-27 00:00:27 +02:00
2012-02-18 12:01:36 +02:00
2012-12-05 20:01:31 +02:00

ELFIO is a header-only C++ library intended for reading and generating
files in the ELF binary format. It is used as a standalone library - it is not
dependant on any other product or project. Adhering to ISO C++, it compiles on
a wide variety of architectures and compilers.
Description
ELFIO - ELF (Executable and Linkable Format) reader and producer implemented as a header only C++ library
Readme 19 MiB
Languages
C++ 98.1%
CMake 1.7%
Assembly 0.1%