angr/pypcode

skipping over data?

Closed this issue · 1 comments

Would it be possible to skip over data that is mixed with code (ARM) instead of returning?

Looking at incrementing the offset by the default instruction alignment here instead of the break:

} catch (BadDataError &e) {
res->updateWithException(e, addr);
break;
}
}

pypcode is intended not to make such an analysis, and heuristics like advancing by instruction alignment etc are not exactly reliable. I recommend dealing with this at a higher level, e.g. lifting blocks at a time