[DynInst_API:] [dyninst/dyninst] c0929e: Add CMake stub


Date: Mon, 30 Dec 2024 11:25:27 -0800
From: wxrdnx <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] c0929e: Add CMake stub
  Branch: refs/heads/angushe/riscv
  Home:   https://github.com/dyninst/dyninst
  Commit: c0929e623e71d7e1017a85a5de2dae95e8561f06
      https://github.com/dyninst/dyninst/commit/c0929e623e71d7e1017a85a5de2dae95e8561f06
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 03afbbdfb00e61852a8525259f378311c8081772
      https://github.com/dyninst/dyninst/commit/03afbbdfb00e61852a8525259f378311c8081772
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: 786ac3acc9d77558edb3cf0ac3e7ede25d151c9f
      https://github.com/dyninst/dyninst/commit/786ac3acc9d77558edb3cf0ac3e7ede25d151c9f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: 4af885a73c33cef16912f2e90deb24474eb78fc2
      https://github.com/dyninst/dyninst/commit/4af885a73c33cef16912f2e90deb24474eb78fc2
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  Changed paths:
    M instructionAPI/capstone/import.py

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


  Commit: 9db3ef22b3da14c3c69198c1a4e38305e35b7b44
      https://github.com/dyninst/dyninst/commit/9db3ef22b3da14c3c69198c1a4e38305e35b7b44
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: e35d71dd821ca1631c156915b6ceb6227e0561af
      https://github.com/dyninst/dyninst/commit/e35d71dd821ca1631c156915b6ceb6227e0561af
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: e20951e8487e5fdbbc09194166a0749d4d7a72f1
      https://github.com/dyninst/dyninst/commit/e20951e8487e5fdbbc09194166a0749d4d7a72f1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: 453a3f4d5239df06ad67fd7cdb83eccc9cd53bee
      https://github.com/dyninst/dyninst/commit/453a3f4d5239df06ad67fd7cdb83eccc9cd53bee
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: 4f015d14722a15a7cdf67ad540a3c9147984a6cb
      https://github.com/dyninst/dyninst/commit/4f015d14722a15a7cdf67ad540a3c9147984a6cb
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: b49824f1d2ce490af0fbd8013553a448c30115e8
      https://github.com/dyninst/dyninst/commit/b49824f1d2ce490af0fbd8013553a448c30115e8
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: fbd5635fdb1696b757aa63309cf26b9d81dd071c
      https://github.com/dyninst/dyninst/commit/fbd5635fdb1696b757aa63309cf26b9d81dd071c
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: fac04fa45943a0aa9de32a9883e8af99366509d8
      https://github.com/dyninst/dyninst/commit/fac04fa45943a0aa9de32a9883e8af99366509d8
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 1b5705fca293efe36229b270e20577602982ad9f
      https://github.com/dyninst/dyninst/commit/1b5705fca293efe36229b270e20577602982ad9f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: d322ddd04783ad9e4a1f4b1daf8a834858e6ebad
      https://github.com/dyninst/dyninst/commit/d322ddd04783ad9e4a1f4b1daf8a834858e6ebad
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: a665d71164cd7f2690c1e34183b2fc3f84d45308
      https://github.com/dyninst/dyninst/commit/a665d71164cd7f2690c1e34183b2fc3f84d45308
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: d2df7e5d8d6529277997e5f20a670e59a0e99b7e
      https://github.com/dyninst/dyninst/commit/d2df7e5d8d6529277997e5f20a670e59a0e99b7e
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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

No need to reinvent the wheel.


  Commit: 85d6b85363647a1bba5e9fd67cc6e23541407b44
      https://github.com/dyninst/dyninst/commit/85d6b85363647a1bba5e9fd67cc6e23541407b44
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 0366fbaa0b79cd23127808566f558e1ebe822760
      https://github.com/dyninst/dyninst/commit/0366fbaa0b79cd23127808566f558e1ebe822760
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: ab0ca438da7979f70971d51c81e9f833b396f1d7
      https://github.com/dyninst/dyninst/commit/ab0ca438da7979f70971d51c81e9f833b396f1d7
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 6d580e44a0fb85baf9a4214a3378c0b9c31c7c21
      https://github.com/dyninst/dyninst/commit/6d580e44a0fb85baf9a4214a3378c0b9c31c7c21
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 1b4217f741957780f3eea4e06fb79c895ff7abb3
      https://github.com/dyninst/dyninst/commit/1b4217f741957780f3eea4e06fb79c895ff7abb3
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 8612e32c3cde026daff14cdc524227b385391583
      https://github.com/dyninst/dyninst/commit/8612e32c3cde026daff14cdc524227b385391583
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 4eac0cee11c944eba3b8261f1165901995f6dbe2
      https://github.com/dyninst/dyninst/commit/4eac0cee11c944eba3b8261f1165901995f6dbe2
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: 4e2f53a084282f5b62bf9bcca536e79a2b6a6597
      https://github.com/dyninst/dyninst/commit/4e2f53a084282f5b62bf9bcca536e79a2b6a6597
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: b54053375429e9754b33ab69028bd485cac6f3f4
      https://github.com/dyninst/dyninst/commit/b54053375429e9754b33ab69028bd485cac6f3f4
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 6ec481f6638ca50be559fb536e83d13ebaebec4a
      https://github.com/dyninst/dyninst/commit/6ec481f6638ca50be559fb536e83d13ebaebec4a
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 07615e2bf5f825a647f08eb262e2ac4bc5c7ede0
      https://github.com/dyninst/dyninst/commit/07615e2bf5f825a647f08eb262e2ac4bc5c7ede0
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: be1220fe1d5eba9d1e4ae9773f0f72881c59bd5b
      https://github.com/dyninst/dyninst/commit/be1220fe1d5eba9d1e4ae9773f0f72881c59bd5b
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 8339bc8682907564d9a8335b4365c769109f3df1
      https://github.com/dyninst/dyninst/commit/8339bc8682907564d9a8335b4365c769109f3df1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: a234f0c682f9abc35f9623d6a7d519b84522fe19
      https://github.com/dyninst/dyninst/commit/a234f0c682f9abc35f9623d6a7d519b84522fe19
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: e1da01115da590b3d4c8af85d5b50e3efb103dcc
      https://github.com/dyninst/dyninst/commit/e1da01115da590b3d4c8af85d5b50e3efb103dcc
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 661003e5b9d7ce24cc4473967a598b9d78296962
      https://github.com/dyninst/dyninst/commit/661003e5b9d7ce24cc4473967a598b9d78296962
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 3dd61dc9113e4c38f32e930860b48796601bca18
      https://github.com/dyninst/dyninst/commit/3dd61dc9113e4c38f32e930860b48796601bca18
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: 49d7bfe77e8023cca35710ad2e9a834c8991ba86
      https://github.com/dyninst/dyninst/commit/49d7bfe77e8023cca35710ad2e9a834c8991ba86
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: cd85667569262e65d4ea46b3a454b681cc44a8bc
      https://github.com/dyninst/dyninst/commit/cd85667569262e65d4ea46b3a454b681cc44a8bc
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: c0898e8106d2c995938c8a753755a4b2a96ff85a
      https://github.com/dyninst/dyninst/commit/c0898e8106d2c995938c8a753755a4b2a96ff85a
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: efd7150fb6ce2d353445cdcb10143c15a9365c95
      https://github.com/dyninst/dyninst/commit/efd7150fb6ce2d353445cdcb10143c15a9365c95
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 875da049225eb1f78deebff287493ef26e2f84cf
      https://github.com/dyninst/dyninst/commit/875da049225eb1f78deebff287493ef26e2f84cf
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: a1c4f0fd9ff15f18d398f8817cc118906cf8ec57
      https://github.com/dyninst/dyninst/commit/a1c4f0fd9ff15f18d398f8817cc118906cf8ec57
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: bf696768290ee50a318f411060e2df7257df17f5
      https://github.com/dyninst/dyninst/commit/bf696768290ee50a318f411060e2df7257df17f5
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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

This better reflects its meaning.


  Commit: 01428a4c740700776598324cbd3645055e0cf582
      https://github.com/dyninst/dyninst/commit/01428a4c740700776598324cbd3645055e0cf582
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: c5a4e737d8c180dfb92bb01cd20e28d91a180cd1
      https://github.com/dyninst/dyninst/commit/c5a4e737d8c180dfb92bb01cd20e28d91a180cd1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  Changed paths:
    M instructionAPI/CMakeLists.txt

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


  Commit: 03958a7ad294bbedb96efc127d0171061d40f78e
      https://github.com/dyninst/dyninst/commit/03958a7ad294bbedb96efc127d0171061d40f78e
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 7592c19c6026b2a2e8697ecdf981770c63df2879
      https://github.com/dyninst/dyninst/commit/7592c19c6026b2a2e8697ecdf981770c63df2879
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  Changed paths:
    M instructionAPI/CMakeLists.txt

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


  Commit: e2fd72f12366be1d7e8361ff0b21452234a9e8c3
      https://github.com/dyninst/dyninst/commit/e2fd72f12366be1d7e8361ff0b21452234a9e8c3
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: d809aebdb023523fc11e683f0083f5b5dab55bd2
      https://github.com/dyninst/dyninst/commit/d809aebdb023523fc11e683f0083f5b5dab55bd2
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: cc06d83a28a4cf29c6bee0a3bd1f05aa143346e1
      https://github.com/dyninst/dyninst/commit/cc06d83a28a4cf29c6bee0a3bd1f05aa143346e1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 3712ae10a7d44488d98846b4495a2c188e975814
      https://github.com/dyninst/dyninst/commit/3712ae10a7d44488d98846b4495a2c188e975814
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  Changed paths:
    M cmake/tpls/DyninstCapstone.cmake

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


  Commit: 7bd9751a5855988a6753dc44b32814bf5e01ed04
      https://github.com/dyninst/dyninst/commit/7bd9751a5855988a6753dc44b32814bf5e01ed04
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: c9d1e4c09e7236c18805891c183052d6ede2dca0
      https://github.com/dyninst/dyninst/commit/c9d1e4c09e7236c18805891c183052d6ede2dca0
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: da04f1de78a630f581b0a974d24489a087709729
      https://github.com/dyninst/dyninst/commit/da04f1de78a630f581b0a974d24489a087709729
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: b0ae4b96173a4687b101186732ad2cf2cdcb147b
      https://github.com/dyninst/dyninst/commit/b0ae4b96173a4687b101186732ad2cf2cdcb147b
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: be566119d4c881f66f56a86091e9cd16315b9a0e
      https://github.com/dyninst/dyninst/commit/be566119d4c881f66f56a86091e9cd16315b9a0e
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: 60d21b41c41a2835c4d15aaf7a52331d02fe5198
      https://github.com/dyninst/dyninst/commit/60d21b41c41a2835c4d15aaf7a52331d02fe5198
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: 9fa5f342da234eae675b1610ebd57b99d03281ab
      https://github.com/dyninst/dyninst/commit/9fa5f342da234eae675b1610ebd57b99d03281ab
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: e042f0506106c6e383cb3ad6bb19d51675076007
      https://github.com/dyninst/dyninst/commit/e042f0506106c6e383cb3ad6bb19d51675076007
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: e73d57106a250fe9a158afb42d0c1b0106094e29
      https://github.com/dyninst/dyninst/commit/e73d57106a250fe9a158afb42d0c1b0106094e29
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  Changed paths:
    M dataflowAPI/sail/sail_lex.pl

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


  Commit: 9bb6dd18f6a6be1a93fbccb95b499d683296ee23
      https://github.com/dyninst/dyninst/commit/9bb6dd18f6a6be1a93fbccb95b499d683296ee23
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  Changed paths:
    M dataflowAPI/sail/sail_lex.pl

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


  Commit: b7a9000d70bece2ff0685ae2d3b4304e3bc3e09e
      https://github.com/dyninst/dyninst/commit/b7a9000d70bece2ff0685ae2d3b4304e3bc3e09e
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  Changed paths:
    M dataflowAPI/sail/sail_syntax.pl

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


  Commit: fbe7a1aef17ba103981fda82989b9c8c14c9d56e
      https://github.com/dyninst/dyninst/commit/fbe7a1aef17ba103981fda82989b9c8c14c9d56e
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: 475898b26f34146937249eff3402821b7be91144
      https://github.com/dyninst/dyninst/commit/475898b26f34146937249eff3402821b7be91144
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  Changed paths:
    M common/h/Architecture.h

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


  Commit: f6caf3541b4fe627d5602b4aaeb82770746fcf80
      https://github.com/dyninst/dyninst/commit/f6caf3541b4fe627d5602b4aaeb82770746fcf80
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  Changed paths:
    M dataflowAPI/sail/sail_to_rose.pl

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


  Commit: a9ecba17402870774d52c18357743b5ac66e6765
      https://github.com/dyninst/dyninst/commit/a9ecba17402870774d52c18357743b5ac66e6765
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  Changed paths:
    M common/src/registers/MachRegister.C
    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: 8e949be7539940ac940e91e62532b4b61110c607
      https://github.com/dyninst/dyninst/commit/8e949be7539940ac940e91e62532b4b61110c607
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: a4e9536c14ac3b494f1d4d9449ca30d909c37f89
      https://github.com/dyninst/dyninst/commit/a4e9536c14ac3b494f1d4d9449ca30d909c37f89
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: 95501c3b1465ff80abbe03f1381b7e44709a766e
      https://github.com/dyninst/dyninst/commit/95501c3b1465ff80abbe03f1381b7e44709a766e
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: 7b290041f1565d3f932b927d4919b19fb25db252
      https://github.com/dyninst/dyninst/commit/7b290041f1565d3f932b927d4919b19fb25db252
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: 4c6ce6e02df7449789b34063fd26eaee713e1274
      https://github.com/dyninst/dyninst/commit/4c6ce6e02df7449789b34063fd26eaee713e1274
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: e7ea5e9916994207e804278da3993422532aaeeb
      https://github.com/dyninst/dyninst/commit/e7ea5e9916994207e804278da3993422532aaeeb
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: ddffa43e452d7f41241aac7b4aaf02f57cd3f395
      https://github.com/dyninst/dyninst/commit/ddffa43e452d7f41241aac7b4aaf02f57cd3f395
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


  Commit: 5c05e3ac019592287fba325b6089fabb09e5ec6e
      https://github.com/dyninst/dyninst/commit/5c05e3ac019592287fba325b6089fabb09e5ec6e
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: 729e23f2e48257abb0822665d36ac21b5967bd5f
      https://github.com/dyninst/dyninst/commit/729e23f2e48257abb0822665d36ac21b5967bd5f
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  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: 02c0819127a8f09bf9e1a1e3371f92fbe29e51d6
      https://github.com/dyninst/dyninst/commit/02c0819127a8f09bf9e1a1e3371f92fbe29e51d6
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

  Changed paths:
    M common/h/registers/riscv64_regs.h
    M common/src/registers/MachRegister.C
    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: e52f0fff6aabbbbb6bd1ceb604be86e7cfc9d904
      https://github.com/dyninst/dyninst/commit/e52f0fff6aabbbbb6bd1ceb604be86e7cfc9d904
  Author: wxrdnx <wxrdnx@xxxxxxxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 Dec 2024)

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

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


Compare: https://github.com/dyninst/dyninst/compare/a03f441c95f4...e52f0fff6aab

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