Inferno  0.2
SearchReplace Class Reference

#include <search_replace.hpp>

Inherits CompareReplace.

Inherited by DetectSCDelta< SCFUNC >, DetectSCDynamic< SCFUNC >, DetectSCNotifyDelta, DetectSCNotifyImmediate, DetectSCStatic< SCFUNC >, DetectTerminationFunction< SCFUNC >, SlaveIntermediate< SearchReplace >, Steps::AddGotoBeforeLabel, Steps::AddInferredYield, Steps::AddLinkAddress, Steps::AddStateEnumVar, Steps::AddStateLabelVar, Steps::AddYieldFlag, Steps::ApplyBottomPolicy, Steps::ApplyCombGotoPolicy, Steps::ApplyLabelPolicy, Steps::ApplyTopPolicy, Steps::ApplyYieldGotoPolicy, Steps::AutosToModule, Steps::BreakToGoto, Steps::CleanupCompoundExpression, Steps::CleanupCompoundMulti, Steps::CleanupCompoundSingle, Steps::CleanUpDeadCode, Steps::CleanupDuplicateLabels, Steps::CleanupIneffectualGoto, Steps::CleanupIneffectualLabels, Steps::CleanupNestedIf, Steps::CleanupNop, Steps::CleanupUnusedLabels, Steps::CompactGotos, Steps::DeclsToModule, Steps::DetectCombableBreak, Steps::DetectCombableFor, Steps::DetectSuperLoop, Steps::DetectUncombableSwitch, Steps::DoToIfGoto, Steps::EnsureBootstrap, Steps::EnsureResetYield, Steps::EnsureSuperLoop, Steps::ExplicitiseReturn, Steps::ExplicitiseReturns, Steps::ExtractCallParams, Steps::FixFallthrough, Steps::ForToWhile, Steps::ForToWhile, Steps::GenerateImplicitCasts, Steps::GenerateStacks, Steps::GotoAfterWait, Steps::IfToIfGoto, Steps::InferBreak, Steps::InsertInferredYield, Steps::InsertSwitch, Steps::LabelTypeToEnum, Steps::LogicalAndToIf, Steps::LogicalOrToIf, Steps::LoopRotation, Steps::MakeAllBreakUncombable, Steps::MakeAllForUncombable, Steps::MakeFallThroughMachine, Steps::MergeFunctions, Steps::MoveInitIntoSuperLoop, Steps::MoveInstanceDeclarations, Steps::MultiplexorToIf, Steps::NormaliseConditionalGotos, Steps::ParamsViaTemps, Steps::PlaceLabelsInArray, Steps::ReduceVoidCompoundExpression, Steps::ReturnViaTemp, Steps::ShareGotos, Steps::SlaveTest, Steps::SplitInstanceDeclarations, Steps::SplitInstanceDeclarations2, Steps::SwapSubscriptMultiplex, Steps::SwitchCleanUp, Steps::SwitchToIfGoto, Steps::TempsAndStaticsToModule, Steps::ThreadToMethod, Steps::UseTempForReturnValue, Steps::WhileToDo, and Steps::WhileToDo.

Collaboration diagram for SearchReplace:
[legend]

List of all members.

Public Member Functions

 SearchReplace (TreePtr< Node > sp=TreePtr< Node >(), TreePtr< Node > rp=TreePtr< Node >(), bool im=true)
void Configure (TreePtr< Node > sp, TreePtr< Node > rp=TreePtr< Node >())
virtual void GetGraphInfo (vector< string > *labels, vector< TreePtr< Node > > *links) const

Detailed Description

Definition at line 173 of file search_replace.hpp.


Constructor & Destructor Documentation

SearchReplace::SearchReplace ( TreePtr< Node sp = TreePtr<Node>(),
TreePtr< Node rp = TreePtr<Node>(),
bool  im = true 
)

Definition at line 494 of file search_replace.cpp.

References Configure().


Member Function Documentation

void SearchReplace::Configure ( TreePtr< Node sp,
TreePtr< Node rp = TreePtr<Node>() 
)

Reimplemented from CompareReplace.

Definition at line 504 of file search_replace.cpp.

References ASSERT.

Referenced by SearchReplace().

void SearchReplace::GetGraphInfo ( vector< string > *  labels,
vector< TreePtr< Node > > *  links 
) const [virtual]

Reimplemented from CompareReplace.

Reimplemented in SlaveIntermediate< SearchReplace >.

Definition at line 540 of file search_replace.cpp.

References ASSERT, and CompareReplace::compare_pattern.


The documentation for this class was generated from the following files: