mirror of
https://github.com/open-goal/jak-project
synced 2026-08-27 16:37:36 -04:00
bfc4c18ada
- Adds `capstone` as a disassembling library that could eventually replace Zydis (for now left that alone) - Replicates all of the existing x86 tests to ARM64, fixed a bunch of underlying issues along the way - There are a very small handful of tests remaining that need to be enabled / fixed
14 lines
302 B
C
Vendored
Generated
14 lines
302 B
C
Vendored
Generated
/* Capstone Disassembly Engine */
|
|
/* By Rot127 <unisono@quyllur.org>, 2025 */
|
|
|
|
#include "SparcDisassemblerExtension.h"
|
|
#include "SparcMCTargetDesc.h"
|
|
|
|
bool Sparc_getFeatureBits(unsigned int mode, unsigned int feature)
|
|
{
|
|
if (feature == Sparc_FeatureV9) {
|
|
return mode & CS_MODE_V9;
|
|
}
|
|
return true;
|
|
}
|