Commit Graph

100 Commits

Author SHA1 Message Date
angie
5e59c935e8 hopefully fix windows ci builds 2022-07-09 16:06:04 -04:00
angie
5b68266148 Build for every supported architecture on ci builds 2022-07-09 15:51:19 -04:00
Angie
ac1dd252a6 Add build-backend to pyproject 2022-07-09 14:48:56 -04:00
Anghelo Carvajal
937c7b79e7
Merge pull request #2 from Decompollaborate/develop
1.0.0
2022-07-07 19:48:31 -04:00
angie
1135a9d8da simplify nop checking 2022-07-07 19:27:41 -04:00
angie
ccb0af3011 whoops, wrong default 2022-07-07 19:20:48 -04:00
angie
b3ffb7a713 Rename isHiPair and isLoPair to canBeHi and canBeLo 2022-07-07 15:48:10 -04:00
angie
dc314098d0 hasDelaySlot 2022-07-07 15:12:26 -04:00
angie
19579a183a Allow pickling Instruction type 2022-07-07 14:22:41 -04:00
Angie
d5b4b096b4 Allow disabling upper case for immediates 2022-07-07 00:44:30 -04:00
Angie
3d70f9d285 Option to omit the 0x on small hex immediates 2022-07-07 00:25:05 -04:00
Angie
64239b7565 Simplify logic of RabbitizerOperandType_processImmediate 2022-07-07 00:16:21 -04:00
Angie
c129447463 getProcessedImmediate 2022-07-06 20:12:37 -04:00
Angie
6fc7be4517 RabbitizerInstruction_disassembleOperands 2022-07-06 19:17:29 -04:00
angie
c4e2922681 python: getOpcodeName 2022-07-06 12:01:41 -04:00
angie
55de30256a doesLoad and doesStore 2022-07-05 13:32:24 -04:00
angie
440546699c Return an actual register enum for Instruction .rs, .rd and rt
Also check if the instuction references that register and raise an exception if it doesn't
2022-07-05 12:08:37 -04:00
angie
c8ecfb600e Expose Gpr registers enums to python 2022-07-05 09:49:12 -04:00
angie
63591003f6 RabbitizerInstruction_hasOperandAlias 2022-07-05 09:18:48 -04:00
Angie
568a0662f2 remove redundant functions 2022-07-05 00:53:28 -04:00
Angie
bed5d928dd RabbitizerInstruction_isValid 2022-07-03 19:28:13 -04:00
Angie
a725e0281a minor cleanups 2022-07-03 11:34:46 -04:00
Angie
0c678ab6df remove specific registers from instruction struct
do bitwise operations to access them instead
2022-07-03 08:34:26 -04:00
Angie
d0b39c6f8c introduce macros for reading the bits from the instruction word 2022-07-02 18:49:05 -04:00
Angie
8ec7d72b79 more small cleanups 2022-07-02 17:28:01 -04:00
angie
1b67fe86dd expose some more descriptor methods to python 2022-07-01 12:57:58 -04:00
angie
8193d65afa minor rewrite to pseudo instructions handling 2022-07-01 12:48:55 -04:00
angie
7eab5eb1df Add architecture version to most cpu instructions
fp instructions are not done yet
2022-07-01 12:07:45 -04:00
angie
274c889241 Some readme work 2022-06-23 00:29:41 -04:00
angie
42a2a33d7d RegistersTracker#hasLoButNoHi 2022-06-13 14:01:48 -04:00
angie
4a75e20c13 fix reading from unitialized parameter 2022-06-13 13:42:13 -04:00
angie
d3c5d9f4d2 Add category parameter to Instruction constructor 2022-06-12 09:59:04 -04:00
angie
a8c073d5d1 DEF_ENUM macro 2022-06-12 09:39:15 -04:00
angie
298e84ef71 Finish RegistersTracker 2022-06-12 09:29:38 -04:00
angie
739ba4cb63 First draft for exposing RegistersTracker to python 2022-06-11 19:43:05 -04:00
angie
37312b12ac should be functional now 2022-06-11 18:35:19 -04:00
angie
b3843f271e starting to port RegistersTracker 2022-06-11 17:49:33 -04:00
angie
6ea5bd0f5e TrackedRegisterState 2022-06-10 19:15:46 -04:00
Ethan Roseman
c81cc49a65
cibuildwheel (ci/cd) (#1)
* cibuildwheel attempt

* fixes

* skip pypy

* re-enable pypy

* try no pypy 3.7

* try again

* try winders

* remove snibblets
2022-06-10 14:50:23 -04:00
angie
fa178243ee Remove some warnings flags because windows bad 2022-06-10 14:30:03 -04:00
angie
eaaf3dff4a pypy is becoming very annyoing 2022-06-10 14:13:56 -04:00
angie
8cc550184f UNREACHABLE macro 2022-06-10 14:01:00 -04:00
angie
b6b588e538 Don't use Py_RETURN_RICHCOMPARE macro 2022-06-10 13:49:23 -04:00
angie
fc5908b3da Remove some deprecated getters 2022-06-10 12:23:06 -04:00
angie
cf86945db5 Expose Utils module 2022-06-10 12:08:06 -04:00
angie
43e8815ad5 Abi enum 2022-06-09 22:58:31 -04:00
angie
30c5151763 "Proper" InstrId enum 2022-06-09 14:30:39 -04:00
angie
cca3a10100 Expose InstrCategory enum to python 2022-06-09 12:06:49 -04:00
angie
e16a7c9e88 enum type 2022-06-09 00:54:47 -04:00
angie
8b37e56e2e Some fixes 2022-06-08 22:44:43 -04:00