-
Notifications
You must be signed in to change notification settings - Fork 135
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
Incorrect building sdg #424
Comments
Hi, the SDG class is a replacement for DG class, but is not finished (nor used by any component of DG) yet. Is this problem present if you use |
I still have some questions. #include <stdlib.h>
void *mymalloc() {
void *ret = malloc(5);
return ret;
}
int main() {
void *a;
a = mymalloc();
free(a);
} command
Should there has a data dependence edge from |
|
Thanks for reply! #include <stdlib.h>
void *mymalloc() {
void *ret = malloc(5);
return ret;
}
int main() {
void *a;
a = mymalloc();
free(a);
} For the same code. the first is builded acording to |
Probably? I do not know.
Correct in what sense? W.r.t the reachability analysis and backward slicing algorithms? Then yes, it is correct but not needed. These nodes have no influence on backward slicing and can be prune away. Again, they are present only to ease the building of DG.
Because the output nodes represent the memory written inside the call. |
There is a transitive dependency, otherwise the slice would not contain |
I mean the dependency edges in the graph dumped by the llvm-slicer. Or, the llvm-slicer does not dump some dependency edges using the default options ? |
Looking at the graph, it seems that there is missing the edge from |
It is in the graph, but it is not displayed for some reason. |
envirment
command
code 1
code 2
The text was updated successfully, but these errors were encountered: