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
d439d834
Commit
d439d834
authored
12 years ago
by
Serge Lamikhov-Center
Browse files
Options
Downloads
Patches
Plain Diff
Fix header.e_ident initialization
parent
e279f5c6
No related branches found
No related tags found
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
ELFIOTest/ELFIOTest.vcxproj
+2
-0
2 additions, 0 deletions
ELFIOTest/ELFIOTest.vcxproj
doc/elfio.html
+81
-54
81 additions, 54 deletions
doc/elfio.html
doc/elfio.pdf
+0
-0
0 additions, 0 deletions
doc/elfio.pdf
elfio/elfio_header.hpp
+1
-3
1 addition, 3 deletions
elfio/elfio_header.hpp
with
84 additions
and
57 deletions
ELFIOTest/ELFIOTest.vcxproj
+
2
−
0
View file @
d439d834
...
...
@@ -41,6 +41,7 @@
<PropertyGroup
Label=
"UserMacros"
/>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
<LinkIncremental>
true
</LinkIncremental>
<RunCodeAnalysis>
false
</RunCodeAnalysis>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<LinkIncremental>
false
</LinkIncremental>
...
...
@@ -53,6 +54,7 @@
<Optimization>
Disabled
</Optimization>
<PreprocessorDefinitions>
WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalIncludeDirectories>
..\elfio;d:\Developer\boost_1_48_0;%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
<EnablePREfast>
false
</EnablePREfast>
</ClCompile>
<Link>
<SubSystem>
Console
</SubSystem>
...
...
This diff is collapsed.
Click to expand it.
doc/elfio.html
+
81
−
54
View file @
d439d834
This diff is collapsed.
Click to expand it.
doc/elfio.pdf
+
0
−
0
View file @
d439d834
No preview for this file type
This diff is collapsed.
Click to expand it.
elfio/elfio_header.hpp
+
1
−
3
View file @
d439d834
...
...
@@ -33,7 +33,7 @@ class elf_header
{
public:
virtual
~
elf_header
()
{};
virtual
bool
load
(
std
::
ifstream
&
stream
)
=
0
;
virtual
bool
load
(
std
::
ifstream
&
stream
)
=
0
;
virtual
bool
save
(
std
::
ofstream
&
stream
)
const
=
0
;
// ELF header functions
...
...
@@ -87,8 +87,6 @@ template< class T > class elf_header_impl : public elf_header
header
.
e_ident
[
EI_MAG3
]
=
ELFMAG3
;
header
.
e_ident
[
EI_CLASS
]
=
elf_header_impl_types
<
T
>::
file_class
;
header
.
e_ident
[
EI_DATA
]
=
encoding
;
header
.
e_ident
[
EI_PAD
]
=
0
;
header
.
e_ident
[
EI_NIDENT
]
=
EI_NIDENT
;
header
.
e_ident
[
EI_VERSION
]
=
EV_CURRENT
;
header
.
e_version
=
EV_CURRENT
;
header
.
e_version
=
(
*
convertor
)(
header
.
e_version
);
...
...
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