Commit Graph

2063 Commits

Author SHA1 Message Date
wtfsck bf77872c8b Optimize bincode serialized data so it matches real instr struct size 2021-07-19 18:29:46 +02:00
wtfsck 3b495e2a5a Merge serde tests 2021-07-19 18:26:46 +02:00
wtfsck 78d67e3a38 Update de err msg 2021-07-19 18:26:30 +02:00
wtfsck 8aa3fb4dda Since we gen the ser/de code, we don't need this old workaround anymore 2021-07-18 15:03:14 +02:00
wtfsck 000947c762 Update serde gen 2021-07-18 12:28:10 +02:00
wtfsck 46c2ec9677 Enable serde feature 2021-07-18 12:27:57 +02:00
wtfsck 6e2b9d11c7 Add ser/de tests to test diff code paths 2021-07-18 12:27:43 +02:00
wtfsck dab4607abf Use an array instead of a slice 2021-07-18 12:27:33 +02:00
wtfsck 4e1e68e876 Add more pickle tests 2021-07-18 12:27:23 +02:00
wtfsck a65318fed2 Update __getstate__ docs (return type) 2021-07-18 12:27:12 +02:00
wtfsck 05695a1416 Manually impl Serialize/Deserialize (Instruction) 2021-07-17 20:20:35 +02:00
wtfsck b09e203fa5 Generate more efficient fieldless enum serialize/deserialize code 2021-07-17 20:20:22 +02:00
wtfsck 95fd8ca916 Update test 2021-07-17 20:20:10 +02:00
wtfsck 469b5e8f7a Update vmovw formatter output 2021-07-17 20:20:00 +02:00
Paul Fariello eba291d9fa
Add support for Instruction pickling in iced_x86-py (#180)
* Add support for instruction pickling in iced_x86-py

* Fix __module__ in iced_x86-py

* Add support for python argument in PyClassParser

* fixup! Fix __module__ in iced_x86-py

* Don't ignore __getstate__ documentation

* Use internal feature for enabling serde in iced_x86

* Add __getstate__ and __setstate__ documentation

* Add serialize/deserialize derive for all generated enums

* Only derive Serialize, Deserialize when __internal_serde is enabled

* Revert "Add support for python argument in PyClassParser"

This reverts commit 895fb7212921cf7e31fba335c08b165470c1d673.

* Fix python argument definition in __{g,s}etstate__

* Remove blank line between use statements

* Rustfmt

* Don't deprecate enum variants if building with serde

* Allow to convert any displayable value into PyValueError

* Remove unused import

* Add test for instruction pickling

Co-authored-by: Paul Fariello <paul.fariello@synacktiv.com>
2021-07-17 14:38:04 +02:00
wtfsck 5a3dba7c12 Update rust deprec writer to not deprecate the enum if some feature is passed in 2021-07-15 21:56:37 +02:00
wtfsck acbf7eb974 Update 2 py tests 2021-07-15 20:57:17 +02:00
wtfsck df8ce2821c Add an option to not add useless prefixes 2021-07-11 22:16:12 +02:00
wtfsck d1a0bc083d Don't show the size if not used 2021-07-11 22:16:01 +02:00
wtfsck 367e1cb05a Update nasm formatter, 3 instrs didn't get rounding control eg. {rn-sae} 2021-07-11 22:15:50 +02:00
wtfsck 08f663ae96 Bump version 2021-07-08 15:12:18 +02:00
wtfsck 70be9d4c70 Fix wasm-pack error about not being installed 2021-07-08 15:12:09 +02:00
wtfsck 4b87bbcfa5 py: Add a MemoryOperand.ctor_u64() ctor, closes #179 2021-07-08 14:37:54 +02:00
wtfsck bd7abf27e4 Fix clippy warning 2021-07-08 01:51:28 +02:00
wtfsck 23f4b43265 Add undoc rdudbg/wrudbg 0F0E and 0F0F instructions 2021-07-08 01:40:15 +02:00
wtfsck 7dca7e17ff Use some locals 2021-07-07 21:22:06 +02:00
wtfsck 6a21fc867a Read handler a little earlier 2021-07-07 21:21:54 +02:00
wtfsck 8939113cfb Move rarely used data field 2021-07-07 21:21:44 +02:00
wtfsck cb4c51d397 Remove empty line 2021-07-06 23:22:05 +02:00
wtfsck bf2f6dbd41 Add Intel AVX512-FP16 instructions 2021-07-06 23:01:09 +02:00
wtfsck 497bc24829 Use pyo3 0.14.1 2021-07-05 19:09:48 +02:00
wtfsck 6e57fe078f Update PCONFIG 2021-07-03 19:57:32 +02:00
wtfsck c02af70216
Merge pull request #175 from icedland/dependabot/github_actions/actions/setup-node-2.2.0
Bump actions/setup-node from 2.1.5 to 2.2.0
2021-07-02 19:46:58 +02:00
wtfsck 56ba06f20a
Merge pull request #174 from icedland/dependabot/github_actions/actions/setup-dotnet-1.8.1
Bump actions/setup-dotnet from 1.8.0 to 1.8.1
2021-07-02 19:46:47 +02:00
dependabot[bot] 8118169f75
Bump actions/setup-node from 2.1.5 to 2.2.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 2.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v2.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 08:07:34 +00:00
dependabot[bot] 577f2a27b2
Bump actions/setup-dotnet from 1.8.0 to 1.8.1
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-29 08:06:10 +00:00
wtfsck 65d1f49584 Update build-wheels.sh 2021-06-24 19:02:41 +02:00
wtfsck 8ff84b34c0 Add --color always 2021-06-24 18:54:54 +02:00
wtfsck f1f81562a4 Build Linux aarch64 wheel 2021-06-24 18:54:41 +02:00
wtfsck 2ba8837cc4 Move comment to the correct place 2021-06-22 21:43:10 +02:00
wtfsck 7d1a142a6a Update release.yml 2021-06-22 21:15:12 +02:00
wtfsck 3b0ccb038c Rust 1.53.0 2021-06-17 21:54:56 +02:00
wtfsck b8d2f41b55 Add a debug assert 2021-06-17 21:54:46 +02:00
wtfsck 5ea231e2b9 Remove unused file 2021-06-11 20:44:42 +02:00
wtfsck 0e73410481 Bump version 2021-06-10 17:25:50 +02:00
wtfsck bf5bb01717 CPUID can fault if MISC_FEATURES_ENABLES[0]=1 2021-06-10 17:17:58 +02:00
wtfsck 22493f480b Move comments 2021-06-09 18:32:33 +02:00
wtfsck 4671d7735a Update docs 2021-06-02 18:47:56 +02:00
wtfsck c54a9ef277 Update README 2021-05-29 17:26:54 +02:00
wtfsck d77270fa70 Remove some more fns 2021-05-28 23:06:43 +02:00