We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9e92e4 commit 42989a0Copy full SHA for 42989a0
src/patchelf.h
@@ -6,27 +6,6 @@ using FileContents = std::shared_ptr<std::vector<unsigned char>>;
6
template<ElfFileParams>
7
class ElfFile
8
{
9
-
10
- /**
11
- * @brief The ELF section header
12
- *
13
- */
14
- class Section {
15
- public:
16
- const std::string & getName() {
17
- return name;
18
- }
19
- const Elf_Shdr * toStruct() {
20
- return (Elf_Shdr *) this->data.data();
21
22
- void resize(unsigned int size) {
23
- data.resize(size, '\0');
24
25
- private:
26
- std::string name;
27
- std::vector<unsigned char> data;
28
- };
29
30
public:
31
32
const FileContents fileContents;
0 commit comments