Commit Graph

322 Commits

Author SHA1 Message Date
Angie
6fad5e740a InstrCategory.fromStr 2022-10-14 18:49:59 -03:00
angie
5d0f9ad8f6 reads/modifies HI/LO 2022-10-14 14:58:14 -03:00
angie
71d241150f getDestinationGpr 2022-10-14 13:55:20 -03:00
angie
7cec779b85 AccessType enum 2022-10-13 19:41:46 -03:00
angie
7dc241a036 format 2022-10-13 18:37:27 -03:00
angie
5b04520269 cleanup 2022-10-13 18:32:24 -03:00
angie
c1a6abe186 Deprecate getGenericBranchOffset, add getBranchOffsetGeneric and getBranchVramGeneric 2022-10-13 17:41:50 -03:00
angie
34f2e2e6a5 Remove getImmediate and getInstrIndex 2022-10-13 16:45:01 -03:00
angie
91f30645e8 Remove RabbitizerArchitectureVersion and deprecate RabbitizerInstrType 2022-10-13 16:12:07 -03:00
angie
61e2581428 Expose hasOperand and hasOperandAlias to python 2022-10-13 16:03:06 -03:00
angie
1e4dd7ea48 Expose OperandType to Python 2022-10-13 15:27:11 -03:00
angie
faaf017aef isJumpWithAddress 2022-10-13 14:32:36 -03:00
angie
b5f4df9c1a Add explanations to most stuff on InstrDescriptor 2022-10-13 14:24:34 -03:00
angie
ba09c10925 format tables 2022-10-13 13:32:22 -03:00
angie
cb8af37b43 move tests to tests folder 2022-10-12 11:26:28 -03:00
Angie
72bf240f46 format 2022-10-10 20:24:41 -03:00
Angie
516b92f254 Fix building with g++ 2022-10-10 20:23:18 -03:00
Angie
286e76aa30 Fix buffer size calculation 2022-10-09 21:59:33 -03:00
Angie
70c8632f4c Actually compute the size of each operand 2022-10-09 21:43:37 -03:00
Angie
ef58c6053e whoops 2022-10-09 18:35:31 -03:00
Angie
4ebd49711b add missing operand to trap instructions 2022-10-09 18:29:31 -03:00
Anghelo Carvajal
acee144578
C++ bindings (#9)
* start making c++ bindings

* Add sanity checks

* add descriptor methods

* setup making c++ library

* cpp test

* format (not tidy because it breaks everything and the result looks dumb)

* Fixes

* add missing alias

* move stuff to their own files

* InstructionRsp bindings

* r5900 bindings

* almost there

* binding for analysis stuff

* setters
2022-10-09 17:51:47 -03:00
Angie
874863ab77 add userdefined instructionId placeholders 2022-10-09 17:48:46 -03:00
Anghelo Carvajal
28a24464bb
Merge pull request #10 from Decompollaborate/develop
1.2.2: `bal` and proper `\\` escape
2022-10-09 17:04:16 -03:00
Angie
4effc73851 add missing bal metadata 2022-10-09 16:11:04 -03:00
Angie
d23366827c version bump 2022-10-09 16:04:33 -03:00
Angie
026c78df76 Escape \ -> \\ 2022-10-09 16:03:39 -03:00
angie
9bf973e82d Add extern "C" in all the headers 2022-10-04 08:31:02 -03:00
Angie
15b254bf03 Add bal support 2022-09-27 22:52:57 -03:00
Angie
69fe5ff69a Use . + 4 + (X << 2) notation for branches when no immOverride was given 2022-09-27 22:06:28 -03:00
Anghelo Carvajal
70426d5ee9
Merge pull request #8 from Decompollaborate/develop
1.2.1: Static library building in the Makefile
2022-09-26 11:31:59 -03:00
angie
079c2b6b10 Add version header 2022-09-26 11:15:28 -03:00
angie
421e740014 Add building static lib to makefile and a header which includes every other header 2022-09-26 11:00:45 -03:00
Anghelo Carvajal
4653029daf
Merge pull request #7 from Decompollaborate/develop
1.2.0: `%got` compatibility
2022-09-17 17:43:35 -03:00
Angie
45cb94d3cc format 2022-09-17 17:27:27 -03:00
Angie
2c77b650a1 undo typo 2022-09-17 17:23:10 -03:00
Angie
a4752d28e4 version bump 2022-09-17 17:15:41 -03:00
angie
b9037c70e3 Avoid not fitting value on LoPairingInfo 2022-09-16 14:51:05 -03:00
angie
bae12a18e8 Fix From2Complement for bits=32 2022-09-14 16:58:58 -03:00
angie
7cd1f136a0 Prioritize moving when one register has value and the other doesn't 2022-09-14 15:45:48 -03:00
angie
917a24808f Fix RabbitizerRegistersTracker_moveRegisters not considering gpGot 2022-09-14 15:12:00 -03:00
angie
8a61b1d658 Expose TrackedRegisterState as a debugging measure 2022-09-14 14:31:13 -03:00
angie
edc172323d RegistersTracker.processGpLoad 2022-09-13 17:04:06 -03:00
angie
04b31eff1a RegistersTracker.preprocessLoAndGetInfo 2022-09-13 14:05:42 -03:00
angie
ac37df1398 name make ci 2022-09-09 23:41:47 -04:00
angie
baf3ce83ee Fix missing braces warning 2022-09-09 23:19:45 -04:00
angie
ea935b8358 refactor operand names 2022-09-09 23:13:23 -04:00
Angie
8009c4da15 Add workflow to check building with makefile 2022-08-27 13:03:54 -04:00
Angie
dcad3e2246 version bump 2022-08-27 13:03:25 -04:00
Anghelo Carvajal
7d6635273b
Merge pull request #6 from Decompollaborate/develop
1.1.0: RSP and R5900 support
2022-08-27 12:46:15 -04:00