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

Bug about REACHING_DEF #333

Closed
clccc opened this issue Sep 1, 2020 · 7 comments
Closed

Bug about REACHING_DEF #333

clccc opened this issue Sep 1, 2020 · 7 comments

Comments

@clccc
Copy link
Contributor

clccc commented Sep 1, 2020

I test the newest joern v1.0.186. I found that some reaching-def edges did not labeld VARIABLE. A reaching-def edge should have an associate def-variable, is it right?
image

@clccc
Copy link
Contributor Author

clccc commented Sep 1, 2020 via email

@clccc clccc changed the title About REACHING_DEF Bug about REACHING_DEF Sep 2, 2020
@fabsx00
Copy link
Contributor

fabsx00 commented Sep 14, 2020

Some of the labels are missing, I'll add those some time this week. When it comes to additional edges: the PDG is now highly overtainted on purpose, a step which I'll need to explain in an article soon. I think it's a good idea though to provide a nice little PDG extraction API that covers this up. This is coming in this week. That should also solve for #342

@clccc
Copy link
Contributor Author

clccc commented Sep 14, 2020

Great, I am looking forward to your article.

@fabsx00
Copy link
Contributor

fabsx00 commented Sep 21, 2020

@clccc the missing edge labels on data flow edges should be fixed once #346 is merged.

@fabsx00
Copy link
Contributor

fabsx00 commented Sep 22, 2020

@fabsx00
Copy link
Contributor

fabsx00 commented Sep 26, 2020

See ShiftLeftSecurity/codepropertygraph#955 - this is fixed now, but you'll need to use dotDdg instead of reading the raw edges. I also created run.dumpDdg for dumping of the DDG to disk: ShiftLeftSecurity/codepropertygraph#973

@fabsx00 fabsx00 closed this as completed Sep 26, 2020
@clccc
Copy link
Contributor Author

clccc commented Oct 9, 2020

I test the fixed joern,the result showed below.
image
I don't know why some reaching-def edges have a " " as VARIABLE. I find this problem persistent alwarys. Is it on purpose? Sorry, I can't understand its reasonableness.

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

No branches or pull requests

2 participants