JonathanSalwan/ROPgadget

Cannot find MIPSBE gadgets

BigNerd95 opened this issue · 0 comments

I'm trying to find gadgets of a mipsbe elf but it always return:

Gadgets information
============================================================

Unique gadgets found: 0

It is only looking for these patterns: (in gadgets.py)
image

Does it automatically convert mipsbe and mipsle to the same form?

Function __gadgetsFinding doesn't seem to find any pattern in this line:
allRefRet = [m.start() for m in re.finditer(gad[C_OP], section["opcodes"])]