Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tanzeem Haque
gdsl-toolkit
Commits
1f051d86
Unverified
Commit
1f051d86
authored
Jul 30, 2015
by
Julian Kranz
Browse files
cppgdsl
parent
45b65ed7
Changes
7
Hide whitespace changes
Inline
Side-by-side
libs/cppgdsl/include/cppgdsl/rreil/id/arch_id.h
View file @
1f051d86
...
...
@@ -24,7 +24,7 @@ public:
return
name
;
}
bool
operator
==
(
id
&
other
);
bool
operator
==
(
id
&
other
)
const
;
void
accept
(
id_visitor
&
v
);
};
...
...
libs/cppgdsl/include/cppgdsl/rreil/id/id.h
View file @
1f051d86
...
...
@@ -25,7 +25,7 @@ public:
std
::
string
to_string
();
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
id
&
_this
);
virtual
bool
operator
==
(
id
&
other
)
=
0
;
virtual
bool
operator
==
(
id
&
other
)
const
=
0
;
virtual
void
accept
(
id_visitor
&
v
)
=
0
;
};
...
...
libs/cppgdsl/include/cppgdsl/rreil/id/shared_id.h
View file @
1f051d86
...
...
@@ -31,7 +31,7 @@ public:
return
inner
;
}
bool
operator
==
(
id
&
other
);
bool
operator
==
(
id
&
other
)
const
;
std
::
string
to_string
();
void
accept
(
id_visitor
&
v
);
...
...
libs/cppgdsl/include/cppgdsl/rreil/id/virtual.h
View file @
1f051d86
...
...
@@ -22,7 +22,7 @@ public:
int_t
get_t
();
bool
operator
==
(
id
&
other
);
bool
operator
==
(
id
&
other
)
const
;
void
accept
(
id_visitor
&
v
);
};
...
...
libs/cppgdsl/src/rreil/id/arch_id.cpp
View file @
1f051d86
...
...
@@ -20,7 +20,7 @@ arch_id::arch_id(string name) {
this
->
name
=
name
;
}
bool
gdsl
::
rreil
::
arch_id
::
operator
==
(
id
&
other
)
{
bool
gdsl
::
rreil
::
arch_id
::
operator
==
(
id
&
other
)
const
{
bool
equals
=
false
;
id_visitor
iv
;
iv
.
_
((
std
::
function
<
void
(
arch_id
*
)
>
)[
&
](
arch_id
*
aid
)
{
...
...
libs/cppgdsl/src/rreil/id/shared_id.cpp
View file @
1f051d86
...
...
@@ -25,7 +25,7 @@ gdsl::rreil::shared_id::shared_id(shared_id_type _id) {
this
->
inner
=
_id
;
}
bool
gdsl
::
rreil
::
shared_id
::
operator
==
(
id
&
other
)
{
bool
gdsl
::
rreil
::
shared_id
::
operator
==
(
id
&
other
)
const
{
bool
equals
=
false
;
id_visitor
iv
;
iv
.
_
((
std
::
function
<
void
(
shared_id
*
)
>
)[
&
](
shared_id
*
aid
)
{
...
...
libs/cppgdsl/src/rreil/id/virtual.cpp
View file @
1f051d86
...
...
@@ -22,7 +22,7 @@ int_t _virtual::get_t() {
return
this
->
t
;
}
bool
gdsl
::
rreil
::
_virtual
::
operator
==
(
id
&
other
)
{
bool
gdsl
::
rreil
::
_virtual
::
operator
==
(
id
&
other
)
const
{
bool
equals
=
false
;
id_visitor
iv
;
iv
.
_
((
std
::
function
<
void
(
_virtual
*
)
>
)[
&
](
_virtual
*
aid
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment