BinaryAnalysisPlatform / bap

Binary Analysis Platform
MIT License
2.07k stars 273 forks source link

rewrites mips targets and abi #1523

Closed ivg closed 2 years ago

ivg commented 2 years ago

This PR follows the arm targets restructure and as well changes the family name from mips to mips-family. The mips target now corresponds to the catch-all big-endian 32-bit mips target, and mips64 to the corresponding MIPS64. We also adopt the conventional naming scheme, so you can specify targets like mips, or mips-linux-gnu, or mips64le-linux-gnu.

Another big change is that we moved from the abi-specific names to the general Rx names. The ABI-specific names are now specified as aliases. We also fix the floating-point registers (that were improperly named).

Finally, the calling conventions are rewritten and are now capable of handling arbitrary data.