MCPcopy Create free account
hub / github.com/avast/retdec / PatternExtractor

Method PatternExtractor

src/patterngen/pattern_extractor/pattern_extractor.cpp:525–532  ·  view source on GitHub ↗

* Constructor. * * @param filePath path to file to process * @param groupName optional prefix for rule names (default: 'unknown_group') */

Source from the content-addressed store, hash-verified

523 * @param groupName optional prefix for rule names (default: 'unknown_group')
524 */
525PatternExtractor::PatternExtractor(
526 const std::string &filePath,
527 const std::string &groupName)
528 : inputFile(createFileFormat(filePath, false, loadFlags)),
529 groupName(groupName)
530{
531 stateValid = processFile();
532}
533
534PatternExtractor::~PatternExtractor() = default;
535

Callers

nothing calls this directly

Calls 1

createFileFormatFunction · 0.85

Tested by

no test coverage detected