diff --git a/src/nfagraph/ng_fuzzy.cpp b/src/nfagraph/ng_fuzzy.cpp index 61a3ee12..95bfbdcc 100644 --- a/src/nfagraph/ng_fuzzy.cpp +++ b/src/nfagraph/ng_fuzzy.cpp @@ -76,7 +76,7 @@ vector> gatherSuccessorsByDepth(const NGHolder &g, if (v == succr) { continue; } - DEBUG_PRINTF("Node %zu depth %u\n", g[succ].index, d + 1); + DEBUG_PRINTF("Node %zu depth %u\n", g[succr].index, d + 1); next.insert(succr); } } @@ -118,7 +118,7 @@ vector> gatherPredecessorsByDepth(const NGHolder &g, if (v == predc) { continue; } - DEBUG_PRINTF("Node %zu depth %u\n", g[pred].index, d + 1); + DEBUG_PRINTF("Node %zu depth %u\n", g[predc].index, d + 1); next.insert(predc); } } diff --git a/src/rose/rose_build_long_lit.cpp b/src/rose/rose_build_long_lit.cpp index 2329a7c2..a88063f9 100644 --- a/src/rose/rose_build_long_lit.cpp +++ b/src/rose/rose_build_long_lit.cpp @@ -207,8 +207,7 @@ vector buildHashTable( u32 lit_id = lit_offset.first; u32 offset = lit_offset.second; - DEBUG_PRINTF("hash 0x%08x lit_id %u offset %u bucket %u\n", hash, - lit_id, offset, bucket); + DEBUG_PRINTF("hash 0x%08x lit_id %u offset %u bucket %u\n", m.first, lit_id, offset, bucket); auto &entry = tab[bucket]; entry.str_offset = verify_u32(litToOffsetVal.at(lit_id));