-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put examples under 'getting started'
- Loading branch information
Showing
3 changed files
with
29 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Examples | ||
######## | ||
|
||
.. toctree:: | ||
:caption: examples | ||
:name: examples | ||
:hidden: | ||
:maxdepth: 2 | ||
|
||
symtab-add-type | ||
binary_analysis | ||
cfg | ||
function_disassembly | ||
instrument_function | ||
memory_access | ||
retee |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.. _`example:symtab-add-type`: | ||
|
||
Add new user type | ||
################# | ||
|
||
New user-defined types can be added to a :cpp:class:`Symtab <SymtabAPI::Symtab>` object. The | ||
following example shows both how to query type information after an | ||
object file is successfully parsed and also add a new structure type. | ||
|
||
.. rli:: https://raw.githubusercontent.com/dyninst/examples/master/symtabAPI/addType.cpp | ||
:language: cpp | ||
:linenos: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters