RFR: 8315038: Capstone disassembler stops when it sees a bad instruction

Andrew Haley aph at openjdk.org
Fri Sep 15 14:30:07 UTC 2023


At present, the Capstone disassembler stops whenever it encounters an undefined instruction. We really need it not to do that, because we use undefined instructions in JIT-generated code for many things.

The fix is described here:
 https://www.capstone-engine.org/skipdata.html

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

Commit messages:
 - 8315038: Capstone disassembler stops when it sees a bad instruction

Changes: https://git.openjdk.org/jdk/pull/15763/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15763&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8315038
  Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/15763.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15763/head:pull/15763

PR: https://git.openjdk.org/jdk/pull/15763


More information about the build-dev mailing list