github / github/codeql

cannot search MethodAceess inside source code

Aperta
#4,902 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.