#include <references.h>
Public Types | |
| typedef TRefs::const_iterator | iterator |
Public Methods | |
| void | Add (vma_t from, vma_t to, enum FlowTypes type) |
| bool | IsPresent (vma_t from, vma_t to) const |
| iterator | beginReferenceTo (vma_t addr) const |
| iterator | endReferenceTo (vma_t addr) const |
Private Types | |
| typedef std::set< IstrReference, std::less< IstrReference > > | TRefs |
Private Attributes | |
| TRefs | refs |
|
|
Definition at line 55 of file references.h. Referenced by CodeParser::_ReverseScan(), beginReferenceTo(), endReferenceTo(), and CodeParser::ExecuteComplexReferenceMemory(). |
|
|
Definition at line 52 of file references.h. |
|
||||||||||||||||
|
Definition at line 33 of file references.cpp. References FlowTypes, refs, and vma_t. Referenced by CodeParser::CheckForAddress(), and CodeParser::ExtractTempRef().
00034 {
00035 refs.insert(IstrReference(from,to,true,type));
00036 refs.insert(IstrReference(to,from,false,type));
00037 }
|
|
|
Definition at line 44 of file references.cpp. References iterator, refs, and vma_t. Referenced by CodeParser::_ReverseScan(), CodeParser::AddExportTempFlow(), CodeParser::CheckReference(), and CodeParser::ExecuteComplexReferenceMemory().
00045 {
00046 return refs.lower_bound(IstrReference(addr,0));
00047 }
|
|
|
Definition at line 49 of file references.cpp. References iterator, refs, and vma_t. Referenced by CodeParser::_ReverseScan(), CodeParser::AddExportTempFlow(), CodeParser::CheckReference(), and CodeParser::ExecuteComplexReferenceMemory().
00050 {
00051 return refs.lower_bound(IstrReference(addr+1,0));
00052 }
|
|
||||||||||||
|
Definition at line 39 of file references.cpp. Referenced by CodeParser::AddTempFlow().
00040 {
00041 return refs.find(IstrReference(from,to)) != refs.end();
00042 }
|
|
|
Definition at line 53 of file references.h. Referenced by Add(), beginReferenceTo(), endReferenceTo(), and IsPresent(). |
1.2.15