[DynInst_API:] [dyninst/dyninst] 7509e5: Implementing emitLoadOrigRegRelative and emitStore...


Date: Tue, 15 Jan 2019 15:10:06 -0800
From: "Sasha @leela" <sasha@xxxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 7509e5: Implementing emitLoadOrigRegRelative and emitStore...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 7509e580af034313d7a6b86550360c36cfeeb8af
      https://github.com/dyninst/dyninst/commit/7509e580af034313d7a6b86550360c36cfeeb8af
  Author: Sasha @leela <sasha@xxxxxxxxxxx>
  Date:   2018-11-16 (Fri, 16 Nov 2018)

  Changed paths:
    M dyninstAPI/src/emit-aarch64.C
    M dyninstAPI/src/emit-aarch64.h
    M dyninstAPI/src/inst-aarch64.C

  Log Message:
  -----------
  Implementing emitLoadOrigRegRelative and emitStoreIndir.
Adding case of loadRegRelativeOp and storeIndirOp for emitVload.
test1_23 passes.


  Commit: b737ff5b691a8f66eb95070c678e0e59bf0f7acd
      https://github.com/dyninst/dyninst/commit/b737ff5b691a8f66eb95070c678e0e59bf0f7acd
  Author: Sasha @leela <sasha@xxxxxxxxxxx>
  Date:   2018-11-21 (Wed, 21 Nov 2018)

  Changed paths:
    M dyninstAPI/src/codegen-aarch64.C
    M dyninstAPI/src/emit-aarch64.C
    M dyninstAPI/src/inst-aarch64.C

  Log Message:
  -----------
  Fix long branch generation.
Fix emit load register indirect.
Implements hasBeenBound for ARM.
Tests passing now: test1_14, 24, 26, 27, 28, 29, and 39.


  Commit: 5993cec8356670f14948c7733f31b5a03047ac9e
      https://github.com/dyninst/dyninst/commit/5993cec8356670f14948c7733f31b5a03047ac9e
  Author: Sasha @leela <sasha@xxxxxxxxxxx>
  Date:   2018-11-28 (Wed, 28 Nov 2018)

  Changed paths:
    M README.md
    M common/doc/manual_frontpage.tex
    M dataflowAPI/doc/dataflowAPI.pdf
    M instructionAPI/doc/instructionAPI.pdf
    M parseAPI/doc/1-Intro.tex
    M parseAPI/doc/parseAPI.pdf
    M proccontrol/src/linux.C
    M symtabAPI/doc/symtabAPI.pdf

  Log Message:
  -----------
  Merge branch 'master' into ARMv8


  Commit: d0e40ec324fe92704ad07f49d0c82e83420e01e2
      https://github.com/dyninst/dyninst/commit/d0e40ec324fe92704ad07f49d0c82e83420e01e2
  Author: Sasha @leela <sasha@xxxxxxxxxxx>
  Date:   2018-12-05 (Wed, 05 Dec 2018)

  Changed paths:
    M dyninstAPI/src/emit-aarch64.C
    M dyninstAPI/src/emit-aarch64.h
    M dyninstAPI/src/inst-aarch64.C

  Log Message:
  -----------
  Implements getDynamicCallSiteArgs to monitor dynamic call sites.
Implements emitLoadOrigRegister to get frame pointer register.
Test1_40 passes.


  Commit: b397e36a718ef187e23ca59079a6354c96b7cc22
      https://github.com/dyninst/dyninst/commit/b397e36a718ef187e23ca59079a6354c96b7cc22
  Author: Benjamin Welton <welton@xxxxxxxxxxx>
  Date:   2018-12-13 (Thu, 13 Dec 2018)

  Changed paths:
    M dyninstAPI/src/dynProcess.C

  Log Message:
  -----------
  Enable detach from process and leave stopped

Enables the ability to detach from a process but leave it in a stopped state

(cherry picked from commit 8470129b60a6c13b21839234f9804c355a73d8a4)


  Commit: f2667e9f69cce9304ce2bc09543322620280b486
      https://github.com/dyninst/dyninst/commit/f2667e9f69cce9304ce2bc09543322620280b486
  Author: Sasha @leela <sasha@xxxxxxxxxxx>
  Date:   2018-12-13 (Thu, 13 Dec 2018)

  Changed paths:
    M dyninstAPI/src/codegen-aarch64.C

  Log Message:
  -----------
  Fix modifyData to correctly emit instructions
when the offset of LDR (literal) instructions, after a relocation,
is larger than +-1MB.
test_reloc passes.


  Commit: 2816da497589c581eabbb785ca0949eeb5d98f15
      https://github.com/dyninst/dyninst/commit/2816da497589c581eabbb785ca0949eeb5d98f15
  Author: Sasha @leela <sasha@xxxxxxxxxxx>
  Date:   2018-12-21 (Fri, 21 Dec 2018)

  Changed paths:
    M dyninstAPI/src/codegen-aarch64.C
    M dyninstAPI/src/codegen-aarch64.h
    M dyninstAPI/src/emit-aarch64.C
    M dyninstAPI/src/inst-aarch64.C

  Log Message:
  -----------
  Generating Load and Store of 1, 2, 4 or 8 bytes
for general purpose registers.
The function generateMemAccess32or64 has been renamed
to generateMemAccess, and the boolean parameter changed
to integer to hold the size of bytes to be loaded or
stored.
test_snip_ref_shlib_var passes.


  Commit: 0c315286da36fbb09741e963fe0b5ecbf0a1e8ba
      https://github.com/dyninst/dyninst/commit/0c315286da36fbb09741e963fe0b5ecbf0a1e8ba
  Author: LER0ever <etasry@xxxxxxxxx>
  Date:   2018-12-27 (Thu, 27 Dec 2018)

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

  Log Message:
  -----------
  implement params ref for more than 8 args for AArch64
test1_36 now passes on ARMv8


  Commit: a307b55772c8b1c373b1d5cfce674d8fff060a26
      https://github.com/dyninst/dyninst/commit/a307b55772c8b1c373b1d5cfce674d8fff060a26
  Author: LER0ever <etasry@xxxxxxxxx>
  Date:   2018-12-27 (Thu, 27 Dec 2018)

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

  Log Message:
  -----------
  fmt mixed-indented line changes to space-indented


  Commit: 79cbbc0dee3d4a29603286427ae7b34a2ebd4c31
      https://github.com/dyninst/dyninst/commit/79cbbc0dee3d4a29603286427ae7b34a2ebd4c31
  Author: Sasha @leela <sasha@xxxxxxxxxxx>
  Date:   2018-12-28 (Fri, 28 Dec 2018)

  Changed paths:
    M .gitignore
    M CMakeLists.txt
    M common/src/Types.h
    M common/src/arch-power.h
    M common/src/arch-x86.h
    M dyninstAPI/src/addressSpace.C
    M dyninstAPI/src/ast.C
    M dyninstAPI/src/codegen-aarch64.C
    M dyninstAPI/src/codegen-aarch64.h
    M dyninstAPI/src/codegen-power.C
    M dyninstAPI/src/codegen-power.h
    M dyninstAPI/src/emit-aarch64.C
    M dyninstAPI/src/emit-aarch64.h
    M dyninstAPI/src/emit-power.h
    M dyninstAPI/src/emit-x86.C
    M dyninstAPI/src/emit-x86.h
    M dyninstAPI/src/emitter.h
    M dyninstAPI/src/image.C
    M dyninstAPI/src/inst-aarch64.C
    M dyninstAPI/src/inst-power.C
    M dyninstAPI/src/inst-power.h
    M dyninstAPI/src/inst-x86.C
    M dyninstAPI/src/inst-x86.h
    M dyninstAPI/src/inst.h
    M dyninstAPI/src/mapped_object.C
    M dyninstAPI/src/mapped_object.h
    M dyninstAPI/src/parse-cfg.h
    M examples/CMakeLists.txt
    A examples/codeCoverage.dir/Makefile.afs
    A examples/codeCoverage.dir/README
    A examples/codeCoverage.dir/README.staticdist
    A examples/codeCoverage.dir/codeCoverage.C
    A examples/codeCoverage.dir/libInst.C
    A examples/codeCoverage.dir/libInst.h
    A examples/codeCoverage.dir/libtestcc.c
    A examples/codeCoverage.dir/libtestcc.h
    A examples/codeCoverage.dir/package.bash
    A examples/codeCoverage.dir/testcc.c
    R examples/codeCoverage/Makefile.afs
    R examples/codeCoverage/README
    R examples/codeCoverage/README.staticdist
    R examples/codeCoverage/codeCoverage.C
    R examples/codeCoverage/libInst.C
    R examples/codeCoverage/libInst.h
    R examples/codeCoverage/libtestcc.c
    R examples/codeCoverage/libtestcc.h
    R examples/codeCoverage/package.bash
    R examples/codeCoverage/testcc.c
    A examples/unstrip.dir/Makefile.afs
    A examples/unstrip.dir/README
    A examples/unstrip.dir/callback.C
    A examples/unstrip.dir/callback.h
    A examples/unstrip.dir/database.C
    A examples/unstrip.dir/database.h
    A examples/unstrip.dir/ddb.db
    A examples/unstrip.dir/fingerprint.C
    A examples/unstrip.dir/fingerprint.h
    A examples/unstrip.dir/foo.c
    A examples/unstrip.dir/foo.sh
    A examples/unstrip.dir/generate-learn-binary.bash
    A examples/unstrip.dir/package.bash
    A examples/unstrip.dir/params.db
    A examples/unstrip.dir/predicates.h
    A examples/unstrip.dir/semanticDescriptor.C
    A examples/unstrip.dir/semanticDescriptor.h
    A examples/unstrip.dir/test.c
    A examples/unstrip.dir/types.C
    A examples/unstrip.dir/types.h
    A examples/unstrip.dir/unistd.db
    A examples/unstrip.dir/unstrip.C
    A examples/unstrip.dir/util.C
    A examples/unstrip.dir/util.h
    R examples/unstrip/Makefile.afs
    R examples/unstrip/README
    R examples/unstrip/callback.C
    R examples/unstrip/callback.h
    R examples/unstrip/database.C
    R examples/unstrip/database.h
    R examples/unstrip/ddb.db
    R examples/unstrip/fingerprint.C
    R examples/unstrip/fingerprint.h
    R examples/unstrip/foo.c
    R examples/unstrip/foo.sh
    R examples/unstrip/generate-learn-binary.bash
    R examples/unstrip/package.bash
    R examples/unstrip/params.db
    R examples/unstrip/predicates.h
    R examples/unstrip/semanticDescriptor.C
    R examples/unstrip/semanticDescriptor.h
    R examples/unstrip/test.c
    R examples/unstrip/types.C
    R examples/unstrip/types.h
    R examples/unstrip/unistd.db
    R examples/unstrip/unstrip.C
    R examples/unstrip/util.C
    R examples/unstrip/util.h
    M parseThat/CMakeLists.txt
    M proccontrol/src/loadLibrary/codegen-ppc.C
    M symtabAPI/src/emitElf.C
    M symtabAPI/src/emitElfStatic.C

  Log Message:
  -----------
  Merge branch 'master' into ARMv8


  Commit: 4082e5102f32d471925960251d22a50d6246ac15
      https://github.com/dyninst/dyninst/commit/4082e5102f32d471925960251d22a50d6246ac15
  Author: Sasha @leela <sasha@xxxxxxxxxxx>
  Date:   2018-12-28 (Fri, 28 Dec 2018)

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

  Log Message:
  -----------
  Merge branch 'ARMv8' of https://github.com/dyninst/dyninst into ARMv8


  Commit: e15d680d03ebe9e2ecc9c0f5b37c956233d6c190
      https://github.com/dyninst/dyninst/commit/e15d680d03ebe9e2ecc9c0f5b37c956233d6c190
  Author: Yuhan Xie <xie75@xxxxxxxx>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M instructionAPI/src/power_opcode_tables.C

  Log Message:
  -----------
  Cleaned up power_opcode_table.C, revised several duplications.
Some old instructions was not deleted in the previous release, which would cause the new instructions with the same opcode futile.
All duplications has been revised but two special duos (mfocrf & mfcr, fcfids & fcfid)


  Commit: 68ff0f7733497c84ab057ac78bc06fe9199c365c
      https://github.com/dyninst/dyninst/commit/68ff0f7733497c84ab057ac78bc06fe9199c365c
  Author: Yuhan Xie <xie75@xxxxxxxx>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

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

  Log Message:
  -----------
  Realized effective address calculation, but still need debugging as the result is not always correct.


  Commit: 82da9813d94c08ad9fd95212c20f8e419be9eda3
      https://github.com/dyninst/dyninst/commit/82da9813d94c08ad9fd95212c20f8e419be9eda3
  Author: Sasha @leela <sasha@xxxxxxxxxxx>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M dyninstAPI/src/inst-aarch64.C
    M instructionAPI/src/power_opcode_tables.C

  Log Message:
  -----------
  Merge branch 'ARMv8' of https://github.com/dyninst/dyninst into ARMv8


  Commit: 1250f89b07d6f696dc89f284b91842cbb8d89601
      https://github.com/dyninst/dyninst/commit/1250f89b07d6f696dc89f284b91842cbb8d89601
  Author: Sasha @leela <sasha@xxxxxxxxxxx>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M dyninstAPI/src/Relocation/CodeMover.h
    M dyninstAPI/src/addressSpace.C
    M dyninstAPI/src/codegen.C
    M dyninstAPI/src/emit-x86.C

  Log Message:
  -----------
  Merge branch 'master' into ARMv8


  Commit: ca68472cf6d1a76d02b9ceaa6ed30235ae12ab94
      https://github.com/dyninst/dyninst/commit/ca68472cf6d1a76d02b9ceaa6ed30235ae12ab94
  Author: Sasha @leela <sasha@xxxxxxxxxxx>
  Date:   2019-01-10 (Thu, 10 Jan 2019)

  Changed paths:
    M symtabAPI/src/Object-elf.C
    M symtabAPI/src/emitElfStatic-aarch64.C
    M symtabAPI/src/emitElfStatic-ppc32.C
    M symtabAPI/src/emitElfStatic-ppc64.C
    M symtabAPI/src/emitElfStatic-x86.C
    M symtabAPI/src/emitElfStatic.C

  Log Message:
  -----------
  Moving funtion emitElfUtils::updateRelocation to specific platform
files, since this function uses machine specific macros from elf.h


  Commit: 58985e9c66d0bfb56a8e26442c07c67564968837
      https://github.com/dyninst/dyninst/commit/58985e9c66d0bfb56a8e26442c07c67564968837
  Author: Sasha @leela <sasha@xxxxxxxxxxx>
  Date:   2019-01-15 (Tue, 15 Jan 2019)

  Changed paths:
    M dyninstAPI/src/codegen-aarch64.C
    M dyninstAPI/src/codegen-aarch64.h
    M dyninstAPI/src/dynProcess.C
    M dyninstAPI/src/emit-aarch64.C
    M dyninstAPI/src/emit-aarch64.h
    M dyninstAPI/src/inst-aarch64.C
    M instructionAPI/src/power_opcode_tables.C
    M symtabAPI/src/Object-elf.C
    M symtabAPI/src/emitElfStatic-aarch64.C
    M symtabAPI/src/emitElfStatic-ppc32.C
    M symtabAPI/src/emitElfStatic-ppc64.C
    M symtabAPI/src/emitElfStatic-x86.C
    M symtabAPI/src/emitElfStatic.C

  Log Message:
  -----------
  Merge branch 'fix_elf_h'


Compare: https://github.com/dyninst/dyninst/compare/93e2591bed91...58985e9c66d0
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 7509e5: Implementing emitLoadOrigRegRelative and emitStore..., Sasha @leela <=