-
Notifications
You must be signed in to change notification settings - Fork 2
Fixing the \n problem #3
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
Open
amstramgram0
wants to merge
31
commits into
perror:master
Choose a base branch
from
amstramgram0:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
ae73926
Adding the trace struct in the trace module
mrglm 75405de
Modifying the input format
mrglm 0e01a2e
Tracker now creates a trace struct for each run
mrglm a3f59e0
fixing the \n problem
amstramgram0 6655a85
creation of CFG structures, some functions related and beginning of m…
amstramgram0 0efb428
Change in the trace struct
8bf24f9
Adding functions for the cfg struct
mrglm 74b22f8
segfault
amstramgram0 52dab96
we broke it :(
amstramgram0 b3a9a17
Fixing double free error and (some) memory leaks
mrglm 89a1040
all the memory leaks are fixed !
amstramgram0 ee746c8
handling errors
amstramgram0 4ed6f40
we broke it again :( function localisation is causing a segfault
mrglm 97e1aec
Formatting and adding comments in trace.h
mrglm 6be0cb3
Enforcing coding style
mrglm ee16253
Improving aux_cfg_insert
mrglm 6e3af17
f3 c3 is now a valid ret (see comment for reference)
mrglm 89b50aa
Slight fix to aux_cfg_insert
mrglm bf42172
Change in aux_cfg_insert
mrglm 0d07a91
function calls and rets are now recognized
amstramgram0 a2bf751
some tests added ;)
amstramgram0 8dc81f6
we fixed one little mistake
amstramgram0 018f9d1
Using cgraph to draw CFG
mrglm bc56253
drawing simple (and beautiful) traces ... still some problems with if…
mrglm 0bb6e54
Adding instr_type_t enum for cosmetic reason
mrglm 629cc8d
Some more work on trace.c
mrglm c78ff3f
still not working but better ; too many calls to graph_create_function
amstramgram0 de055f9
we did it ! we can draw graphs ! no more segfault !
amstramgram0 5f28699
Now drawing basic blocks (please don't judge)
mrglm 79ccdf0
opcodes to determine type of instruction are finally correct
amstramgram0 3f54caa
adding some comments
amstramgram0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,7 @@ all: | |
| @cp -f src/tracker ./ | ||
|
|
||
| check: all | ||
| @cp tracker test/ | ||
| @cd test/ && $(MAKE) | ||
|
|
||
| format: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be mentioned that it returns
NULLif both traces are equals.