Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
elfio mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Third Party Mirrors
elfio mirror
Commits
d0cb1724
Commit
d0cb1724
authored
8 years ago
by
Martin Bickel
Committed by
Serge Lamikhov-Center
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Expose getter for section.offset
parent
a0de1960
No related branches found
Branches containing commit
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
elfio/elfio_section.hpp
+2
-1
2 additions, 1 deletion
elfio/elfio_section.hpp
with
2 additions
and
1 deletion
elfio/elfio_section.hpp
+
2
−
1
View file @
d0cb1724
...
...
@@ -45,6 +45,7 @@ class section
ELFIO_GET_SET_ACCESS_DECL
(
Elf64_Addr
,
address
);
ELFIO_GET_SET_ACCESS_DECL
(
Elf_Xword
,
size
);
ELFIO_GET_SET_ACCESS_DECL
(
Elf_Word
,
name_string_offset
);
ELFIO_GET_ACCESS_DECL
(
Elf64_Off
,
offset
);
virtual
const
char
*
get_data
()
const
=
0
;
virtual
void
set_data
(
const
char
*
pData
,
Elf_Word
size
)
=
0
;
...
...
@@ -53,7 +54,7 @@ class section
virtual
void
append_data
(
const
std
::
string
&
data
)
=
0
;
protected
:
ELFIO_
GET_
SET_ACCESS_DECL
(
Elf64_Off
,
offset
);
ELFIO_SET_ACCESS_DECL
(
Elf64_Off
,
offset
);
ELFIO_SET_ACCESS_DECL
(
Elf_Half
,
index
);
virtual
void
load
(
std
::
istream
&
f
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment