MCPcopy Create free account
hub / github.com/KasperskyLab/hrtng / match

Function match

src/deinline.cpp:460–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458 return res;
459 }
460 bool match(const sBB* bb, minsn_t** first = nullptr, minsn_t** last = nullptr) const
461 {
462 switch(kind) {
463 case eBBK_whole: return match_freq(bb);
464 case eBBK_head: return match_head(bb, first);
465 case eBBK_tail: return match_tail(bb, last);
466 case eBBK_single: return match_single(bb, first, last);
467 }
468 return false;
469 }
470 char getKind() const
471 {
472 switch (kind) {

Callers

nothing calls this directly

Calls 4

match_freqFunction · 0.85
match_headFunction · 0.85
match_tailFunction · 0.85
match_singleFunction · 0.85

Tested by

no test coverage detected