Integrated: 8188073: Add Capstone as backend for hsdis

Magnus Ihse Bursie ihse at openjdk.java.net
Thu Feb 17 21:22:15 UTC 2022


On Wed, 16 Feb 2022 21:55:36 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> The Capstone library is a simple to use, efficient disassembly library, distributed under the MIT license. 
> 
> This PR implements an hsdis backend using Capstone. It has been tested on Linux, macOS and Windows (x64).
> 
> The actual C implementation of the backend was done by @JornVernee. I assume there are plenty of room for enhancing this implementation, with options like in the binutils backend. Such improvements can be done later, by teams more familiar with the requirements of hsdis.

This pull request has now been integrated.

Changeset: f830cbec
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/f830cbec909b91ad0f00f46a3496d83ecb5912ed
Stats:     499 lines in 9 files changed: 328 ins; 118 del; 53 mod

8188073: Add Capstone as backend for hsdis

Co-authored-by: Magnus Ihse Bursie <ihse at openjdk.org>
Co-authored-by: Jorn Vernee <jvernee at openjdk.org>
Reviewed-by: erikj

-------------

PR: https://git.openjdk.java.net/jdk/pull/7506


More information about the hotspot-compiler-dev mailing list