Branch: refs/heads/thaines/capstone_integration Home: https://github.com/dyninst/dyninst Commit: 0bcdaf671e7d620405327be76a1959fdab54c3cd https://github.com/dyninst/dyninst/commit/0bcdaf671e7d620405327be76a1959fdab54c3cd Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths: M CMakeLists.txt A cmake/tpls/DyninstCapstone.cmake M instructionAPI/CMakeLists.txt Log Message: ----------- Add CMake stub Commit: 997bb0a545d53beea95217d702811cc41aeb0fbc https://github.com/dyninst/dyninst/commit/997bb0a545d53beea95217d702811cc41aeb0fbc Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/capstone/import.py M 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: 197cfc149647c5d97b836c9634b64682c15b6faa https://github.com/dyninst/dyninst/commit/197cfc149647c5d97b836c9634b64682c15b6faa Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) 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: 0e2e24b54c0ca7d5e497e4795009d7f795dc456a https://github.com/dyninst/dyninst/commit/0e2e24b54c0ca7d5e497e4795009d7f795dc456a Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/capstone/import.py Log Message: ----------- Add mnemonic translation to import script Commit: cdc0e305d9dbd89c3b74b0b00f21b6b0fece29de https://github.com/dyninst/dyninst/commit/cdc0e305d9dbd89c3b74b0b00f21b6b0fece29de Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: A instructionAPI/src/x86/register-xlat.C A instructionAPI/src/x86/register-xlat.h Log Message: ----------- Add Capstone->Dyninst register translation Commit: 6f90def27af3e5758915db4ce95bed38e1476c2a https://github.com/dyninst/dyninst/commit/6f90def27af3e5758915db4ce95bed38e1476c2a Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: A instructionAPI/src/x86/mnemonic-xlat.C A instructionAPI/src/x86/mnemonic-xlat.h Log Message: ----------- Add Capstone->Dyninst mnemonic translation Commit: 30dab27d1fae4b681e5910967e8f20f463ebde3e https://github.com/dyninst/dyninst/commit/30dab27d1fae4b681e5910967e8f20f463ebde3e Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/src/InstructionDecoder-x86.C Log Message: ----------- InstructionDecoder-x86.C whitespace Commit: 77452348a2cd2683d30a4dc80f891c82365fb13a https://github.com/dyninst/dyninst/commit/77452348a2cd2683d30a4dc80f891c82365fb13a Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/CMakeLists.txt M instructionAPI/h/Instruction.h M instructionAPI/src/InstructionDecoderImpl.C A instructionAPI/src/x86/decoder.C A instructionAPI/src/x86/decoder.h Log Message: ----------- Add stub replacement for x86 decoder Commit: 433cb1d4f668eb861a2d00e06011e8301882afde https://github.com/dyninst/dyninst/commit/433cb1d4f668eb861a2d00e06011e8301882afde Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) 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: ec3683bc3452568270e087d705bc25e7749fc7d5 https://github.com/dyninst/dyninst/commit/ec3683bc3452568270e087d705bc25e7749fc7d5 Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/src/x86/decoder.C Log Message: ----------- Add decodeOpcode Commit: 0f26d3816845c6b4cefd86fc08f306946617f0c6 https://github.com/dyninst/dyninst/commit/0f26d3816845c6b4cefd86fc08f306946617f0c6 Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/src/x86/decoder.C Log Message: ----------- Add note in decodeOperands Commit: 8716c6e44107b30e154711fe13707a61d45117de https://github.com/dyninst/dyninst/commit/8716c6e44107b30e154711fe13707a61d45117de Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) 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: db8616d5c7f29bf81fc6b50055b954b5747badbd https://github.com/dyninst/dyninst/commit/db8616d5c7f29bf81fc6b50055b954b5747badbd Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/src/x86/decoder.h Log Message: ----------- stub -- refactor Commit: e7c2a43558440d4088832093051e15512e6f9267 https://github.com/dyninst/dyninst/commit/e7c2a43558440d4088832093051e15512e6f9267 Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/src/x86/decoder.C M instructionAPI/src/x86/decoder.h Log Message: ----------- Use disassembler object in decode_operands Commit: 91f4660cdd14b0a558f1bc0bbb94c831257c453f https://github.com/dyninst/dyninst/commit/91f4660cdd14b0a558f1bc0bbb94c831257c453f Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) 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: df84ccfd9b10b5602449b241a3a1999b0cc27327 https://github.com/dyninst/dyninst/commit/df84ccfd9b10b5602449b241a3a1999b0cc27327 Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/src/x86/decoder.C Log Message: ----------- Add detailed comments about operand types Commit: a1fb3b39895608abd38ebf09d4de8e308af716d0 https://github.com/dyninst/dyninst/commit/a1fb3b39895608abd38ebf09d4de8e308af716d0 Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/src/x86/decoder.C Log Message: ----------- Use Instruction::makeReturnExpression No need to reinvent the wheel. Commit: 534e71799ae8fa5a15a9eafe02a3bde2e23ec8be https://github.com/dyninst/dyninst/commit/534e71799ae8fa5a15a9eafe02a3bde2e23ec8be Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/src/x86/decoder.C Log Message: ----------- Remove redundant includes Commit: 9d20ceae8b02c9952714db91f64227271b4e7a32 https://github.com/dyninst/dyninst/commit/9d20ceae8b02c9952714db91f64227271b4e7a32 Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) 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: abce44a886743d689a0ab6ceee81577f19f587da https://github.com/dyninst/dyninst/commit/abce44a886743d689a0ab6ceee81577f19f587da Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/src/x86/decoder.C Log Message: ----------- Include decoding of {e,r}flags Commit: 3e73c636ce6e2481ffda17283b75d721e5e70fd4 https://github.com/dyninst/dyninst/commit/3e73c636ce6e2481ffda17283b75d721e5e70fd4 Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/src/x86/decoder.C Log Message: ----------- Fix comment for explicit operands Commit: b637619db437dd064d1df30e85f52d10782999a7 https://github.com/dyninst/dyninst/commit/b637619db437dd064d1df30e85f52d10782999a7 Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/src/x86/decoder.C Log Message: ----------- Fix explicit operands example Commit: 7d58083f2992654d3777826f458a466620010113 https://github.com/dyninst/dyninst/commit/7d58083f2992654d3777826f458a466620010113 Author: Tim Haines <thaines.as...@gmail.com> Date: 2023-12-14 (Thu, 14 Dec 2023) Changed paths: M instructionAPI/src/x86/decoder.C Log Message: ----------- Remove extraneous namespace qualifier Compare: https://github.com/dyninst/dyninst/compare/0bcdaf671e7d%5E...7d58083f2992 _______________________________________________ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api