Choose copy_mem() for ast rendering

This commit is contained in:
Michael Hohn
2025-03-17 19:21:15 -07:00
committed by =Michael Hohn
parent 92d605aa7a
commit a24441458a
4 changed files with 223 additions and 93 deletions

View File

@@ -8,5 +8,5 @@ import semmle.code.cpp.PrintAST
// extend `PrintASTConfiguration` and override `shouldPrintFunction` to hold for only the functions
class PrintConfig extends PrintAstConfiguration {
override predicate shouldPrintFunction(Function func) { func.hasName("write_val_to_mem") }
override predicate shouldPrintFunction(Function func) { func.hasName("copy_mem") }
}