-
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.
- Loading branch information
Showing
2 changed files
with
26 additions
and
10 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 |
---|---|---|
@@ -1,5 +1,28 @@ | ||
.. _`sec:SymbolicExpression.h`: | ||
|
||
SymbolicExpression.h | ||
==================== | ||
#################### | ||
|
||
.. cpp:class:: SymbolicExpression | ||
|
||
**Tracks the expanded assignments** | ||
|
||
Also provides several helper functions for manipulating ASTs. | ||
|
||
.. cpp:member:: Dyninst::ParseAPI::CodeSource* cs | ||
|
||
.. cpp:member:: Dyninst::ParseAPI::CodeRegion* cr | ||
|
||
For archive, there are overlapping regions. Need to use the right region. | ||
|
||
.. cpp:namespace:: Dyninst::parseAPI | ||
.. cpp:function:: Dyninst::AST::Ptr SimplifyRoot(Dyninst::AST::Ptr ast, Dyninst::Address addr, bool keepMultiOne = false) | ||
.. cpp:function:: Dyninst::AST::Ptr SimplifyAnAST(Dyninst::AST::Ptr ast, Dyninst::Address addr, bool keepMultiOne = false) | ||
.. cpp:function:: static Dyninst::AST::Ptr SubstituteAnAST(Dyninst::AST::Ptr ast, const std::map<Dyninst::AST::Ptr, Dyninst::AST::Ptr>& aliasMap) | ||
.. cpp:function:: static Dyninst::AST::Ptr DeepCopyAnAST(Dyninst::AST::Ptr ast) | ||
.. cpp:function:: static bool ContainAnAST(Dyninst::AST::Ptr root, Dyninst::AST::Ptr check) | ||
.. cpp:function:: bool ReadMemory(Dyninst::Address addr, uint64_t &val, int size) | ||
.. cpp:function:: std::pair<Dyninst::AST::Ptr, bool> ExpandAssignment(Dyninst::Assignment::Ptr, bool keepMultiOne = false) | ||
.. cpp:function:: static Dyninst::Address PCValue(Dyninst::Address cur, size_t insnSize, Dyninst::Architecture a) | ||
|
||
On x86 and x86-64, the value of PC is post-instruction which is the current address plus the length of the instruction. | ||
On ARMv8, the value of PC is pre-instruction, which is the current address. |
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