mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Dump: don't call dumpNfaNotes for SOM reverse NFAs
These NFAs have no queue index.
This commit is contained in:
parent
961e303ff3
commit
42d34f19d1
@ -679,7 +679,7 @@ void dumpRevComponentInfo(const RoseEngine *t, const string &base) {
|
||||
ss << base << "som_rev_components.txt";
|
||||
ofstream fout(ss.str().c_str());
|
||||
|
||||
fout << "Index Offset\tEngine \tStates S.State Bytes Notes\n";
|
||||
fout << "Index Offset\tEngine \tStates S.State Bytes\n";
|
||||
|
||||
const char *tp = (const char *)t;
|
||||
const u32 *rev_offsets = (const u32 *)(tp + t->somRevOffsetOffset);
|
||||
@ -696,17 +696,13 @@ void dumpRevComponentInfo(const RoseEngine *t, const string &base) {
|
||||
|
||||
fout << left << setw(6) << n->nPositions << " ";
|
||||
fout << left << setw(7) << n->streamStateSize << " ";
|
||||
fout << left << setw(7) << n->length << " ";
|
||||
|
||||
dumpNfaNotes(fout, t, n);
|
||||
|
||||
fout << left << setw(7) << n->length;
|
||||
fout << endl;
|
||||
}
|
||||
}
|
||||
|
||||
static
|
||||
void dumpRevNfas(const RoseEngine *t, bool dump_raw, const string &base) {
|
||||
|
||||
const char *tp = (const char *)t;
|
||||
const u32 *rev_offsets = (const u32 *)(tp + t->somRevOffsetOffset);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user