Skip to content

C/C++: Gotostmt also matches __leave keyword #19666

Open
@Akshay865

Description

@Akshay865

I am writing a codeqlquery to flag goto statements.

Query:

from Gotostmt gt
select gt, “ use of goto statement”

Now this query is returning results

goto keywords as well as __leave keyword

Which it should not.

Can someone guide how to handle this false positive.

Metadata

Metadata

Assignees

Labels

C++bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions