Added option to omit excpetion edges in CFG#1
Open
ksons wants to merge 1 commit intoSwatinem:masterfrom
Open
Conversation
Owner
|
Thanks a lot for taking an interest in this project! :-) It would be nice to have some tests for this feature. Lets make the testing framework recognize an additional comment with a JSON Also, I wanted to avoid pulling in escodegen as dependency. dot should take the original source as label if you have range tracking enabled. Isn’t that working for you? |
Author
|
Hi, actually I didn't want to pull that commit, it was done automatically (do I have to close the pull request to avoid that further commits end up in the pull request? I see the point having another dependency. |
Owner
|
If you want you can open another one with added tests :-) |
Includes test that fails before changes.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pass { omitExceptions: true } as second argument to esgraph ControlFlowGraph
It's usefull if excpetions should not be considered, either by the analysis or just for display purposes.