Skip to content
Snippets Groups Projects
  1. Nov 22, 2019
  2. Aug 02, 2019
  3. Sep 17, 2018
  4. Sep 16, 2018
  5. Aug 02, 2018
  6. Jul 18, 2018
    • Jämes Ménétrey's avatar
      Introduction of the Java bindings (#364) · 097dca27
      Jämes Ménétrey authored
      * Add the structure for the Java Bindings
      
      Set up the structure hosting the Java bindings using JNA,
      and provides a binding for the function ks_version.
      
      * Ignore the compiled extension of macOS libraries.
      
      * Add infrastructure to open and close Keystone handles.
      
      Keystone enumerations have been added, as well as the required
      wrappers for JNA to convert the enumerations to and from the
      native library.
      
      Create exceptions for handling issues related to Keystone.
      
      Implement a cleaner that automatically collect any opened
      Keystone handles when a Keystone instance is garbage collected.
      
      * The close method of Keystone is now thread-safe.
      
      * Rename the exception KeystoneOpenFailedException into OpenFailedKeystoneException.
      
      * Add the assemble function into the wrapper of Keystone.
      
      * Enhance the exceptions thrown by Keystone using ks_strerror.
      
      The exception classes have been refactored to shorten hardcoded
      error messages into the wrapper and instead, rely on the error
      messages generated by the native library, thanks to the function
      ks_strerror.
      
      * Add the ability to check with a given architecture is supported.
      
      Enhance the wrapper to map the function function ks_arch_supported
      in order to determine whether a given architecture is supported.
      
      * Add the features the change the assembly syntax and resolve symbols.
      
      Enhance the wrapper in order to support the changes of options.
      
      * Document the class KeystoneEncoded.
      
      * Add additional unit tests for a better coverage.
      
      * Reorder the native functions import and document the native functions prototype.
      
      * Optimize the code.
      
      * Add the target folder to the gitignore.
      
      * Add missing Javadoc annotations for the exceptions.
      
      * Add a gitkeep for the folder hosting the Keystone library for macOS.
      
      * Update the Maven configuration for version and dependencies.
      
      Use the version convention defined in the README, add a couple
      of testing dependencies and plugins to package the bindings in
      a fat JAR and enable Maven to use jUnit 5.
      
      * Use JNA Direct Mapping for better performances on native function calls.
      
      * Add the README.
      
      * Add myself to the credits :)
      
      * Use the syntax highlighting of Java in the README.
      
      * Fix a typo.
      
      * Optimize imports.
      
      * Add predefined folders hosting the library Keystone on Windows.
      
      * Add the Java bindings to the README of the bindings summary.
      097dca27
  7. Apr 01, 2018
  8. Mar 30, 2018
  9. Mar 15, 2018
  10. Mar 12, 2018
  11. Jan 23, 2018
    • fearless's avatar
      Include bindings for masm x86 and other x64 assemblers (#320) · 2c659e9d
      fearless authored
      * Include bindings for masm x86 and other x64 assemblers
      
      * Added examples RadASM projects for x86 and x64 assembler
      Removed stub lib files
      Added readme.md
      
      * removed stub lib files
      
      * Fixed passing address parameter of ks_asm as qword size.
      Added unzipped source folders for examples
      Removed extra lines in text files
      
      * Removed additional extra lines at end of text files
      
      * Renamed readme.md to README.md, removed additional binaries.
      
      * Rename readme.md to README.md
      
      * Removed additional non-required files. Have to leave .dlg files as they are required for the main dialog examples and examples wont compile without them.
      
      * Updated bindings to add masm binding by mrfealress
      2c659e9d
  12. Nov 29, 2017
    • Segev Finer's avatar
      Add asm(..., as_bytes=True) to Python bindings (#327) · 11239763
      Segev Finer authored
      When enabled, the assembled code will be returned as bytes (str on
      Python 2) instead of a list of integers, this is more memory efficient,
      faster (It's created using ctypes.string_at instead of a loop in
      Python), and more convenient since that's the type that most code that
      works with bytes in Python expects (That includes capstone).
      
      Defaults to `False` for backwards compatibility, since changing the
      return type is a breaking change.
      11239763
  13. Oct 26, 2017
  14. Oct 24, 2017
    • hongxu's avatar
      fix python bindings shared library directory issue (#301) · 5bcff118
      hongxu authored
      using `data_files` dict prefixed with
      `SITE_PACKAGES = os.path.join(get_python_lib(), "keystone")` is not
      portable, see #235 and #297 for details. Regular setup configuration does
      not work, e.g., specifying `package_data` etc, since that only affects
      `sdist`.
      
      The fix is a hack: customize `install_lib` to explicitly copy the file
      into keystone install dir.
      5bcff118
  15. Jul 14, 2017
  16. Mar 21, 2017
  17. Mar 20, 2017
    • Marco's avatar
      Added support for CSharp (#287) · 1149b6b0
      Marco authored
      * Added support for CSharp
      
      * Minor changes to const_generator.py; Moved files according to the output of const_generator.py; Removed non-english comments;
      
      * Released keystone after tests
      1149b6b0
  18. Nov 10, 2016
  19. Nov 07, 2016
  20. Nov 06, 2016
  21. Nov 05, 2016
  22. Nov 04, 2016
  23. Nov 03, 2016
  24. Oct 31, 2016
    • Adrian Herrera's avatar
      Updates to Haskell bindings (#253) · d3977ca6
      Adrian Herrera authored
      * [haskell] Style fixes
      
      No changes to functionality
      
      * [haskell] Updated `assemble` function
      
      assemble now takes a list of strings, rather than a single semicolon or newline -delimited string. This is more "Haskell-ish".
      
      * [haskell] More style fixes
      d3977ca6
  25. Oct 25, 2016
  26. Oct 13, 2016
  27. Oct 02, 2016
Loading