github / codeql

CodeQL: the libraries and queries that power security researchers around the world, as well as code scanning in GitHub Advanced Security
https://codeql.github.com
MIT License
7.7k stars 1.54k forks source link

cannot search MethodAceess inside source code #4902

Open madneal opened 3 years ago

madneal commented 3 years ago

Description of the issue

There is an inner project which is impossible to share the source code. I have created the database of the project by:

codeql database create -l java d:\databasefolder

The project is built by JDK8. All modules are built successfully. Utilize the following query to search the method parseURL:

import java

from MethodAccess ma, Method m 
where ma.getMethod() = m and
m.getName() = "parseURL"
select ma

The results are only in HttpUtilsTest.java. However, there should exists the call in HttpUtils.java. I have tried to recreated the database. But it still doesn't work.

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 14 days with no activity. Comment or remove the stale label in order to avoid having this issue closed in 7 days.