LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
16#ifndef LIEF_PE_COFF_STRING_H
17#define LIEF_PE_COFF_STRING_H
48 const std::string&
str()
const {
60 COFFString&
str(std::string str) {
61 str_ = std::move(str);
71 std::ostream&
operator<<(std::ostream& os,
const COFFString& str)
This class represents a string located in the COFF string table.
Definition COFFString.hpp:33
COFFString(uint32_t offset, std::string str)
Definition COFFString.hpp:36
COFFString & offset(uint32_t value)
Definition COFFString.hpp:65
COFFString & operator=(const COFFString &)=default
uint32_t offset() const
The offset of this string the in the COFF string table. This offset includes the first 4-bytes that h...
Definition COFFString.hpp:56
COFFString & str(std::string str)
Definition COFFString.hpp:60
const std::string & str() const
The actual string.
Definition COFFString.hpp:50
COFFString(COFFString &&)=default
COFFString(const COFFString &)=default
COFFString & operator=(COFFString &&)=default
friend std::ostream & operator<<(std::ostream &os, const COFFString &str)
Definition COFFString.hpp:71
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:32
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41