github / github/codeql

cannot search MethodAceess inside source code

Aberta
#4,902 1 comentário 0 reações 0 responsáveis Ver no GitHub
question
Linguagem predominante
CodeQL
Estrelas
10.1k
Forks
2.1k
Merge médio
2d 15h
PRs com merge (30d)
141

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.