MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / Dump

Method Dump

src/twparser/parserobjects.cpp:119–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117///////////////////////////////////////////////////////////////////////////////
118
119void cParseRule::Dump()
120{
121 cDebug d("\tcParseRule::Dump()");
122
123 d.TraceDebug("name=%s\n", mName.AsString().c_str());
124 d.TraceDebug("defspecmask.prop_vector=%s\n", mDefSpecMask.GetPropVectorString().c_str());
125 d.TraceDebug("defspecmask.condition=%s\n", mDefSpecMask.GetCondition().c_str());
126
127 // specmasks
128 d.TraceDebug(" numspecmasks=%d\n", GetNumSpecMasks());
129 if (mpSpecMaskList)
130 mpSpecMaskList->Dump(d);
131
132 // named attributes
133 d.TraceDebug(" numattrs=%d\n", GetNumNamedAttrs());
134 if (mpAttrList)
135 mpAttrList->Dump(d);
136}
137
138//
139// cParseSpecMask

Callers 1

yyparse.cppFile · 0.80

Calls 5

c_strMethod · 0.80
beginMethod · 0.80
endMethod · 0.80
TraceDebugMethod · 0.60
AsStringMethod · 0.45

Tested by

no test coverage detected