Anghelo Carvajal
f8979ede3e
Fix RSP instruction decoding ( #4 )
...
* Use the proper registers on RSP GPR instructions
* Add IMM_base operand to RSP instructions
* Use `ra` on RSP GPR registers
* Fix RABBITIZER_OPERAND_TYPE_RSP_rd
* ??
* fix vector register element index
* fix RSP mfc2 and mtc2
* fix vmov and similar instructions
* format
* update readme
* version pump
2022-08-22 16:27:51 -04:00
Angie
74d01f2b90
Merge remote-tracking branch 'origin/master' into develop
2022-08-18 16:18:56 -04:00
angie
e95a1f1f1d
starting docs
2022-07-13 11:15:07 -04:00
angie
557345f95c
version bump
2022-07-13 11:14:52 -04:00
Anghelo Carvajal
ebb4b84fbe
Merge pull request #3 from Decompollaborate/develop
...
1.0.1
2022-07-12 19:25:18 -04:00
Angie
9300da772e
Allow taking None
in Abi.fromStr
2022-07-12 19:01:36 -04:00
Angie
a5ef766311
Utils.escapeString
2022-07-10 16:04:39 -04:00
angie
a539a8a39d
Annotate functions with attributes
2022-07-09 19:19:53 -04:00
angie
a870363644
ci builds again...
2022-07-09 18:15:17 -04:00
angie
ef1ce2634c
add more checks to clang tidy
2022-07-09 18:12:21 -04:00
angie
ef49315db0
tidy target on makefile
2022-07-09 17:55:57 -04:00
angie
baaef2f242
Format files with clang-format and add a format rule to makefile
2022-07-09 17:40:53 -04:00
angie
63eb1cb152
Don't use "all" for linux ci builds
2022-07-09 17:17:54 -04:00
angie
f17c0ee5dc
setup header dependencies on makefile
2022-07-09 17:13:37 -04:00
angie
ecc8de8df2
Add a makefile for testing and fix one warning
2022-07-09 16:54:42 -04:00
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