hamjin / dyninst

DyninstAPI: Tools for binary instrumentation, analysis, and modification.

Home Page:http://www.dyninst.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dyninst

Notes

  • Known issues should have open issues associated with them.
  • ARMv8 (64 bit) support for dynamic instrumentation is experimental and incomplete. For more details about current supported functionality refer to Dyninst Support for the ARMv8 (64 bit).

Build DyninstAPI and its subcomponents

Docker Containers

Containers are provided that can be used for Dyninst development (e.g., make changes to Dyninst and quickly rebuild it) or for development of your own tools (e.g., have a container ready to go with Dyninst). Links will be added here when the containers are pushed to the Dyninst associated package registries. Instructions for usage and building locally are provided in the docker directory.

Install with Spack

spack install dyninst

Build from source

  1. Configure Dyninst with CMake

    cmake /path/to/dyninst/source -DCMAKE_INSTALL_PREFIX=/path/to/installation

  2. Build and install Dyninst in parallel

    make install -jN

If this does not work for you, please refer to the Wiki for detailed instructions. If you encounter any errors, see the Building Dyninst or leave a GitHub issue.

Known Issues

  • Windows 64-bit mode is not yet supported

  • Windows rewriter mode is not yet supported

  • Exceptions in relocated code will not be caught

  • Linux rewriter mode for 32-bit, statically linked binaries does not support binaries with .plt, .rel, or .rela sections.

  • Callbacks at thread or process exit that stop the process will deadlock when a SIGSEGV occurs on a thread other than the main thread of a process

  • Stackwalker is fragile on Windows

  • Parsing a binary with no functions (typically a single object file) will crash at CodeObject destruction time.

About

DyninstAPI: Tools for binary instrumentation, analysis, and modification.

http://www.dyninst.org

License:GNU Lesser General Public License v2.1


Languages

Language:C 68.2%Language:C++ 27.9%Language:TeX 2.7%Language:CMake 0.5%Language:Python 0.3%Language:Yacc 0.1%Language:Perl 0.1%Language:Assembly 0.1%Language:Lex 0.0%Language:Shell 0.0%Language:Dockerfile 0.0%