Rot127
8f9a337dfa
Fix clang tidy ( #2347 )
2024-05-01 12:04:27 +08:00
Rot127
6c7b54817f
Add a clang-tidy checks and warnings ( #2312 )
2024-04-26 15:11:46 +08:00
Rot127
7746648f0b
[Auto-Sync] LLVM 18 update ( #2296 )
...
Refactor auto-sync updater
This refactors the auto-sync updater scripts, adds multiple tests and some other smaller things:
- Converts the updater in a proper Python package.
- Renaming was done to fit this new package structure.
- Format code with usort and black and enforce it with the CI.
- Add license information to auto-sync scripts.
- Update tree-sitter-cpp to v20.0.5
- Fix py-tree-sitter version to `< 0.22.0` due to https://github.com/tree-sitter/tree-sitter-cpp/issues/250
- Allow file/dir creation of non existing paths.
- Add CI tests for Patch, inc gen, translation and diff persistence testing.
- Implement editing of diffs with an editor.
- Fix: Add Namespace id also to anonymous enumeration members.
2024-04-22 11:55:44 +08:00
Rot127
24d99a907b
Weaken requirements to document functions. ( #2324 )
2024-04-18 23:51:49 +08:00
R3v0LT
9daa1ffbac
Add HPPA(PA-RISC) architecture ( #2265 )
...
* Refactor HPPA
* Add full HPPA 1.1 instructions support
* Add HPPA 1.1 cs tests
* Fix HPPA dissassembler
* Add HPPA 2.0 instructions
* Add HPPA tests
* Fix HPPA disasm & printer
* Update HPPA tests
* Remove unused code
* Add implicit register access info & Refactor HPPA main files
* Add python bindings/tests and cstests
* Fix HPPA disasm wrong decoding
* Rewrite invalid test cases
* Update HPPA python constants
* Make HPPA python test executable
* Change HPPA python tests sequence to match c tests
* Refactor HPPA main files
* Write target instead of offset in details
* Add HPPA detail function support in cstest
* Rewrite targets in branch tests
* Make correct string modifier addition
* Add hppa test calls
* Add zero operands check
* Remove MCOperand array
* Change immediate values printing
* Add HPPA 2.0 wide support
* Fix invalid break instruction decode
Remove unused code
* Add HPPA to fuzzing tests
* Add HPPA to options
* Add HPPA to docs
* Refactor HPPA
* Fix invalid branch insn decoding
* Add HPPA to labeler
* clang-format hppa files
* Document internal structures and minor refactoring
* Add missing default statements
* Fix invalid default statement
2024-03-26 13:58:56 +08:00
Rot127
3ef564bcf4
Add issue and PR templates ( #2294 )
...
* Add PR template.
* Add issue templates.
2024-03-20 16:57:52 +08:00
Rot127
122348ba47
[CMake] Architecture definition fix ( #2272 )
...
* Enble all archs only if CAPSTONE_USE_ARCH_REGISTRATION=false
* Add a test if cstool reaches each disassembler engine.
* Move cstool test to sh file.
2024-02-23 13:20:00 +08:00
Wu ChenXu
6a55ef3bda
Fix: cibuildwheel broken on windows build
...
Ref: https://github.com/pypa/cibuildwheel/issues/1748
2024-02-11 22:49:14 +08:00
Rot127
362857c163
Fix label assignment for LLVM generated files. ( #2243 )
2024-01-18 09:44:52 +08:00
Anton Kochkov
b3c2ed1398
Add autolabeler GitHub Action ( #2239 )
2024-01-12 10:04:20 +08:00
peace-maker
e00a210a3d
Test Python bindings in CI ( #2161 )
2023-09-15 14:35:09 +08:00
peace-maker
0134df14c4
Fix running cstest
in CI ( #2126 )
...
* Fail CI if a command fails
* Apply cs_options in MC tests
* Emit a space if the alias has one at position I.
* Fix pop instruction tests.
* Update reglist patch and fix it again in ARMGenCSMappingInsnOps.inc
* Fix VSCCLRM* patch and write attributes.
* Emit new system operand formatting in tests
* Set new syntax in issues.cs
* Fix correct setting of neon lane
* Fix cstest arm SYSM operand type output
* Add implicit reads and writes of SP to POP and PUSH.
* Fix issue tests with new syntax and group names.
---------
Co-authored-by: Rot127 <unisono@quyllur.org>
2023-08-06 18:28:52 +08:00
Anton Kochkov
d3a0e7ff99
ci: use cibuildwheel for python wheels ( #2099 )
...
* ci: use cibuildwheel for python wheels
* fix several issues
* fix setup.py
* fix issue
* Compatible with python2
* fix str
* trigger ci
---------
Co-authored-by: kabeor <kabeor00@gmail.com>
2023-07-21 23:15:46 +08:00
Anton Kochkov
ac7a365683
ci: use proper job syntax for Windows
2023-07-20 10:45:07 +08:00
Rot127
102a6bdc28
Bumb manylinux version to 2014 (x86) and 2_28 (x86_64) repectivly.
...
manylinux1 is EOL since 2 years. Just like Python 3.6
Fixes wheel build.
2023-07-19 11:13:25 -05:00
kabeor
fc96c05317
[workflows] Adjust matrix version
2023-06-23 09:44:42 +08:00
kabeor
0c9b5d8405
[workflows] Remove deprecated image versions
2023-06-23 09:27:27 +08:00
kabeor
72a87be763
[workflows] remove manual publish
2023-06-18 19:01:13 +08:00
kabeor
2593df1ef7
[workflows] update actions version
2023-06-18 18:59:25 +08:00
kabeor
c8f547d9bf
[workflows] update python-publish
2023-06-18 18:25:00 +08:00
kabeor
7d2e04068e
[workflows] update python-publish
2023-06-18 18:12:31 +08:00
kabeor
96f3ae6bb2
update CI ubuntu version
2023-04-06 18:21:48 +08:00
kabeor
eed417a810
fix python binding
2023-03-07 13:17:45 +08:00
kabeor
1a6f12176a
fix ci
2023-03-07 12:49:12 +08:00
kabeor
3f0259c400
ci fix
2023-03-07 12:43:08 +08:00
kabeor
75b033f3da
fix ci lib path
2023-03-07 12:38:41 +08:00
kabeor
9bbddd3a7b
fix ci lib path
2023-03-07 12:11:52 +08:00
kabeor
af8583688c
provide limited tests for make
2023-03-07 12:05:05 +08:00
kabeor
118f08fdf7
fix python binding build
2023-03-07 12:03:47 +08:00
MACHIZAUD Andréa
61ed12c4f2
Merge cmake.yml into CITest.yml
2022-04-11 09:35:10 +02:00
MACHIZAUD Andréa
e16fd004cd
CMake presets + simple CMake Workflow
2022-04-03 11:34:00 +02:00
kabeor
a4744e3417
disable publish to testpypi for now
2022-02-28 10:42:44 +08:00
kabeor
2cfb74fde3
fix for python publish build
2022-02-27 23:44:35 +08:00
kabeor
9c0019a006
add python publish file
2022-02-27 23:19:07 +08:00
kabeor
12853a4cd2
Fix CITest cmake install
2022-01-18 12:30:37 +08:00
kabeor
fbfcd5af19
Add CITest build by cmake
2022-01-18 12:05:57 +08:00
kabeor
f0fd578909
windows ci WIP
2022-01-04 22:38:45 +08:00
kabeor
4fb4a1aa07
update windows cmake CI build
2021-12-10 20:25:32 +08:00
kabeor
a81407632c
fix windows cmake build path
2021-12-09 22:58:45 +08:00
kabeor
a3aa8ddc1c
add windows cmake build in CI
2021-12-09 22:46:24 +08:00
rofl0r
a9527fe5da
CI: automatically build release tarball
...
after a tag is pushed, and "create release from tag" is clicked, CI
will now create an xz-compressed release tarball, containing all sources
and submodules (if used).
closes #582
2021-12-02 20:03:31 +00:00
kabeor
0eeef66ea9
trigger CI Test
2021-12-01 11:59:34 +08:00
kabeor
1b1fc100ba
exclude python3.9 in ubuntu18.04
2021-11-26 10:43:33 +08:00
kabeor
f118fc70cf
Merge branch 'next' of https://github.com/kabeor/capstone into next
2021-11-26 10:33:15 +08:00
kabeor
80dc0b1498
add ci test for python2.7
2021-11-26 10:31:11 +08:00
kabeor
9057f42a89
add ci_test steps&&Fixed suite test for python3
2021-11-23 12:27:39 +08:00
kabeor
da364d89aa
fix fuzz.py path
2021-11-21 12:39:03 +08:00
kabeor
b02309d404
add more ci_test cases.
2021-11-21 12:26:57 +08:00
kabeor
d11c386bf5
fix test_all.sh permission issue
2021-11-19 13:40:27 +08:00
kabeor
204d13a09e
add CI Test support
2021-11-19 13:37:09 +08:00