[DynInst_API:] [dyninst/dyninst] a90daa: Add RISC-V Instruction API


Date: Thu, 06 Nov 2025 08:53:54 -0800
From: wxrdnx <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] a90daa: Add RISC-V Instruction API
  Branch: refs/heads/angushe/instruction-api-riscv
  Home:   https://github.com/dyninst/dyninst
  Commit: a90daa0bbeeb05b9bf4ccd5e9c237b1e34fcb2f6
      https://github.com/dyninst/dyninst/commit/a90daa0bbeeb05b9bf4ccd5e9c237b1e34fcb2f6
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M instructionAPI/CMakeLists.txt
    M instructionAPI/h/ArchSpecificFormatters.h
    M instructionAPI/h/Instruction.h
    M instructionAPI/h/Operation_impl.h
    M instructionAPI/src/ArchSpecificFormatters.C
    M instructionAPI/src/Instruction.C
    M instructionAPI/src/InstructionCategories.C
    A instructionAPI/src/InstructionDecoder-Capstone.C
    A instructionAPI/src/InstructionDecoder-Capstone.h
    A instructionAPI/src/InstructionDecoder-riscv64.C
    M instructionAPI/src/InstructionDecoderImpl.C
    M instructionAPI/src/Operation.C

  Log Message:
  -----------
  Add RISC-V Instruction API


  Commit: 58e00df55130a184b30516422937f9365a66290e
      https://github.com/dyninst/dyninst/commit/58e00df55130a184b30516422937f9365a66290e
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M instructionAPI/src/InstructionDecoderImpl.C

  Log Message:
  -----------
  Clean up InstructinAPI::InstructionDecoderImpl (#2040)

* Clean up comments

* Remove dead code

* Remove 'MultiRegister' include

* Remove unused Operation_impl include

* Remove redundant 'protected' specifier

* Remove using directive


  Commit: a5867802b37b434b8a1f3879644a71bb0d1778ed
      https://github.com/dyninst/dyninst/commit/a5867802b37b434b8a1f3879644a71bb0d1778ed
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M instructionAPI/src/InstructionDecoderImpl.C

  Log Message:
  -----------
  Add RISC-V Instruction API


  Commit: 71b6284351f73759d8f9ac304544a29c7c92a5b5
      https://github.com/dyninst/dyninst/commit/71b6284351f73759d8f9ac304544a29c7c92a5b5
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M instructionAPI/CMakeLists.txt
    M instructionAPI/h/Instruction.h
    M instructionAPI/src/Instruction.C
    M instructionAPI/src/InstructionDecoderImpl.C
    A instructionAPI/src/riscv/categories.h
    A instructionAPI/src/riscv/decoder.C
    A instructionAPI/src/riscv/decoder.h
    A instructionAPI/src/riscv/opcode_xlat.C
    A instructionAPI/src/riscv/opcode_xlat.h
    A instructionAPI/src/riscv/register_xlat.C
    A instructionAPI/src/riscv/register_xlat.h
    A instructionAPI/src/riscv/type_conversion.h

  Log Message:
  -----------
  Update Capstone


  Commit: 82c0e718efa206e65416d42de23f11dcc26f63cc
      https://github.com/dyninst/dyninst/commit/82c0e718efa206e65416d42de23f11dcc26f63cc
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    A common/src/arch-riscv64.h
    M instructionAPI/CMakeLists.txt
    M instructionAPI/src/Instruction.C
    M instructionAPI/src/riscv/categories.h
    M instructionAPI/src/riscv/decoder.C
    M instructionAPI/src/riscv/decoder.h

  Log Message:
  -----------
  Update pseudo instructions (wip)


  Commit: 2010cd251cb4bc8308f30c68ba92736bc347a7b5
      https://github.com/dyninst/dyninst/commit/2010cd251cb4bc8308f30c68ba92736bc347a7b5
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M common/src/arch-riscv64.h
    M instructionAPI/CMakeLists.txt
    M instructionAPI/src/riscv/decoder.C
    M instructionAPI/src/riscv/decoder.h
    A instructionAPI/src/riscv/mem_xlat.C
    A instructionAPI/src/riscv/mem_xlat.h

  Log Message:
  -----------
  Finish Capstone update


  Commit: 51a84c815d509e60e1cdf097b4e39fcc178df963
      https://github.com/dyninst/dyninst/commit/51a84c815d509e60e1cdf097b4e39fcc178df963
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M tests/integration/InstructionAPI/decoder/CMakeLists.txt
    A tests/integration/InstructionAPI/decoder/riscv/CMakeLists.txt
    A tests/integration/InstructionAPI/decoder/riscv/rv64i.cpp

  Log Message:
  -----------
  Add RV64i integration test


  Commit: 28dea48014194cb421a5902ea590a995e8e83c81
      https://github.com/dyninst/dyninst/commit/28dea48014194cb421a5902ea590a995e8e83c81
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M instructionAPI/h/Instruction.h
    M instructionAPI/src/Instruction.C
    M instructionAPI/src/riscv/categories.h
    M instructionAPI/src/riscv/decoder.C
    M instructionAPI/src/riscv/decoder.h

  Log Message:
  -----------
  Run cmake format


  Commit: 4773252512c7e5197efafc773307a83847166b55
      https://github.com/dyninst/dyninst/commit/4773252512c7e5197efafc773307a83847166b55
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M tests/integration/InstructionAPI/decoder/riscv/CMakeLists.txt
    A tests/integration/InstructionAPI/decoder/riscv/branches.cpp
    A tests/integration/InstructionAPI/decoder/riscv/pseudo.cpp
    A tests/integration/InstructionAPI/decoder/riscv/rv64a.cpp
    A tests/integration/InstructionAPI/decoder/riscv/rv64c.cpp
    A tests/integration/InstructionAPI/decoder/riscv/rv64d.cpp
    A tests/integration/InstructionAPI/decoder/riscv/rv64f.cpp
    M tests/integration/InstructionAPI/decoder/riscv/rv64i.cpp
    A tests/integration/InstructionAPI/decoder/riscv/rv64m.cpp

  Log Message:
  -----------
  Add integration tests for RV64GC


  Commit: 696713e57f5c27d4c3cbba191aa44d1bc678344a
      https://github.com/dyninst/dyninst/commit/696713e57f5c27d4c3cbba191aa44d1bc678344a
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M instructionAPI/src/ArchSpecificFormatters.C

  Log Message:
  -----------
  Change RISC-V formatter


  Commit: 4a9e6eebd464b8a2d18755fc574483f285ce164d
      https://github.com/dyninst/dyninst/commit/4a9e6eebd464b8a2d18755fc574483f285ce164d
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M tests/integration/InstructionAPI/decoder/riscv/rv64m.cpp

  Log Message:
  -----------
  Add mulw, divw, and remw to unit test


  Commit: 910f128a856ed1bc853ec759e5752b844c7cfe3b
      https://github.com/dyninst/dyninst/commit/910f128a856ed1bc853ec759e5752b844c7cfe3b
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M instructionAPI/h/Instruction.h
    M instructionAPI/src/Instruction.C
    M instructionAPI/src/InstructionCategories.C
    R instructionAPI/src/InstructionDecoder-Capstone.C
    R instructionAPI/src/InstructionDecoder-Capstone.h
    R instructionAPI/src/InstructionDecoder-riscv64.C
    M instructionAPI/src/InstructionDecoderImpl.C

  Log Message:
  -----------
  Remove unnecessary code and file


  Commit: a2756ad9360f6bd4c3ec71515d9a595ec1102541
      https://github.com/dyninst/dyninst/commit/a2756ad9360f6bd4c3ec71515d9a595ec1102541
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M instructionAPI/h/Operation_impl.h
    M instructionAPI/src/Instruction.C
    M instructionAPI/src/Operation.C

  Log Message:
  -----------
  Change NonABIRiscv to NonABI


  Commit: 846f9f9fecf7da6e21c68250f7377dae6859bab4
      https://github.com/dyninst/dyninst/commit/846f9f9fecf7da6e21c68250f7377dae6859bab4
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M tests/integration/InstructionAPI/decoder/riscv/CMakeLists.txt
    A tests/integration/InstructionAPI/decoder/riscv/a_ext.cpp
    M tests/integration/InstructionAPI/decoder/riscv/branches.cpp
    A tests/integration/InstructionAPI/decoder/riscv/c_ext.cpp
    A tests/integration/InstructionAPI/decoder/riscv/d_ext.cpp
    A tests/integration/InstructionAPI/decoder/riscv/f_ext.cpp
    A tests/integration/InstructionAPI/decoder/riscv/m_ext.cpp
    M tests/integration/InstructionAPI/decoder/riscv/pseudo.cpp
    R tests/integration/InstructionAPI/decoder/riscv/rv64a.cpp
    R tests/integration/InstructionAPI/decoder/riscv/rv64c.cpp
    R tests/integration/InstructionAPI/decoder/riscv/rv64d.cpp
    R tests/integration/InstructionAPI/decoder/riscv/rv64f.cpp
    R tests/integration/InstructionAPI/decoder/riscv/rv64i.cpp
    A tests/integration/InstructionAPI/decoder/riscv/rv64i_base.cpp
    R tests/integration/InstructionAPI/decoder/riscv/rv64m.cpp

  Log Message:
  -----------
  Rename unit test files and add description


  Commit: 260d741cd41d3d98d3c8e8549670a3123dfabeee
      https://github.com/dyninst/dyninst/commit/260d741cd41d3d98d3c8e8549670a3123dfabeee
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M instructionAPI/h/Instruction.h
    M instructionAPI/src/riscv/decoder.C
    M instructionAPI/src/riscv/decoder.h
    M instructionAPI/src/riscv/register_xlat.C

  Log Message:
  -----------
  Remove setMode


  Commit: f4d4817271e1ad690de6ce2bfe851c122c8c6336
      https://github.com/dyninst/dyninst/commit/f4d4817271e1ad690de6ce2bfe851c122c8c6336
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M tests/integration/InstructionAPI/decoder/riscv/pseudo.cpp

  Log Message:
  -----------
  Remove redundant white space


  Commit: 2f164e982f54023485105560087f20819bf68562
      https://github.com/dyninst/dyninst/commit/2f164e982f54023485105560087f20819bf68562
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M cmake/tpls/DyninstCapstone.cmake

  Log Message:
  -----------
  Update capstone cmake file


  Commit: 57e40f35914b1c239c48bbf7b3460daf59768e6c
      https://github.com/dyninst/dyninst/commit/57e40f35914b1c239c48bbf7b3460daf59768e6c
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M cmake/tpls/DyninstCapstone.cmake

  Log Message:
  -----------
  Update capstone version


  Commit: f13ee744a1edb6d57945f40720ac3c4c3dca0a6a
      https://github.com/dyninst/dyninst/commit/f13ee744a1edb6d57945f40720ac3c4c3dca0a6a
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M tests/integration/InstructionAPI/decoder/riscv/CMakeLists.txt

  Log Message:
  -----------
  Run cmake-format


Compare: https://github.com/dyninst/dyninst/compare/719d8c251099...f13ee744a1ed

To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] a90daa: Add RISC-V Instruction API, wxrdnx <=