Commit Graph

24 Commits

Author SHA1 Message Date
angie
716d21f8ea fix "emitted" typo 2022-12-26 20:24:41 -03:00
angie
5063702a07 modifiesF* and readsF 2022-12-20 00:42:27 -03:00
angie
cf9bbc90e2 fix test 2022-12-19 20:45:26 -03:00
angie
a166772657 Fix a Rust binding not taking & 2022-12-19 20:42:38 -03:00
angie
2e74fc914f outputsToGprZero 2022-12-19 19:04:26 -03:00
angie
21000319cd Rust bindings for RegisterDescriptor 2022-12-19 18:08:07 -03:00
angie
6758468699 RegisterDescriptor 2022-12-19 17:07:32 -03:00
angie
ef2acdb328 Remove jalr_rd hack 2022-12-19 15:04:59 -03:00
Angie
e6a6a691a6 typo fixes 2022-12-18 23:06:03 -03:00
Angie
f1ea6cb627 Remove cty dependency 2022-12-18 22:22:54 -03:00
Angie
61d30e5aa1 Change treatJAsUnconditionalBranch to true by default 2022-12-18 21:09:14 -03:00
Angie
27bbbb6bf7 is_reserved method for registers 2022-12-18 20:54:29 -03:00
Angie
818c41c1d8 remove prefix from register enums in rust bindings 2022-12-18 20:49:14 -03:00
Angie
3538f51086 yeet extra InstructionBase indirection 2022-12-18 20:29:22 -03:00
Angie
922b14b2da pub use stuff 2022-12-18 20:16:04 -03:00
Angie
3ab315c5ab version bump 2022-12-18 19:58:43 -03:00
Angie
6102f2cf7d Fix C files not being packaged on Rust crates 2022-12-18 19:43:40 -03:00
angie
bddd12847e Build C library in build.rs 2022-12-18 17:12:59 -03:00
angie
c9170b0209 version bump 2022-12-18 16:30:12 -03:00
angie
1e02871bce Another try at fixing crate publishing 2022-12-18 16:22:06 -03:00
angie
b87cf594fe Hopefully fix rust crate publishing 2022-12-18 16:00:24 -03:00
angie
b75637ec33 version bump 2022-12-18 15:33:02 -03:00
angie
6b730599eb a few extra missing methods 2022-12-18 15:30:30 -03:00
Anghelo Carvajal
fb8c1edbd7
Rust bindings (#17)
* Generate bindings for enums

* Add .gitignore Cargo didn't automatically made

* Actually build the files into the library

* `pub` in `mod` to fix warning

* instruction struct

* Instruction rust binding

* Add InstrId::ALL_MAX

* link C library to rust

* Publish crate CI

* test

* config bindings

* add getters for registers

* add names methods for register enums

* get_operand_type

* feedback from simon

* Forgot to add new file to python setup.py

* get_operands_slice

* add stuff to cargo.toml
2022-12-18 15:15:39 -03:00