Skip to content

Commit 202cf86

Browse files
committed
sys: bump capstone to 6.0.0-Alpha4-25-g717d8b05
1 parent 9905c32 commit 202cf86

File tree

151 files changed

+61047
-32258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+61047
-32258
lines changed

capstone-sys/capstone/.github/workflows/CITest.yml

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,37 @@ jobs:
5050
arch: x64,
5151
build-system: 'cmake',
5252
diet-build: 'OFF',
53-
enable-asan: 'OFF'
53+
enable-asan: 'OFF',
54+
build_type: 'Debug'
55+
}
56+
- {
57+
name: 'ubuntu-22.04 x64 release - assert warn',
58+
os: ubuntu-22.04,
59+
arch: x64,
60+
build-system: 'cmake',
61+
diet-build: 'OFF',
62+
enable-asan: 'OFF',
63+
build_type: 'Release',
64+
build_options: '-DCAPSTONE_ASSERTION_WARNINGS=ON'
65+
}
66+
- {
67+
name: 'ubuntu-22.04 x64 release - no asserts',
68+
os: ubuntu-22.04,
69+
arch: x64,
70+
build-system: 'cmake',
71+
diet-build: 'OFF',
72+
enable-asan: 'OFF',
73+
build_type: 'Release',
74+
build_options: '-DCAPSTONE_ASSERTION_WARNINGS=OFF'
5475
}
5576
- {
5677
name: 'ubuntu-24.04 x64 ASAN',
5778
os: ubuntu-24.04,
5879
arch: x64,
5980
build-system: 'cmake',
6081
diet-build: 'OFF',
61-
enable-asan: 'ON'
82+
enable-asan: 'ON',
83+
build_type: 'Debug'
6284
}
6385

6486
steps:
@@ -85,14 +107,16 @@ jobs:
85107
if: startsWith(matrix.config.build-system, 'cmake')
86108
env:
87109
asan: ${{ matrix.config.enable-asan }}
110+
build_option: ${{ matrix.config.build_option }}
111+
build_type: ${{ matrix.config.build_type }}
88112
run: |
89113
mkdir build && cd build
90114
# build static library
91-
cmake -DCAPSTONE_INSTALL=1 -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_ASAN=${asan} -DCAPSTONE_BUILD_DIET=${diet_build} ..
92-
cmake --build . --config Debug
115+
cmake -DCAPSTONE_INSTALL=1 -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_ASAN=${asan} -DCAPSTONE_BUILD_DIET=${diet_build} ${build_option} ..
116+
cmake --build . --config ${build_type}
93117
# build shared library
94-
cmake -DCAPSTONE_INSTALL=1 -DCAPSTONE_BUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX=/usr -DCAPSTONE_BUILD_CSTEST=ON -DENABLE_ASAN=${asan} ..
95-
sudo cmake --build . --config Debug --target install
118+
cmake -DCAPSTONE_INSTALL=1 -DCAPSTONE_BUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX=/usr -DCAPSTONE_BUILD_CSTEST=ON -DENABLE_ASAN=${asan} ${build_option} ..
119+
sudo cmake --build . --config ${build_type} --target install
96120
97121
- name: Lower number of KASL randomized address bits
98122
run: |
@@ -141,7 +165,8 @@ jobs:
141165
- name: Valgrind cstest
142166
if: startsWith(matrix.config.build-system, 'cmake') && startsWith(matrix.config.enable-asan, 'OFF')
143167
run: |
144-
sudo apt-get install valgrind
168+
sudo apt-get -y update
169+
sudo apt-get -y install valgrind
145170
valgrind cstest tests
146171
147172
- name: Comaptibility header generation

capstone-sys/capstone/.github/workflows/build-wheels-publish.yml

Lines changed: 14 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ env:
3434
CAPSTONE_DEBUG: ${{ inputs.debugMode != '' && inputs.debugMode || startsWith(github.ref, 'refs/tags') && '0' || '1' }}
3535

3636
jobs:
37-
# job to be executed for every push - testing purpose
38-
build_wheels_always:
37+
build_and_test_wheels:
3938
name: Building on ${{ matrix.os }} - ${{ matrix.arch }} - ${{ matrix.cibw_build }}
4039
runs-on: ${{ matrix.os }}
4140
strategy:
@@ -44,28 +43,27 @@ jobs:
4443
include:
4544
# NOTE: Making this to parallelize and speed up workflow
4645
# i686 - manylinux
47-
# - { os: ubuntu-latest, arch: i686, cibw_build: 'cp38-manylinux* cp313-manylinux*', cibw_skip: '' }
46+
# - { os: ubuntu-latest, arch: i686, cibw_build: 'cp*-manylinux*', cibw_skip: '*36* *37*' }
4847
# i686 - musllinux
49-
# - { os: ubuntu-latest, arch: i686, cibw_build: 'cp38-musllinux* cp313-musllinux*', cibw_skip: '' }
48+
# - { os: ubuntu-latest, arch: i686, cibw_build: 'cp*-musllinux*', cibw_skip: '*36* *37*' }
5049
# x86_64 - manylinux
51-
- { os: ubuntu-latest, arch: x86_64, cibw_build: 'cp38-manylinux* cp313-manylinux*', cibw_skip: '' }
50+
- { os: ubuntu-latest, arch: x86_64, cibw_build: 'cp*-manylinux*', cibw_skip: '*36* *37*' }
5251
# x86_64 - musllinux
53-
- { os: ubuntu-latest, arch: x86_64, cibw_build: 'cp38-musllinux* cp313-musllinux*', cibw_skip: '' }
52+
- { os: ubuntu-latest, arch: x86_64, cibw_build: 'cp*-musllinux*', cibw_skip: '*36* *37*' }
5453
# aarch64 - manylinux
55-
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_build: 'cp38-manylinux* cp313-manylinux*', cibw_skip: '' }
54+
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_build: 'cp*-manylinux*', cibw_skip: '*36* *37*' }
5655
# aarch64 - musllinux
57-
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_build: 'cp38-musllinux* cp313-musllinux*', cibw_skip: '' }
56+
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_build: 'cp*-musllinux*', cibw_skip: '*36* *37*' }
5857
# macos - x86_64
59-
- { os: macos-13, arch: x86_64, cibw_build: 'cp38* cp313*', cibw_skip: '' }
58+
- { os: macos-13, arch: x86_64, cibw_build: 'cp*', cibw_skip: '*36* *37*' }
6059
# macos - arm64
61-
- { os: macos-latest, arch: arm64, cibw_build: 'cp38* cp313*', cibw_skip: '' }
62-
- { os: macos-latest, arch: universal2, cibw_build: 'cp38* cp313*', cibw_skip: '' }
60+
- { os: macos-latest, arch: arm64, cibw_build: 'cp*', cibw_skip: '*36* *37*' }
6361
# windows - amd64
64-
- { os: windows-latest, arch: AMD64, cibw_build: 'cp38* cp313*', cibw_skip: '' }
62+
- { os: windows-latest, arch: AMD64, cibw_build: 'cp*', cibw_skip: '*36* *37*' }
6563
# windows - x86
66-
# - { os: windows-latest, arch: x86, cibw_build: 'cp38* cp313*', cibw_skip: '' }
64+
# - { os: windows-latest, arch: x86, cibw_build: 'cp*', cibw_skip: '*36* *37*' }
6765
# windows - arm64
68-
- { os: windows-latest, arch: ARM64, cibw_build: 'cp39* cp313*', cibw_skip: '' }
66+
- { os: windows-latest, arch: ARM64, cibw_build: 'cp*', cibw_skip: '*36* *37* *38*' }
6967

7068
steps:
7169
- uses: actions/checkout@v4
@@ -108,7 +106,7 @@ jobs:
108106
uses: docker/setup-qemu-action@v3
109107

110108
- name: '🚧 cibuildwheel run'
111-
uses: pypa/cibuildwheel@v2.22.0
109+
uses: pypa/cibuildwheel@v2.23.3
112110
env:
113111
CIBW_BUILD_FRONTEND: build
114112
CIBW_BUILD: ${{ matrix.cibw_build }}
@@ -131,115 +129,6 @@ jobs:
131129
name: ${{ env.ARTIFACT_NAME }}
132130
path: ./wheelhouse/*.whl
133131

134-
# To be executed only in case of a tag release
135-
build_wheels_all:
136-
name: Building on ${{ matrix.os }} - ${{ matrix.arch }} - ${{ matrix.cibw_build }}
137-
runs-on: ${{ matrix.os }}
138-
if: startsWith(github.ref, 'refs/tags')
139-
strategy:
140-
fail-fast: false
141-
matrix:
142-
include:
143-
# NOTE: Making this to parallelize and speed up workflow
144-
# i686 - manylinux
145-
# - { os: ubuntu-latest, arch: i686, cibw_build: 'cp39-manylinux*', cibw_skip: '' }
146-
# - { os: ubuntu-latest, arch: i686, cibw_build: 'cp310-manylinux*', cibw_skip: '' }
147-
# - { os: ubuntu-latest, arch: i686, cibw_build: 'cp311-manylinux*', cibw_skip: '' }
148-
# - { os: ubuntu-latest, arch: i686, cibw_build: 'cp312-manylinux*', cibw_skip: '' }
149-
# i686 - musllinux
150-
# - { os: ubuntu-latest, arch: i686, cibw_build: 'cp39-musllinux*', cibw_skip: '' }
151-
# - { os: ubuntu-latest, arch: i686, cibw_build: 'cp310-musllinux*', cibw_skip: '' }
152-
# - { os: ubuntu-latest, arch: i686, cibw_build: 'cp311-musllinux*', cibw_skip: '' }
153-
# - { os: ubuntu-latest, arch: i686, cibw_build: 'cp312-musllinux*', cibw_skip: '' }
154-
# x86_64 - manylinux
155-
- { os: ubuntu-latest, arch: x86_64, cibw_build: 'cp39-manylinux*', cibw_skip: '' }
156-
- { os: ubuntu-latest, arch: x86_64, cibw_build: 'cp310-manylinux*', cibw_skip: '' }
157-
- { os: ubuntu-latest, arch: x86_64, cibw_build: 'cp311-manylinux*', cibw_skip: '' }
158-
- { os: ubuntu-latest, arch: x86_64, cibw_build: 'cp312-manylinux*', cibw_skip: '' }
159-
# x86_64 - musllinux
160-
- { os: ubuntu-latest, arch: x86_64, cibw_build: 'cp39-musllinux*', cibw_skip: '' }
161-
- { os: ubuntu-latest, arch: x86_64, cibw_build: 'cp310-musllinux*', cibw_skip: '' }
162-
- { os: ubuntu-latest, arch: x86_64, cibw_build: 'cp311-musllinux*', cibw_skip: '' }
163-
- { os: ubuntu-latest, arch: x86_64, cibw_build: 'cp312-musllinux*', cibw_skip: '' }
164-
# aarch64 - manylinux
165-
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_build: 'cp39-manylinux*', cibw_skip: '' }
166-
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_build: 'cp310-manylinux*', cibw_skip: '' }
167-
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_build: 'cp311-manylinux*', cibw_skip: '' }
168-
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_build: 'cp312-manylinux*', cibw_skip: '' }
169-
# aarch64 - musllinux
170-
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_build: 'cp39-musllinux*', cibw_skip: '' }
171-
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_build: 'cp310-musllinux*', cibw_skip: '' }
172-
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_build: 'cp311-musllinux*', cibw_skip: '' }
173-
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_build: 'cp312-musllinux*', cibw_skip: '' }
174-
# macos - x86_64
175-
- { os: macos-13, arch: x86_64, cibw_build: 'cp*', cibw_skip: '*36* *37* *38* *313*' }
176-
# macos - arm64
177-
- { os: macos-latest, arch: arm64, cibw_build: 'cp*', cibw_skip: '*36* *37* *38* *313*' }
178-
- { os: macos-latest, arch: universal2, cibw_build: 'cp*', cibw_skip: '*36* *37* *38* *39* *313*' }
179-
# windows - amd64
180-
- { os: windows-latest, arch: AMD64, cibw_build: 'cp*', cibw_skip: '*36* *37* *38* *313*' }
181-
# windows - x86
182-
# - { os: windows-latest, arch: x86, cibw_build: 'cp*', cibw_skip: '*36* *37* *38* *313*' }
183-
# windows - arm64
184-
- { os: windows-latest, arch: ARM64, cibw_build: 'cp*', cibw_skip: '*36* *37* *38* *39* *313*' }
185-
186-
steps:
187-
- uses: actions/checkout@v4
188-
189-
# https://github.com/actions/upload-artifact/issues/22
190-
- name: Prepare a unique name for Artifacts
191-
shell: bash
192-
run: |
193-
# replace not-allowed chars with dash
194-
name="cibw-wheels-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.cibw_build }}"
195-
name=$(echo -n "$name" | sed -e 's/[ \t:\/\\"<>|*?]/-/g' -e 's/--*/-/g' | sed -e 's/\-$//')
196-
echo "ARTIFACT_NAME=$name" >> $GITHUB_ENV
197-
198-
- name: '🛠️ Win MSVC 32 dev cmd setup'
199-
if: runner.os == 'Windows' && matrix.arch == 'x86'
200-
uses: ilammy/msvc-dev-cmd@v1
201-
with:
202-
arch: x86
203-
204-
- name: '🛠️ Win MSVC 64 dev cmd setup'
205-
if: runner.os == 'Windows' && matrix.arch == 'AMD64'
206-
uses: ilammy/msvc-dev-cmd@v1
207-
with:
208-
arch: x64
209-
210-
- name: '🛠️ Win MSVC ARM64 dev cmd setup'
211-
if: runner.os == 'Windows' && matrix.arch == 'ARM64'
212-
uses: ilammy/msvc-dev-cmd@v1
213-
with:
214-
arch: amd64_arm64
215-
216-
- name: '🛠️ Set up QEMU'
217-
if: runner.os == 'Linux' && matrix.arch == 'i686'
218-
uses: docker/setup-qemu-action@v3
219-
220-
- name: '🚧 cibuildwheel run'
221-
uses: pypa/cibuildwheel@v2.22.0
222-
env:
223-
CIBW_BUILD_FRONTEND: build
224-
CIBW_BUILD: ${{ matrix.cibw_build }}
225-
CIBW_SKIP: ${{ matrix.cibw_skip }}
226-
CIBW_ARCHS: ${{ matrix.arch }}
227-
CIBW_ENVIRONMENT: DEBUG=${{ env.CAPSTONE_DEBUG }}
228-
CIBW_ENVIRONMENT_PASS_LINUX: DEBUG
229-
# https://cibuildwheel.pypa.io/en/stable/faq/#windows-arm64
230-
CIBW_TEST_SKIP: "*-win_arm64"
231-
CIBW_TEST_COMMAND: >
232-
python -m pip install {package}/cstest_py &&
233-
python {project}/suite/run_tests.py
234-
with:
235-
package-dir: bindings/python
236-
output-dir: wheelhouse
237-
238-
- uses: actions/upload-artifact@v4
239-
with:
240-
name: ${{ env.ARTIFACT_NAME }}
241-
path: ./wheelhouse/*.whl
242-
243132
make_sdist:
244133
name: Make SDist
245134
runs-on: ubuntu-latest
@@ -262,7 +151,7 @@ jobs:
262151
path: bindings/python/dist/*.tar.gz
263152

264153
publish:
265-
needs: [ build_wheels_always, build_wheels_all, make_sdist ]
154+
needs: [ build_and_test_wheels, make_sdist ]
266155
environment: pypi
267156
permissions:
268157
id-token: write

capstone-sys/capstone/CMakeLists.txt

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ option(CAPSTONE_USE_DEFAULT_ALLOC "Use default memory allocation functions" ON)
7979
option(CAPSTONE_USE_ARCH_REGISTRATION "Use explicit architecture registration" OFF)
8080
option(CAPSTONE_ARCHITECTURE_DEFAULT "Whether architectures are enabled by default" ON)
8181
option(CAPSTONE_DEBUG "Whether to enable extra debug assertions (enabled with CMAKE_BUILD_TYPE=Debug)" OFF)
82+
option(CAPSTONE_ASSERTION_WARNINGS "Warns about hit assertions in release builds." OFF)
8283
option(CAPSTONE_INSTALL "Generate install target" ${PROJECT_IS_TOP_LEVEL})
8384
option(ENABLE_ASAN "Enable address sanitizer" OFF)
8485
option(ENABLE_COVERAGE "Enable test coverage" OFF)
@@ -411,21 +412,30 @@ if(CAPSTONE_SPARC_SUPPORT)
411412
add_definitions(-DCAPSTONE_HAS_SPARC)
412413
set(SOURCES_SPARC
413414
arch/Sparc/SparcDisassembler.c
415+
arch/Sparc/SparcDisassemblerExtension.c
414416
arch/Sparc/SparcInstPrinter.c
415417
arch/Sparc/SparcMapping.c
416418
arch/Sparc/SparcModule.c
417419
)
418420
set(HEADERS_SPARC
419-
arch/Sparc/Sparc.h
420-
arch/Sparc/SparcDisassembler.h
421+
arch/Sparc/SparcDisassemblerExtension.h
422+
arch/Sparc/SparcInstPrinter.h
423+
arch/Sparc/SparcLinkage.h
424+
arch/Sparc/SparcMCTargetDesc.h
425+
arch/Sparc/SparcMapping.h
426+
arch/Sparc/SparcModule.h
421427
arch/Sparc/SparcGenAsmWriter.inc
428+
arch/Sparc/SparcGenCSAliasMnemMap.inc
429+
arch/Sparc/SparcGenCSFeatureName.inc
430+
arch/Sparc/SparcGenCSMappingInsn.inc
431+
arch/Sparc/SparcGenCSMappingInsnName.inc
432+
arch/Sparc/SparcGenCSMappingInsnOp.inc
433+
arch/Sparc/SparcGenCSOpGroup.inc
422434
arch/Sparc/SparcGenDisassemblerTables.inc
423435
arch/Sparc/SparcGenInstrInfo.inc
424436
arch/Sparc/SparcGenRegisterInfo.inc
425437
arch/Sparc/SparcGenSubtargetInfo.inc
426-
arch/Sparc/SparcInstPrinter.h
427-
arch/Sparc/SparcMapping.h
428-
arch/Sparc/SparcMappingInsn.inc
438+
arch/Sparc/SparcGenSystemOperands.inc
429439
)
430440
endif()
431441

capstone-sys/capstone/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,6 @@ Adding an Architecture
109109

110110
If your architecture is supported in LLVM or one of its forks, you can use `Auto-Sync` to
111111
add the new module.
112-
Checkout [suite/auto-sync/README.md](suite/auto-sync/README.md).
112+
Checkout [suite/auto-sync/RefactorGuide.md](suite/auto-sync/RefactorGuide.md).
113113

114114
Otherwise, you need to implement the disassembler on your own and make it work with the Capstone API.

capstone-sys/capstone/MCInstPrinter.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ extern bool PPC_getFeatureBits(unsigned int mode, unsigned int feature);
1010
extern bool Mips_getFeatureBits(unsigned int mode, unsigned int feature);
1111
extern bool AArch64_getFeatureBits(unsigned int mode, unsigned int feature);
1212
extern bool TriCore_getFeatureBits(unsigned int mode, unsigned int feature);
13+
extern bool Sparc_getFeatureBits(unsigned int mode, unsigned int feature);
1314

1415
static bool testFeatureBits(const MCInst *MI, uint32_t Value)
1516
{
@@ -37,6 +38,10 @@ static bool testFeatureBits(const MCInst *MI, uint32_t Value)
3738
#ifdef CAPSTONE_HAS_TRICORE
3839
case CS_ARCH_TRICORE:
3940
return TriCore_getFeatureBits(MI->csh->mode, Value);
41+
#endif
42+
#ifdef CAPSTONE_HAS_SPARC
43+
case CS_ARCH_SPARC:
44+
return Sparc_getFeatureBits(MI->csh->mode, Value);
4045
#endif
4146
}
4247
}

capstone-sys/capstone/Mapping.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ DEFINE_get_detail_op(systemz, SystemZ);
355355
DEFINE_get_detail_op(xtensa, Xtensa);
356356
DEFINE_get_detail_op(bpf, BPF);
357357
DEFINE_get_detail_op(arc, ARC);
358+
DEFINE_get_detail_op(sparc, Sparc);
358359

359360
/// Returns true if for this architecture the
360361
/// alias operands should be filled.
@@ -391,6 +392,8 @@ static inline bool char_ends_mnem(const char c, cs_arch arch) {
391392
return (!c || c == ' ' || c == '\t' || c == '.');
392393
case CS_ARCH_PPC:
393394
return (!c || c == ' ' || c == '\t');
395+
case CS_ARCH_SPARC:
396+
return (!c || c == ' ' || c == '\t' || c == ',');
394397
}
395398
}
396399

capstone-sys/capstone/Mapping.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ typedef struct insn_map {
3535
systemz_suppl_info systemz;
3636
arm_suppl_info arm;
3737
xtensa_suppl_info xtensa;
38+
sparc_suppl_info sparc;
3839
} suppl_info; // Supplementary information for each instruction.
3940
#endif
4041
} insn_map;
@@ -147,6 +148,7 @@ DECL_get_detail_op(systemz, SystemZ);
147148
DECL_get_detail_op(xtensa, Xtensa);
148149
DECL_get_detail_op(bpf, BPF);
149150
DECL_get_detail_op(arc, ARC);
151+
DECL_get_detail_op(sparc, Sparc);
150152

151153
/// Increments the detail->arch.op_count by one.
152154
#define DEFINE_inc_detail_op_count(arch, ARCH) \
@@ -188,6 +190,8 @@ DEFINE_inc_detail_op_count(bpf, BPF);
188190
DEFINE_dec_detail_op_count(bpf, BPF);
189191
DEFINE_inc_detail_op_count(arc, ARC);
190192
DEFINE_dec_detail_op_count(arc, ARC);
193+
DEFINE_inc_detail_op_count(sparc, Sparc);
194+
DEFINE_dec_detail_op_count(sparc, Sparc);
191195

192196
/// Returns true if a memory operand is currently edited.
193197
static inline bool doing_mem(const MCInst *MI)
@@ -222,6 +226,7 @@ DEFINE_get_arch_detail(arc, ARC);
222226
DEFINE_get_arch_detail(systemz, SystemZ);
223227
DEFINE_get_arch_detail(xtensa, Xtensa);
224228
DEFINE_get_arch_detail(bpf, BPF);
229+
DEFINE_get_arch_detail(sparc, Sparc);
225230

226231
#define DEFINE_check_safe_inc(Arch, ARCH) \
227232
static inline void Arch##_check_safe_inc(const MCInst *MI) { \
@@ -240,6 +245,7 @@ DEFINE_check_safe_inc(SystemZ, SYSTEMZ);
240245
DEFINE_check_safe_inc(Mips, MIPS);
241246
DEFINE_check_safe_inc(BPF, BPF);
242247
DEFINE_check_safe_inc(ARC, ARC);
248+
DEFINE_check_safe_inc(Sparc, SPARC);
243249

244250
static inline bool detail_is_set(const MCInst *MI)
245251
{

0 commit comments

Comments
 (0)