github / github/codeql

cannot search MethodAceess inside source code

Ouverte
#4,902 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
question
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
141

Description

**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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.