import cpp import semmle.code.cpp.security.Security import semmle.code.cpp.security.FlowSources class MyFS extends LocalFlowSource { MyFS () { exists(ReturnStmt rs | rs.getEnclosingFunction().getName() = "get_user_info" and this.asExpr() = rs.getExpr() ) } override string getSourceType() { result = "foo" } }