-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 6.0.0-Alpha3 #2617
Open
kabeor
wants to merge
55
commits into
v6
Choose a base branch
from
next
base: v6
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Version 6.0.0-Alpha3 #2617
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* update version to v6-alpha1 * update bindings const values * Update changelog for V6.0.0-Alpha1
Fixes UB caused by various mismatches on how these arguments are passed and read. This became visible when running on PowerPC hosts with e.g. `cstool -d aarch64 204862f8`. Apart from the UB fix, this is meant to be a pure refactor. Partially addresses #2458
* xtensa: Fix Branch Target * auto-sync: fix byte pattern * xtensa: add branch insn tests * Revert "auto-sync: fix byte pattern" This reverts commit cf8e870.
AArch64: Replace vararg add_cs_detail by multiple concrete functions
* Updating CI to create Debian package and version is assigned by tag version. Also updating release CI to not use end-of-life workflows * Clear up usage of static libraries. - Python bindings only use the dynamic lib. But built and copied the static ones sometimes nonetheless. - Add toggles to build only static, static/dyn or only dynamic. --------- Co-authored-by: Rot127 <[email protected]>
- BUILD_SHARED_LIBS -> CAPSTONE_BUILD_SHARED_LIBS - BUILD_STATIC_LIBS -> CAPSTONE_BUILD_STATIC_LIBS - BUILD_STATIC_LIBS -> CAPSTONE_BUILD_STATIC_MSVC_RUNTIME
- cid 514642 - cid 514643 - cid 514644 - cid 514645
* Move deb package gen files int package/deb * Fix basename check * Make debian package generation dispatch only
* - Refactored setup.py to remove hacks regarding packaging of wheels for different platforms, improve and cleanup the code - Updated README.txt - Removed old Makefile and build_wheel.sh scripts - Created a new workflow that takes care of building and testing python packages for different platforms/architectures/python versions * Added SPDX headers to the setup.py * - cstest_py: Fixed positional argument since it doesn't accept a `required` flag. It turns to have a mandatory tests folder path - integration_tests.py: Use pathlib to determine the required path - GitHub action: Simplified the tests execution command * GitHub Actions: Run python 3.8 (lowest) and 3.13 (current highest) for native runners only during testings and the rest during tag release * GitHub Action: - Fixed the cibw_build matrix element - Added a step to prepare artifact name * GitHub Action: Added run_tests.py script to run all tests during CI workflow * - Added SPDX headers to the run_tests.py script and to the build-wheels-publish.yml workflow file - Minor fixes to the workflow as pointed out in the PR review - Updated MANIFEST.in to reflect the actual libraries built during python wheel creation process - Use subprocess.run in place of os.system in run_tests.py script * GitHub Action: - Run qemu step only if non-native Linux runner - Added arch:universal2 matrix element for macos-latest runner * Python bindings: Refreshed the list of files needed to be copied for sdist archive * GitHub Action: Commented out arch:x86 matrix elements * GitHub Action: Run qemu step only if non-native Linux runner * GitHub Action: Minor fixes * Python bindings: Added missing .in pattern when collecting src files for sdist archive
…2551) * fix xtensa `DecodeMR23RegisterClass` and add tests for `MAC16` instructions * revert
* Bindings(chore): Fix DeprecationWarning * Version(upgrade): update bindings const * Fix(chore): Fix ARMCC_Invalid is not defined
* Bindings(chore): Fix DeprecationWarning * Version(upgrade): update bindings const * Fix(chore): Fix ARMCC_Invalid is not defined * Changelog: Update to version 6.0.0-Alpha2
* Update PPC module to LLVM 18. **New** (According to LLVM changelog) - Added DFP instruction. - Added the SCV instruction. **Changes** - Memory decoder were simplified by decoding disponent and base reg separately. - `DFORM` -> `DFORM_BASE` - Use inverted `MCInstDesc` table. - Replace the many declared printer in PPCInstPrinter with `static inlines`. - Renamed groups to upper case. - Switched to `ARCH_add_cs_detail_X()` function names. - Remove `PPCInstPrinter.h` because it is no longer used. * Fix: Use correct directory name. * Fix segfaults and add asserts for these NULL cases. * Allow to map a single LLVM option to multiple CS options * Add default endian option to the MCUpdater * Fix setter for Little endian * Add SPE option to cstool * Fix QPX instructions. Due to llvm/llvm-project@4b43ef3 the names of the operands were matched. Because FRT dosn't exist in the XForm_1 class, the generated tables didn't decoded them. * Fix: AbsAddr should be printed as unsigned. * Fix S12 immediate printing for PC memory operands * Fix MCUpdater tests * Update PPCRegisterInfo_stripRegisterPrefix * Add support for selection of Power versions * Run clang-format * Fix feature check * Allow to overwrite in multi-mode * Add some more flags * Fix order and map name * Add new test files. * Fix checks for features. Only enables PowerX feature checks of a Power architecture is enabled and the feature is in the list of it. * Print byte sequence with space between comma. This helps with copy and search of the byte string in the test files. * Fix tests broken due to feature toggles * Shorten generated names. * Update bindings
bumped the version to the latest version of some common GitHub Actions
* Add tricore tc1.8 instructions: add.df sub.df madd.df msub.df mul.df div.df cmp.df max.df min.df min.f max.f dftoi dftoiz dftoin ftoin dftou dftouz dftol dftoul dftoulz abs.f abs.df dftolz neg.df neg.f qseed.df itodf utodf ltodf ultodf dftof ftodf * Fix python binding * Fix python binding * add tricore tc1.8 instructions div64 div64.u rem64 rem64.u * add tricore tc1.8 instruction to tests/details * Fix review
* evm: apply new opcode updates and add test cases * evm: use predefined invalid opcode 0xfe * python: add CsInsn.is_invalid_insn to bypass evm issue
* Add ARC files * Added ARC files for successful compilation * Refactor ARC files * Add ARC c/cs tests * Add ARC python test/bindings * Add ARC to CI/CD * Avoid omitting parameter names * Update cs files * Fix ARC bugs * Update ARC python bindings * Refactor and update ARC test files * Add detail flag to arc test * Fix ARC test problems * Fix ARCMapping compile error * Replace __CHAR_BIT__ to CHAR_BIT * Add credits and ARC info * Update ARC to match the latest next * Python formatting * Remove asserts on 'Unknown condition code passed' * Add ARC to some more documentation * Add ARC to Targets constants * Add ARC support to llvm-tblgen * Replace asserts & add Expr handling * Check DecodeGPR32RegisterClass return value * Fix fieldFromInstruction patch * Refactor ARC * Reformat python files * Fix incorrect import * Update inc files and insn names * Update python files * Disable AArch64 Linux wheel build due to #2615. --------- Co-authored-by: R33v0LT <[email protected]>
* chore(version): Update Version to 6.0.0-RC1 * chore(version): change version name to 6.0.0-alpha3
github-actions
bot
added
X86
Arch
ARM
Arch
AArch64
Arch
BPF
Arch
EVM
Arch
PowerPC
Arch
SystemZ
Arch
TriCore
Arch
python
bindings
java
bindings
ocaml
bindings
CS-core-files
auto-sync
LLVM-core-files
auto-sync
Auto-Sync-files
Auto-Sync
LLVM-generated-files
Documentation
HPPA
Arch
LoongArch
Arch
Github-files
Github related files
Xtensa
Arch
labels
Jan 28, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
AArch64
Arch
ARM
Arch
Auto-Sync-files
Auto-Sync
BPF
Arch
CS-core-files
auto-sync
Documentation
EVM
Arch
Github-files
Github related files
HPPA
Arch
java
bindings
LLVM-core-files
auto-sync
LLVM-generated-files
LoongArch
Arch
ocaml
bindings
PowerPC
Arch
python
bindings
SystemZ
Arch
TriCore
Arch
X86
Arch
Xtensa
Arch
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Your checklist for this pull request
Detailed description
...
Test plan
...
Closing issues
...