Projects STRLCPY LIEF Commits 573c885d
🤬
  • ■ ■ ■ ■ ■
    src/ELF/Note.cpp
    skipped 590 lines
    591 591  }
    592 592   
    593 593  void Note::dump(std::ostream& os) const {
     594 + std::string note_name = name();
     595 + if (type() == TYPE::GNU_BUILD_ATTRIBUTE_OPEN) {
     596 + note_name = printable_string(note_name);
     597 + }
    594 598   os << fmt::format("{}(0x{:04x}) '{}' [{}]",
    595  - to_string(type()), original_type(), name(),
     599 + to_string(type()), original_type(), note_name,
    596 600   to_hex(description(), 10));
    597 601  }
    598 602   
    skipped 128 lines
Please wait...
Page is in error, reload to recover