Same issue as #14
In the radare2 source tree, from folder radare2/libr/core, coccigrep will only output results if I set -p 2 or higher. It seems to only work reliably with -p 3 or higher.
This outputs nothing:
coccigrep -t 'RDisasmState' -a 'show_reloff' *c
While this works:
coccigrep -t 'RDisasmState' -a 'show_reloff' *c -p 3
output:
disasm.c:654 (RDisasmState *ds): ds->show_reloff = r_config_get_i (core->config, "asm.reloff");
disasm.c:2289 (RDisasmState *ds): if (ds->show_reloff) {
Likewise this this doesn't work:
coccigrep -t 'RDisasmState' -a 'show_reloff' *c -p 1
Same issue as #14
In the radare2 source tree, from folder radare2/libr/core, coccigrep will only output results if I set
-p 2or higher. It seems to only work reliably with-p 3or higher.This outputs nothing:
While this works:
output:
Likewise this this doesn't work: