github / github/codeql

CPP: Missing code in database

Open
#10,466 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

When I compile some projects, I use `configure` and `make `to create a database.
But some code in `#if `or `#ifdef`. Maybe there are conditions that need to be met for this to be compiled? So when I query for a functioncall that in source code, the result maybe none.
Is there some log info can let me know which part in a file is compiled?
For example, the file in the attachment, when I search for ASN1_STRING_to_UTF8, the result is none.
[ssl_verify_openssl.zip](https://github.com/github/codeql/files/9591714/ssl_verify_openssl.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.