[DynInst_API:] [dyninst/dyninst] 3c0fb9: Add CMake stub


Date: Mon, 06 Jan 2025 22:01:41 -0800
From: wxrdnx <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 3c0fb9: Add CMake stub
  Branch: refs/heads/angushe/riscv
  Home:   https://github.com/dyninst/dyninst
  Commit: 3c0fb9f62883e876c74a48077a080a01bc9ac262
      https://github.com/dyninst/dyninst/commit/3c0fb9f62883e876c74a48077a080a01bc9ac262
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M CMakeLists.txt
    A cmake/tpls/DyninstCapstone.cmake
    M instructionAPI/CMakeLists.txt

  Log Message:
  -----------
  Add CMake stub


  Commit: e91ab5cf8c488b7e77d4b4d3b689b36f212d62fa
      https://github.com/dyninst/dyninst/commit/e91ab5cf8c488b7e77d4b4d3b689b36f212d62fa
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    A instructionAPI/capstone/import.py
    A instructionAPI/capstone/x86.py

  Log Message:
  -----------
  Make parameter the root directory in import script

Instead of specifying the file name, the user just points to the
directory and the script will grab the necessary files.


  Commit: 1667436ba1df82056ca08299e8f3185ca4eebded
      https://github.com/dyninst/dyninst/commit/1667436ba1df82056ca08299e8f3185ca4eebded
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/capstone/import.py
    M instructionAPI/capstone/x86.py

  Log Message:
  -----------
  Alias faddp to fadd

Capstone only uses fadd. This does not modify the entryIDs yet.


  Commit: 4e3489f7069dbea972dcf1b00aaeb46c05aa1f53
      https://github.com/dyninst/dyninst/commit/4e3489f7069dbea972dcf1b00aaeb46c05aa1f53
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/capstone/import.py

  Log Message:
  -----------
  Add mnemonic translation to import script


  Commit: 19f76357d185c1f0277c48ce33875f9382cf7a45
      https://github.com/dyninst/dyninst/commit/19f76357d185c1f0277c48ce33875f9382cf7a45
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    A instructionAPI/src/x86/register-xlat.C
    A instructionAPI/src/x86/register-xlat.h

  Log Message:
  -----------
  Add Capstone->Dyninst register translation


  Commit: eff4154f3977423f06cc9580894516c434634ffe
      https://github.com/dyninst/dyninst/commit/eff4154f3977423f06cc9580894516c434634ffe
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    A instructionAPI/src/x86/mnemonic-xlat.C
    A instructionAPI/src/x86/mnemonic-xlat.h

  Log Message:
  -----------
  Add Capstone->Dyninst mnemonic translation


  Commit: bae8eaa7d7b92502399656313706608e5cf7a54a
      https://github.com/dyninst/dyninst/commit/bae8eaa7d7b92502399656313706608e5cf7a54a
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/CMakeLists.txt
    A instructionAPI/src/x86/decoder.C
    A instructionAPI/src/x86/decoder.h

  Log Message:
  -----------
  Add stub replacement for x86 decoder


  Commit: c545ff91660764974b0d6ce130c64ecc9fe243da
      https://github.com/dyninst/dyninst/commit/c545ff91660764974b0d6ce130c64ecc9fe243da
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C
    M instructionAPI/src/x86/decoder.h

  Log Message:
  -----------
  Add decoder ctor and dtor

There is one usage of Capstone per decoder. This should be threadsafe
as it doesn't make sense to use a decoder with multiple threads
simultaneously. See comments in ctor for why there are two Capstone
handles per decoder.


  Commit: 2bd9e24a607ac1d87ac606006f1ac6d8fe189f4b
      https://github.com/dyninst/dyninst/commit/2bd9e24a607ac1d87ac606006f1ac6d8fe189f4b
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Add decodeOpcode


  Commit: 9fd0db16232a37effa09d911ea95e2bb804b79e4
      https://github.com/dyninst/dyninst/commit/9fd0db16232a37effa09d911ea95e2bb804b79e4
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Add note in decodeOperands


  Commit: f3aa0040bd75f8a8b60224fd38a51ec2559b51a1
      https://github.com/dyninst/dyninst/commit/f3aa0040bd75f8a8b60224fd38a51ec2559b51a1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C
    M instructionAPI/src/x86/decoder.h

  Log Message:
  -----------
  Add doDelayedDecode

This is a copy/paste of Xiaozhu's implementation. It appears to be
incomplete (as per the comments).


  Commit: 0ef5774e4241d866a5757941ac0e8cbf0abf7e1a
      https://github.com/dyninst/dyninst/commit/0ef5774e4241d866a5757941ac0e8cbf0abf7e1a
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.h

  Log Message:
  -----------
  stub -- refactor


  Commit: 28c5a575897940258ab0ce1114278417c7fef63e
      https://github.com/dyninst/dyninst/commit/28c5a575897940258ab0ce1114278417c7fef63e
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C
    M instructionAPI/src/x86/decoder.h

  Log Message:
  -----------
  Use disassembler object in decode_operands


  Commit: 1c867170137c866e363e6a7ef5b671dd4bc2cf76
      https://github.com/dyninst/dyninst/commit/1c867170137c866e363e6a7ef5b671dd4bc2cf76
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C
    M instructionAPI/src/x86/decoder.h

  Log Message:
  -----------
  Refactor decode_operands

This makes it much easier to follow.


  Commit: cde56b918d2b6e2fcd010985bb08bd68ff25b718
      https://github.com/dyninst/dyninst/commit/cde56b918d2b6e2fcd010985bb08bd68ff25b718
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Add detailed comments about operand types


  Commit: f6cd53bc0bd4bf968ee26b15f6d6b2249b16ed39
      https://github.com/dyninst/dyninst/commit/f6cd53bc0bd4bf968ee26b15f6d6b2249b16ed39
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Use Instruction::makeReturnExpression

No need to reinvent the wheel.


  Commit: f4453155dc83026e9efa78496a64035a57d9c1e6
      https://github.com/dyninst/dyninst/commit/f4453155dc83026e9efa78496a64035a57d9c1e6
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Remove redundant includes


  Commit: 3366c5eca49204543312d0a9bf1fdcb625dd47dd
      https://github.com/dyninst/dyninst/commit/3366c5eca49204543312d0a9bf1fdcb625dd47dd
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Refactor handling of implicit registers

By giving the properties names rather than std::pairs, it makes it much
easier to read.


  Commit: a77c9fd50fc12ecec9cebe83059e27b7e54baeec
      https://github.com/dyninst/dyninst/commit/a77c9fd50fc12ecec9cebe83059e27b7e54baeec
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Include decoding of {e,r}flags


  Commit: f690516a5f889ae3f4c5767ef36635daf655416f
      https://github.com/dyninst/dyninst/commit/f690516a5f889ae3f4c5767ef36635daf655416f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Fix comment for explicit operands


  Commit: ca9ec9aeb10a832801882c83cef54693780340a6
      https://github.com/dyninst/dyninst/commit/ca9ec9aeb10a832801882c83cef54693780340a6
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Fix explicit operands example


  Commit: 4eb5cfbd3c4d16d783b31068bdee8ae55781293b
      https://github.com/dyninst/dyninst/commit/4eb5cfbd3c4d16d783b31068bdee8ae55781293b
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Remove extraneous namespace qualifier


  Commit: 5e2b6c846e7f337bf78d1f562b2c431a9c788bba
      https://github.com/dyninst/dyninst/commit/5e2b6c846e7f337bf78d1f562b2c431a9c788bba
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Refactor is_call

The original code did the nested check, but didn't need to.

  if(cat == c_BranchInsn || cat == c_CallInsn) {
    isCFT = true;
    if(cat == c_CallInsn) {
      isCall = true;
    }
  }

is equivalent to

  if(cat == c_CallInsn) {
    isCall = true;
  }

  if(cat == c_BranchInsn || isCall) {
    isCFT = true;
  }


  Commit: e66f3a7fbe0e8181154c6809cd235068604ade97
      https://github.com/dyninst/dyninst/commit/e66f3a7fbe0e8181154c6809cd235068604ade97
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Fix comment in expand_eflags


  Commit: 41e7d602d989fd503dea4572a152b1f96aca2e20
      https://github.com/dyninst/dyninst/commit/41e7d602d989fd503dea4572a152b1f96aca2e20
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/register-xlat.C

  Log Message:
  -----------
  Fix comment for BND registers


  Commit: e0117f3c59748d148d5adc82871046e6c7a8d59b
      https://github.com/dyninst/dyninst/commit/e0117f3c59748d148d5adc82871046e6c7a8d59b
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Refactor isCFT in decode_reg


  Commit: 7e8890ceabaa3c2fc7e0beff06e905cf3b682226
      https://github.com/dyninst/dyninst/commit/7e8890ceabaa3c2fc7e0beff06e905cf3b682226
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Refactor isCFT in decode_imm


  Commit: 76ce254873dbe14b22c02d3aa1ecf5610f55d8c5
      https://github.com/dyninst/dyninst/commit/76ce254873dbe14b22c02d3aa1ecf5610f55d8c5
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Use signed 64-bit values for immediates


  Commit: fd2da8c7cc7c52c1392568fb4dccd49fa3320e56
      https://github.com/dyninst/dyninst/commit/fd2da8c7cc7c52c1392568fb4dccd49fa3320e56
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Update comment for relative branch immediates


  Commit: 411a91357d9bfdcac483cc5fbcbb2641f148153f
      https://github.com/dyninst/dyninst/commit/411a91357d9bfdcac483cc5fbcbb2641f148153f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Remove error check on size_to_type

It has been updated to include all values used by Capstone.


  Commit: c4b81701d00e1d92e6e12a7c35aedc5ad777e021
      https://github.com/dyninst/dyninst/commit/c4b81701d00e1d92e6e12a7c35aedc5ad777e021
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Remove unneeded assert


  Commit: abaac56a970b6e697b622be8558fa2282729b42a
      https://github.com/dyninst/dyninst/commit/abaac56a970b6e697b622be8558fa2282729b42a
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Move is_call and is_cft to where they are used


  Commit: 6e5924e09fd7a712e90d64109e13d023a38825a7
      https://github.com/dyninst/dyninst/commit/6e5924e09fd7a712e90d64109e13d023a38825a7
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Use signed values for calculations

The manual says everything but the scale can be positive or negative.


  Commit: e4e10f37543ea6e3cba1d5f325843f228101a842
      https://github.com/dyninst/dyninst/commit/e4e10f37543ea6e3cba1d5f325843f228101a842
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Use braces


  Commit: 54d9e401b6f89bea11f65db5929cf24bb6a84901
      https://github.com/dyninst/dyninst/commit/54d9e401b6f89bea11f65db5929cf24bb6a84901
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Move size_to_type to where it is used


  Commit: 63d1272581b8e76397333dfd0eff40bf68a8d1b3
      https://github.com/dyninst/dyninst/commit/63d1272581b8e76397333dfd0eff40bf68a8d1b3
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Add some whitespace


  Commit: 8e2b12c993201fb0d7f49a9e8f9737161ff2e6b8
      https://github.com/dyninst/dyninst/commit/8e2b12c993201fb0d7f49a9e8f9737161ff2e6b8
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Add description from Intel manual


  Commit: f347a7fe7e9a5a57700b37302301235b1d549243
      https://github.com/dyninst/dyninst/commit/f347a7fe7e9a5a57700b37302301235b1d549243
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Return early if processing a CFT


  Commit: b87d63d83e45c631a5fd1ab09a25fc339489bd03
      https://github.com/dyninst/dyninst/commit/b87d63d83e45c631a5fd1ab09a25fc339489bd03
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Add comment about LEA


  Commit: 57eb4ccf14f8fc8c648d5a663352f333512a7926
      https://github.com/dyninst/dyninst/commit/57eb4ccf14f8fc8c648d5a663352f333512a7926
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Rename immAST -> displacementAST

This better reflects its meaning.


  Commit: 152918addf59b71abc80232ce7f31ee8d80d2207
      https://github.com/dyninst/dyninst/commit/152918addf59b71abc80232ce7f31ee8d80d2207
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Handle segment registers as memory operands


  Commit: 164a7934fef7cecc4f444f9ea712cd9e7420a649
      https://github.com/dyninst/dyninst/commit/164a7934fef7cecc4f444f9ea712cd9e7420a649
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/CMakeLists.txt

  Log Message:
  -----------
  Fix cmake formatting in instructionAPI/CMakeLists.txt


  Commit: 352d88cd91e3a074bab1310a3db70e8b0d9d50e2
      https://github.com/dyninst/dyninst/commit/352d88cd91e3a074bab1310a3db70e8b0d9d50e2
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M .github/workflows/dependency-version.yaml
    M docker/dependencies.versions

  Log Message:
  -----------
  Add dependency-version check for Capstone


  Commit: ab5020bddae1f6e10506f1fd9d48dea1abe8086e
      https://github.com/dyninst/dyninst/commit/ab5020bddae1f6e10506f1fd9d48dea1abe8086e
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/CMakeLists.txt

  Log Message:
  -----------
  Make Capstone a private dependency


  Commit: 6277d46e0a4f1f666150b9fb1060e63b13863c9e
      https://github.com/dyninst/dyninst/commit/6277d46e0a4f1f666150b9fb1060e63b13863c9e
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    A docker/build_capstone.sh
    M docker/dependencies.versions

  Log Message:
  -----------
  Docker: add Capstone builds


  Commit: 7ddd201ffbba098e28fb2aea31339a1b63399134
      https://github.com/dyninst/dyninst/commit/7ddd201ffbba098e28fb2aea31339a1b63399134
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Only decode segment register operands for i386


  Commit: a98df1e86d4ece6ac9e832dd7e280c4a03f6e365
      https://github.com/dyninst/dyninst/commit/a98df1e86d4ece6ac9e832dd7e280c4a03f6e365
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/x86/decoder.C

  Log Message:
  -----------
  Fix format from clang's -Wformat-pedantic


  Commit: 1d9493a994782540e0058371e9461f481938c7ed
      https://github.com/dyninst/dyninst/commit/1d9493a994782540e0058371e9461f481938c7ed
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M cmake/tpls/DyninstCapstone.cmake

  Log Message:
  -----------
  Use correct capitalization for capstone_ROOT in CMake


  Commit: 5e2f4e2572dc387c303b818b6d33053391421ac4
      https://github.com/dyninst/dyninst/commit/5e2f4e2572dc387c303b818b6d33053391421ac4
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M common/h/Architecture.h
    M dwarf/src/dwarfHandle.C

  Log Message:
  -----------
  Add riscv architecture


  Commit: 9da43cb9c54d21d708dcc71c0ad8077539043448
      https://github.com/dyninst/dyninst/commit/9da43cb9c54d21d708dcc71c0ad8077539043448
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    A instructionAPI/capstone/capstone.py
    M instructionAPI/capstone/import.py
    A instructionAPI/capstone/riscv64.py

  Log Message:
  -----------
  Add riscv64 capstone parser


  Commit: b3426db056579f36d13d1da006128a6b45c6ae4d
      https://github.com/dyninst/dyninst/commit/b3426db056579f36d13d1da006128a6b45c6ae4d
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M common/CMakeLists.txt
    M common/h/dyn_regs.h
    M common/h/entryIDs.h
    A common/h/mnemonics/riscv64_entryIDs.h
    A common/h/registers/riscv64_regs.h
    A common/src/arch-riscv64.h
    M common/src/registers/MachRegister.C

  Log Message:
  -----------
  Add RISC-V registers and mnemonics


  Commit: 7beadfb4eaa1f14d0eba00ba93c2908d3b019c7e
      https://github.com/dyninst/dyninst/commit/7beadfb4eaa1f14d0eba00ba93c2908d3b019c7e
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M elf/src/Elf_X.C
    M proccontrol/src/process.C

  Log Message:
  -----------
  Add cases for Arch_riscv64 to suppress compiler warnings


  Commit: 4848bd7259b4d068ed622896dfcdd8a5930c2e66
      https://github.com/dyninst/dyninst/commit/4848bd7259b4d068ed622896dfcdd8a5930c2e66
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/CMakeLists.txt
    M instructionAPI/capstone/import.py
    M instructionAPI/h/ArchSpecificFormatters.h
    M instructionAPI/src/ArchSpecificFormatters.C
    A instructionAPI/src/InstructionDecoder-Capstone.C
    A instructionAPI/src/InstructionDecoder-Capstone.h
    A instructionAPI/src/InstructionDecoder-riscv64.C
    M instructionAPI/src/InstructionDecoderImpl.C

  Log Message:
  -----------
  Add Capstone-based RISC-V InstructionAPI


  Commit: 5e1cf40428a477df3af63a420fc98e50bc5f209c
      https://github.com/dyninst/dyninst/commit/5e1cf40428a477df3af63a420fc98e50bc5f209c
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M parseAPI/CMakeLists.txt
    M parseAPI/src/CodeSource.C
    M parseAPI/src/IA_IAPI.C
    A parseAPI/src/IA_riscv64.C
    A parseAPI/src/IA_riscv64.h
    M parseAPI/src/SymbolicExpression.C

  Log Message:
  -----------
  Add RISC-V ParseAPI


  Commit: aaf01d2948730656ab50e1d9244cae50004d2507
      https://github.com/dyninst/dyninst/commit/aaf01d2948730656ab50e1d9244cae50004d2507
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    A dataflowAPI/rose/SgAsmRiscv64Instruction.h
    M dataflowAPI/rose/conversions.h
    A dataflowAPI/rose/semantics/DispatcherRiscv64.C
    A dataflowAPI/rose/semantics/DispatcherRiscv64.h
    M dataflowAPI/rose/semantics/Registers.C
    M dataflowAPI/rose/semantics/Registers.h
    M dataflowAPI/rose/semantics/SymEvalSemantics.C
    M dataflowAPI/rose/semantics/SymEvalSemantics.h
    M dataflowAPI/src/RoseImpl.C
    M dataflowAPI/src/RoseInsnFactory.C
    M dataflowAPI/src/RoseInsnFactory.h
    M dataflowAPI/src/SymEval.C
    M dataflowAPI/src/SymbolicExpansion.C
    M dataflowAPI/src/SymbolicExpansion.h
    M dataflowAPI/src/convertOpcodes.C
    A external/rose/riscv64InstructionEnum.h
    M external/rose/rose-compat.h

  Log Message:
  -----------
  Implement RISC-V DataflowAPI base code


  Commit: 6f0816920b92a59e98be3a5e8a540fb7fbbf8829
      https://github.com/dyninst/dyninst/commit/6f0816920b92a59e98be3a5e8a540fb7fbbf8829
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    A dataflowAPI/sail/riscv_sail_to_rose.pl
    A dataflowAPI/sail/sail_ast.pl
    A dataflowAPI/sail/sail_lex.pl
    A dataflowAPI/sail/sail_syntax.pl

  Log Message:
  -----------
  Add sail lexical parser


  Commit: 865c7600990cf0c634a9672af0f2a6a91f801c0b
      https://github.com/dyninst/dyninst/commit/865c7600990cf0c634a9672af0f2a6a91f801c0b
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M dataflowAPI/sail/sail_lex.pl

  Log Message:
  -----------
  rewrite sail lexer using regex


  Commit: 82fa1a365ee607d85eefdabd663a22736eba9e6a
      https://github.com/dyninst/dyninst/commit/82fa1a365ee607d85eefdabd663a22736eba9e6a
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M dataflowAPI/sail/sail_lex.pl

  Log Message:
  -----------
  Use array instead of hash


  Commit: 40e247dfa4f2522e5fc467692da0d1faf3d91da6
      https://github.com/dyninst/dyninst/commit/40e247dfa4f2522e5fc467692da0d1faf3d91da6
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M dataflowAPI/sail/sail_syntax.pl

  Log Message:
  -----------
  Add most syntax


  Commit: 0fc24ef531e16b88af6dcb88f79bb4230a123587
      https://github.com/dyninst/dyninst/commit/0fc24ef531e16b88af6dcb88f79bb4230a123587
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    A dataflowAPI/sail/riscv_ast.json
    R dataflowAPI/sail/riscv_sail_to_rose.pl
    R dataflowAPI/sail/sail_ast.pl
    R dataflowAPI/sail/sail_lex.pl
    R dataflowAPI/sail/sail_syntax.pl
    A dataflowAPI/sail/sail_to_rose.pl

  Log Message:
  -----------
  Add sail to rose converter (UTYPE)


  Commit: f8e5a92ad0894b46697b035439a4c9e997d1362b
      https://github.com/dyninst/dyninst/commit/f8e5a92ad0894b46697b035439a4c9e997d1362b
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M common/h/Architecture.h

  Log Message:
  -----------
  Add missing riscv64 address width


  Commit: 57f76a6b116299d63c21cc1d94ec00248b24e161
      https://github.com/dyninst/dyninst/commit/57f76a6b116299d63c21cc1d94ec00248b24e161
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M dataflowAPI/sail/sail_to_rose.pl

  Log Message:
  -----------
  Add sail to rose converter (IMAC subsets)


  Commit: 3d071c53fcd4f340427040726e1dd36d8b706c29
      https://github.com/dyninst/dyninst/commit/3d071c53fcd4f340427040726e1dd36d8b706c29
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M dataflowAPI/rose/semantics/DispatcherRiscv64.C
    M dataflowAPI/rose/semantics/DispatcherRiscv64.h
    M dataflowAPI/rose/semantics/Registers.C
    M dataflowAPI/src/ExpressionConversionVisitor.C
    M instructionAPI/src/InstructionDecoder-riscv64.C

  Log Message:
  -----------
  Integrate riscv64 ROSE code into dataflowAPI


  Commit: 119f1f3ec99acf108c10be08c19b257ef8bb6a44
      https://github.com/dyninst/dyninst/commit/119f1f3ec99acf108c10be08c19b257ef8bb6a44
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/CMakeLists.txt
    R instructionAPI/src/x86/decoder.C
    R instructionAPI/src/x86/decoder.h
    R instructionAPI/src/x86/mnemonic-xlat.C
    R instructionAPI/src/x86/mnemonic-xlat.h
    R instructionAPI/src/x86/register-xlat.C
    R instructionAPI/src/x86/register-xlat.h

  Log Message:
  -----------
  migrate instructionAPI to capstone


  Commit: 6a7c3d8b6c56d809165eb1759f94dd10c8125ef3
      https://github.com/dyninst/dyninst/commit/6a7c3d8b6c56d809165eb1759f94dd10c8125ef3
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M dataflowAPI/rose/semantics/BaseSemantics2.h
    A dataflowAPI/rose/semantics/ConcreteSemantics2.C
    A dataflowAPI/rose/semantics/ConcreteSemantics2.h
    M dataflowAPI/rose/semantics/DispatcherRiscv64.C
    M dataflowAPI/rose/semantics/SymEvalSemantics.C
    M dataflowAPI/rose/semantics/SymEvalSemantics.h
    M dataflowAPI/src/SymEvalPolicy.h

  Log Message:
  -----------
  fix mulhsu instruction semantic


  Commit: d2419dba4e34c95e9374a37a6196768c829e2d9e
      https://github.com/dyninst/dyninst/commit/d2419dba4e34c95e9374a37a6196768c829e2d9e
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M cmake/DyninstCapArchDef.cmake
    M cmake/DyninstPlatform.cmake
    M cmake/tpls/DyninstCapstone.cmake
    M common/CMakeLists.txt
    A common/src/arch-riscv64.C
    M common/src/arch-riscv64.h
    M common/src/arch.h
    M common/src/util.C
    M dataflowAPI/src/ABI.C
    M dataflowAPI/src/RegisterMap.C
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI/src/BPatch_memoryAccessAdapter.C
    M dyninstAPI/src/BPatch_snippet.C
    A dyninstAPI/src/RegisterConversion-riscv64.C
    M dyninstAPI/src/Relocation/Widgets/CFWidget.h
    M dyninstAPI/src/arch-forward-decl.h
    M dyninstAPI/src/ast.C
    A dyninstAPI/src/codegen-riscv64.C
    A dyninstAPI/src/codegen-riscv64.h
    M dyninstAPI/src/codegen.h
    A dyninstAPI/src/emit-riscv64.C
    A dyninstAPI/src/emit-riscv64.h
    A dyninstAPI/src/inst-riscv64.C
    A dyninstAPI/src/inst-riscv64.h
    M dyninstAPI/src/legacy-instruction.h
    M dyninstAPI/src/linux.h
    M dyninstAPI/src/mapped_object.C
    A dyninstAPI/src/parse-riscv64.C
    M dyninstAPI/src/registerSpace.C
    M dyninstAPI/src/registerSpace.h
    M dyninstAPI/src/unix.C
    M dyninstAPI_RT/CMakeLists.txt
    M dyninstAPI_RT/src/RTlinux.c
    M proccontrol/CMakeLists.txt
    M proccontrol/src/linux.C
    M proccontrol/src/linux.h
    A proccontrol/src/loadLibrary/codegen-riscv64.C
    M proccontrol/src/loadLibrary/codegen.C
    M proccontrol/src/loadLibrary/codegen.h
    A proccontrol/src/riscv_process.C
    A proccontrol/src/riscv_process.h

  Log Message:
  -----------
  Add RISC-V guards


  Commit: 9f25a349f7397c714b8c90b7d1d823522eb47bf2
      https://github.com/dyninst/dyninst/commit/9f25a349f7397c714b8c90b7d1d823522eb47bf2
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI/src/Parsing.h
    M dyninstAPI/src/binaryEdit.C
    M dyninstAPI/src/codegen.C
    M dyninstAPI/src/function.h
    M dyninstAPI/src/linux.C
    M stackwalk/CMakeLists.txt
    M stackwalk/src/dbginfo-stepper.C
    M stackwalk/src/framestepper.C
    A stackwalk/src/linux-riscv64-swk.C
    M stackwalk/src/linux-swk.C
    A stackwalk/src/riscv64-swk.C
    A stackwalk/src/riscv64-swk.h
    M symtabAPI/CMakeLists.txt
    M symtabAPI/src/emitElfStatic.C

  Log Message:
  -----------
  Add RISC-V stackwalk guard


  Commit: c14e8e703d3f57404ab97f47926b1ff1df9bda21
      https://github.com/dyninst/dyninst/commit/c14e8e703d3f57404ab97f47926b1ff1df9bda21
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    A dyninstAPI_RT/src/RTthread-riscv64.c

  Log Message:
  -----------
  Add missing RTthread-riscv64.c


  Commit: 9056f114658fa2352d46269cab400793a98e982f
      https://github.com/dyninst/dyninst/commit/9056f114658fa2352d46269cab400793a98e982f
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    A symtabAPI/src/emitElfStatic-riscv64.C
    A symtabAPI/src/relocationEntry-elf-riscv64.C

  Log Message:
  -----------
  Create RISC-V emitter template


  Commit: ccfd8979a97a7b053bb5f90007022f95f28cad82
      https://github.com/dyninst/dyninst/commit/ccfd8979a97a7b053bb5f90007022f95f28cad82
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    A dyninstAPI_RT/src/RTstatic_ctors_dtors-riscv64.c

  Log Message:
  -----------
  Add missing RTstatic_ctors_dtors-riscv64.c


  Commit: ab50bc25abe872cb803f1d3972f5f659f062e5f6
      https://github.com/dyninst/dyninst/commit/ab50bc25abe872cb803f1d3972f5f659f062e5f6
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M common/src/arch-riscv64.h
    M common/src/arch.h
    M dataflowAPI/src/RegisterMap.h
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI/src/RegisterConversion-riscv64.C
    A dyninstAPI/src/Relocation/Widgets/CFWidget-riscv64.C
    A dyninstAPI/src/Relocation/Widgets/PCWidget-riscv64.C
    M dyninstAPI/src/inst-riscv64.C
    A dyninstAPI/src/linux-riscv64.C
    A dyninstAPI/src/linux-riscv64.h
    M dyninstAPI/src/parse-riscv64.C
    M dyninstAPI/src/registerSpace.h
    A dyninstAPI/src/stackwalk-riscv64.C
    M dyninstAPI/src/unix.C
    M dyninstAPI_RT/src/RTlinux.c
    M stackwalk/src/dbginfo-stepper.C
    M stackwalk/src/linux-riscv64-swk.C
    M stackwalk/src/riscv64-swk.C
    M symtabAPI/src/emitElfStatic-stub.C

  Log Message:
  -----------
  Make RISC-V dyninst compile on a RISC-V machine


  Commit: 936e39efc7cb7f329116954ef995ac34ebf2aaf1
      https://github.com/dyninst/dyninst/commit/936e39efc7cb7f329116954ef995ac34ebf2aaf1
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M dyninstAPI/src/inst-riscv64.C
    M dyninstAPI/src/inst-riscv64.h
    M dyninstAPI/src/linux-riscv64.C
    M dyninstAPI/src/parse-riscv64.C

  Log Message:
  -----------
  Implement some instruction emission functions


  Commit: 6b694c91c2f9e5cc589e4f2993970d075b15cb36
      https://github.com/dyninst/dyninst/commit/6b694c91c2f9e5cc589e4f2993970d075b15cb36
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M common/h/registers/riscv64_regs.h
    M dataflowAPI/rose/semantics/Registers.C
    M dataflowAPI/rose/semantics/SymEvalSemantics.C
    M dyninstAPI/src/RegisterConversion-riscv64.C
    M dyninstAPI/src/inst-riscv64.C
    M dyninstAPI/src/registerSpace.h
    M external/rose/riscv64InstructionEnum.h

  Log Message:
  -----------
  Amalgamate 32 and 64 bit fpr


  Commit: c469d2963175dc50fa1a5554f55c97ed23932d41
      https://github.com/dyninst/dyninst/commit/c469d2963175dc50fa1a5554f55c97ed23932d41
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M dyninstAPI/src/inst-riscv64.C

  Log Message:
  -----------
  Add emitImm


  Commit: 768802428526e3bf60b3ebfc561276f5ac240393
      https://github.com/dyninst/dyninst/commit/768802428526e3bf60b3ebfc561276f5ac240393
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M common/src/arch.h
    M dataflowAPI/src/ABI.C
    M dyninstAPI/src/BPatch_memoryAccessAdapter.C
    M dyninstAPI/src/BPatch_snippet.C
    M dyninstAPI/src/arch-forward-decl.h
    M dyninstAPI/src/ast.C
    M dyninstAPI/src/codegen.h
    M dyninstAPI/src/legacy-instruction.h
    M dyninstAPI/src/linux-riscv64.h
    M dyninstAPI/src/linux.h
    M dyninstAPI/src/registerSpace.C
    M dyninstAPI/src/registerSpace.h
    M dyninstAPI_RT/src/RTlinux.c
    M proccontrol/src/linux.C
    M stackwalk/src/dbginfo-stepper.C

  Log Message:
  -----------
  Rename arch_riscv64 to DYNINST_HOST_ARCH_AARCH64


  Commit: 13a3dd3738684ea03f48ceaabe925ba8779f55c3
      https://github.com/dyninst/dyninst/commit/13a3dd3738684ea03f48ceaabe925ba8779f55c3
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M common/CMakeLists.txt
    M common/src/arch-aarch64.C
    M common/src/arch-aarch64.h
    M common/src/arch-riscv64.C
    M common/src/arch-riscv64.h
    M dataflowAPI/CMakeLists.txt
    M dataflowAPI/rose/registers/convert.C
    A dataflowAPI/rose/registers/riscv64.h
    M dataflowAPI/src/convertOpcodes.C
    M dwarf/CMakeLists.txt
    M dwarf/src/registers/convert.C
    A dwarf/src/registers/riscv64.h
    M dyninstAPI/src/inst-riscv64.h
    M external/rose/riscv64InstructionEnum.h
    M parseAPI/CMakeLists.txt

  Log Message:
  -----------
  Add missing RISC-V ROSE register conversion


  Commit: 335aca7e654a208810f0a2d2242c693a9ad1659f
      https://github.com/dyninst/dyninst/commit/335aca7e654a208810f0a2d2242c693a9ad1659f
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M instructionAPI/src/Instruction.C

  Log Message:
  -----------
  Add missing invalid operand check


  Commit: 92097738fdbbd4ea9f9ee1f65742d00b7217f80f
      https://github.com/dyninst/dyninst/commit/92097738fdbbd4ea9f9ee1f65742d00b7217f80f
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

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

  Log Message:
  -----------
  Modify RISC-V Capstone instruction decoder


Compare: https://github.com/dyninst/dyninst/compare/bc31a9144804...92097738fdbb

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] 3c0fb9: Add CMake stub, wxrdnx <=