mirror of
https://github.com/hohn/codeql-workshop-dataflow-c.git
synced 2025-12-16 10:33:04 +01:00
12 lines
226 B
Plaintext
12 lines
226 B
Plaintext
/**
|
|
* @id cpp/print-ast
|
|
* @kind graph
|
|
*/
|
|
|
|
import cpp
|
|
import semmle.code.cpp.PrintAST
|
|
|
|
class PrintConfig extends PrintAstConfiguration {
|
|
override predicate shouldPrintFunction(Function func) { func.hasName("copy_mem") }
|
|
}
|