Generating a Complete Control Flow Graph #16606
sei-yhindka
started this conversation in
General
Replies: 1 comment 1 reply
-
I see the flow ends at imgcodecs.hpp:271 but you expected it to go to loadsave.cpp:630 and continue from there. That is a very good question. It might be worth checking whether the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear CodeQL Team,
Hope you are well. We are having a great time experimenting with your tool, but we had a question regarding control flow graphs.
We are trying to generate a complete control flow graph which starts at a function of our choosing in the OpenCV codebase. Here is the query we are using:
At https://github.com/opencv/opencv/blob/4.x/samples/cpp/barcode.cpp#L144, there is a function call to imread(), which then calls imread_(). You can see PNG and DOT files of the generated control flow graph here:
control_flow_graph.txt
control_flow_graph.png
In the PNG, you will see that the imread() declaration at https://github.com/opencv/opencv/blob/4.x/modules/imgcodecs/include/opencv2/imgcodecs.hpp#L271 is visible, but the control flow stops after that; there is no flow to the imread_() function. Is there something wrong with our query? Or do you think there is something wrong with the database? We would love your thoughts. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions