Skip to content

fix missing opcode bindings#1413

Merged
cnheitman merged 3 commits intoJonathanSalwan:dev-v1.0from
redthing1:pr/fix_missing_py_opcodes
Jul 23, 2025
Merged

fix missing opcode bindings#1413
cnheitman merged 3 commits intoJonathanSalwan:dev-v1.0from
redthing1:pr/fix_missing_py_opcodes

Conversation

@redthing1
Copy link
Contributor

a number of opcode bindings were missing for python. i added them.

@cnheitman
Copy link
Collaborator

Hi @redthing1 !

This looks good. In order to merge, please, set the destination branch to JonathanSalwan:dev-v1.0 and make sure to update x86Specifications.cpp, x86Specifications.hpp, too; and add the opcodes to the documentation (comments at the top of initOpcodesNamespace.cpp).

@JonathanSalwan JonathanSalwan changed the base branch from master to dev-v1.0 July 22, 2025 17:00
@JonathanSalwan
Copy link
Owner

I've changed the base dst branch, there is only one conflict to fix with initOpcodesNamespace.cpp

@redthing1
Copy link
Contributor Author

conflict is fixed

@cnheitman cnheitman merged commit f5bf4f7 into JonathanSalwan:dev-v1.0 Jul 23, 2025
26 checks passed
mahmoudimus added a commit to mahmoudimus/Triton that referenced this pull request Nov 16, 2025
* llvm: make compatible to llvm version >= 17

* Add support for the SETM instruction under aarch64

* Add opcode python bindings for alias class instructions in the AArch64 Architecture

* Add unit test for JonathanSalwan#1399

* Try to fix CI

* Try to fix CI

* make sure initLeaAst does not update the sym engine

* Fix VCPKG workflow

* Update Python workflow

* Add 128-bit support in tritonToLLVM

* Fix formatting

* Bug fix for 128-bit integer support with LLVM

* Create hooking_libc.cpp

* Update hooking_libc.cpp

* add to cmake

* Fix cpp hooking_libc example

* Fix missing opcode bindings (JonathanSalwan#1413)

* add cstdint include

* Implement llvm.fshl.iXX intrinsic

ror/rol llvm simplifications get turned into this intrinsic, which
caused Triton to crash because of the missing intrinsic.

See issue JonathanSalwan#1403

* Triton can be installed using pip

Added the right command in the README.md file to install Triton using
pip, since `pip install triton` installs an entirely different package.

* Minor mods and typos

* fix github action

---------

Co-authored-by: PerfectLaugh <me@perfectlaugh.info>
Co-authored-by: s1nk <gaoyucandev@gmail.com>
Co-authored-by: Jonathan Salwan <jonathan.salwan@gmail.com>
Co-authored-by: Triton Library <tritonlibrary@gmail.com>
Co-authored-by: Christian Heitman <cheitman@quarkslab.com>
Co-authored-by: raax7 <142668843+raax7@users.noreply.github.com>
Co-authored-by: Selim Sandal <49725809+selimsandal@users.noreply.github.com>
Co-authored-by: red thing <redthing1@alt.icu>
Co-authored-by: Karl Vogel <karl.vogel@gmail.com>
Co-authored-by: gl <gl@hydra>
Co-authored-by: Elias Bachaalany <elias.bachaalany@gmail.com>
Co-authored-by: cctv130 <chinaxke@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants