Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IRDB SDK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Open Source Software
IRDB SDK
Commits
cd29ed89
Commit
cd29ed89
authored
6 years ago
by
Jason Hiser
Browse files
Options
Downloads
Patches
Plain Diff
refactoring libirdb-elfdep. redoing library naming scheme
parent
3bb506ce
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/inc-elfdep/elfdep.hpp
+35
-0
35 additions, 0 deletions
include/inc-elfdep/elfdep.hpp
include/inc-transform/transform.hpp
+1
-1
1 addition, 1 deletion
include/inc-transform/transform.hpp
include/irdb-elfdep
+7
-0
7 additions, 0 deletions
include/irdb-elfdep
with
43 additions
and
1 deletion
include/inc-elfdep/elfdep.hpp
0 → 100644
+
35
−
0
View file @
cd29ed89
#include
<irdb-core>
#include
<irdb-transform>
#include
<string>
#include
<memory>
namespace
IRDB_SDK
{
using
namespace
std
;
class
ElfDependencies_t
{
protected:
ElfDependencies_t
()
{
}
ElfDependencies_t
(
const
ElfDependencies_t
&
copy
)
=
delete
;
public
:
virtual
~
ElfDependencies_t
()
{
}
virtual
void
prependLibraryDepedencies
(
const
string
&
libName
)
=
0
;
virtual
void
appendLibraryDepedencies
(
const
string
&
libName
)
=
0
;
// return scoop and offset
virtual
pair
<
IRDB_SDK
::
DataScoop_t
*
,
int
>
appendGotEntry
(
const
string
&
symbolName
)
=
0
;
// return instruction that's the plt entry.
virtual
Instruction_t
*
appendPltEntry
(
const
string
&
symbolName
)
=
0
;
static
unique_ptr
<
ElfDependencies_t
>
factory
(
IRDB_SDK
::
FileIR_t
*
firp
);
};
}
This diff is collapsed.
Click to expand it.
include/inc-transform/transform.hpp
+
1
−
1
View file @
cd29ed89
...
...
@@ -32,7 +32,7 @@ namespace IRDB_SDK
void
setInstructionAssembly
(
Instruction_t
*
instr
,
const
string
&
p_asm
);
virtual
FileIR_t
*
getFileIR
();
FileIR_t
*
getFileIR
();
private
:
...
...
This diff is collapsed.
Click to expand it.
include/irdb-elfdep
0 → 100644
+
7
−
0
View file @
cd29ed89
#ifndef IRDB_SDK_elfdep
#define IRDB_SDK_elfdep
#include <inc-elfdep/elfdep.hpp>
#endif
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