-
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
65
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
crc32.b crc32b.w crc32l.w crcn popcnt.w shuffle Remove invalid instruction: BISR_rc_v161 Learn up misconfigure of nor and not
Because it was run after the RPM/DEB package build it contained the 'build' directory with all its files. Which made it way too big.
Something is still off with the commit history. There shouldn't be any conflicts. Maybe the rebase was based on the wrong commit? |
* cmake: Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR capstone can be built as sub-project through cmake's fetch_content mechanism. In this case, `CMAKE_SOURCE_DIR` refers to the parent project (that has nothing to do with capstone), while `PROJECT_SOURCE_DIR` refers to the root of the capstone source tree. Recently introduced changes to enable CPack (#2590) are using the wrong variable and are hence breaking builds that use capstone through fetch_content. Use the correct variable to fix this issue. * cmake: Only include cpack in top-level builds Do not include cpack in builds where capstone is used through fetch_content.
….h` (#2633) * Set all operand types to the main CS_OP_ types from capstone.h. * Add test cases from issue.
* Enhance shift value and types of shift instructions. Shifts via registers now save the register id in cs_arch64_op.shift.value and set the shift type accordingly. * Sort table
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
M68K
Arch
M680X
Arch
Mips
Arch
MOS65XX
Arch
ocaml
bindings
PowerPC
Arch
python
bindings
RISCV
Arch
SH
Arch
Sparc
Arch
SystemZ
Arch
TriCore
Arch
WASM
Arch
X86
Arch
XCore
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
...