Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big modification of the global structure. #12

Merged
merged 1 commit into from
Jan 27, 2015
Merged

Conversation

Pyraun
Copy link
Contributor

@Pyraun Pyraun commented Jan 27, 2015

The goal was too delete some useless dependences to Triton.h
and pin.H.

The other key idea is too lighten Triton.h, it should contain
only the necessary include and definition/declaration useful in
core.cpp.

How do we achieve these goals ?

For pin.H, it's pretty simple most of the types define by pin.H (UINT64,
ADDRINT, ...) are here only for handle Microsoft and Unix platforms.
Right now, we focus only on Unix so we just need to use define in
stdint.h (uint64_h).

For Triton.h, it's trickier but the solution is ,the most often, to
define some headers or tweak the existing one. And then include this
"new" header in Triton.h.

The goal was too delete some useless dependences to Triton.h
and pin.H.

The other key idea is too lighten Triton.h, it should contain
only the necessary include and definition/declaration useful in
core.cpp.

How do we achieve these goals ?

For pin.H, it's pretty simple most of the types define by pin.H (UINT64,
ADDRINT, ...) are here only for handle Microsoft and Unix platforms.
Right now, we focus only on Unix so we just need to use define in
stdint.h (uint64_h).

For Triton.h, it's trickier but the solution is ,the most often, to
define some headers or tweak the existing one. And then include this
"new" header in Triton.h.
JonathanSalwan added a commit that referenced this pull request Jan 27, 2015
Big modification of the global structure.
@JonathanSalwan JonathanSalwan merged commit 5a867c6 into master Jan 27, 2015
@Pyraun Pyraun deleted the new_structure branch January 28, 2015 09:25
@sh4m2hwz sh4m2hwz mentioned this pull request Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants