Skip to content

Commit

Permalink
DynC init
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Dec 27, 2023
1 parent 9edd213 commit caf37d1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
12 changes: 12 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ Dyninst is a collection of libraries for performing binary instrumentation, anal
modification. These libraries are assembled into a collection of toolkits that allow users
to more effectively use different aspects of binary analysis for building their own tools.

:ref:`sec:dyncapi-intro`
A C-like language for enabling rapid creation of Dyninst mutators without the need to specify API-level
interactions.

.. _main-support:

-------
Expand Down Expand Up @@ -57,6 +61,14 @@ Developed by
basics/using
basics/first_mutator

.. toctree::
:caption: toolkit overviews
:name: toolkit-overviews
:hidden:
:maxdepth: 3

usertools/DynC/overview

.. toctree::
:caption: examples
:name: examples
Expand Down
12 changes: 6 additions & 6 deletions docs/dynC_API/index.rst → docs/usertools/DynC/overview.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
DynC API
========
.. _`sec:dyncapi-intro`:

Motivation
----------
====
DynC
====

Dyninst is a powerful instrumentation tool, but specifying
instrumentation code (known as an Abstract Syntax Tree) in the
Expand All @@ -18,7 +18,7 @@ notifies the user when entering and exiting functions, and keeps track
of the number of times each function is called.

Dyninst API
~~~~~~~~~~~
===========

When creating a function tracer using the Dyninst API, the programmer
must perform many discrete lookups and create many
Expand Down Expand Up @@ -111,7 +111,7 @@ Insert the snippets:
.. _dync-api-1:

The DynC API
~~~~~~~~~~~~
------------

A function tracer is much easier to build in DynC API, especially if
reading dynC code from file. Storing dynC code in external files not
Expand Down

0 comments on commit caf37d1

Please sign in to comment.