mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
16 lines
303 B
Plaintext
16 lines
303 B
Plaintext
/**
|
|
* @name Access of field
|
|
* @description Finds reads of `aDate` (defined on class `Order`)
|
|
* @tags access
|
|
* field
|
|
* read
|
|
*/
|
|
|
|
import cpp
|
|
|
|
from Field f, FieldAccess access
|
|
where f.hasName("aDate")
|
|
and f.getDeclaringType().hasName("Order")
|
|
and f = access.getTarget()
|
|
select access
|