Public Member Functions | Private Member Functions | Friends | List of all members
r_exec::AntiPGMOverlay Class Reference

#include <pgm_overlay.h>

Inheritance diagram for r_exec::AntiPGMOverlay:
Inheritance graph
Collaboration diagram for r_exec::AntiPGMOverlay:
Collaboration graph

Public Member Functions

 ~AntiPGMOverlay ()
Overlayreduce (r_exec::View *input)
- Public Member Functions inherited from r_exec::PGMOverlay
virtual ~PGMOverlay ()
void reset ()
r_code::CodegetInputObject (uint16_t i) const
r_code::ViewgetInputView (uint16_t i) const
uint64_t get_birth_time () const
bool is_invalidated ()
- Public Member Functions inherited from r_exec::InputLessPGMOverlay
virtual ~InputLessPGMOverlay ()
bool inject_productions ()
- Public Member Functions inherited from r_exec::Overlay
virtual ~Overlay ()
void invalidate ()
r_code::CodegetObject () const
r_exec::ViewgetView () const
r_code::Codebuild_object (Atom head) const
- Public Member Functions inherited from core::_Object
virtual ~_Object ()
void incRef ()
virtual void decRef ()

Private Member Functions

 AntiPGMOverlay (Controller *c)
 AntiPGMOverlay (AntiPGMOverlay *original, uint16_t last_input_index, uint16_t value_limit)


class AntiPGMController

Additional Inherited Members

- Protected Types inherited from r_exec::PGMOverlay
enum  MatchResult { SUCCESS = 0, FAILURE = 1, IMPOSSIBLE = 3 }
- Protected Member Functions inherited from r_exec::PGMOverlay
MatchResult match (r_exec::View *input, uint16_t &input_index)
bool check_guards ()
MatchResult _match (r_exec::View *input, uint16_t pattern_index)
MatchResult __match (r_exec::View *input, uint16_t pattern_index)
Codedereference_in_ptr (Atom a)
void patch_input_code (uint16_t pgm_code_index, uint16_t input_index, uint16_t input_code_index, int16_t parent_index=-1)
virtual Codeget_mk_rdx (uint16_t &extent_index) const
void init ()
 PGMOverlay (Controller *c)
 PGMOverlay (PGMOverlay *original, uint16_t last_input_index, uint16_t value_commit_index)
- Protected Member Functions inherited from r_exec::InputLessPGMOverlay
bool evaluate (uint16_t index)
void patch_tpl_args ()
void patch_tpl_code (uint16_t pgm_code_index, uint16_t ipgm_code_index)
 InputLessPGMOverlay ()
 InputLessPGMOverlay (Controller *c)
- Protected Member Functions inherited from r_exec::Overlay
void load_code ()
void patch_code (uint16_t index, Atom value)
uint16_t get_last_patch_index ()
void unpatch_code (uint16_t patch_index)
void rollback ()
void commit ()
Codeget_core_object () const
 Overlay ()
 Overlay (Controller *c, bool load_code=true)
- Protected Member Functions inherited from core::_Object
 _Object ()
- Protected Attributes inherited from r_exec::PGMOverlay
r_code::list< uint16_t > input_pattern_indices
std::vector< P< r_code::View > > input_views
- Protected Attributes inherited from r_exec::InputLessPGMOverlay
std::vector< P< Code > > productions
- Protected Attributes inherited from r_exec::Overlay
volatile uint64_t invalidated
r_code::vector< Atomvalues
uint16_t code_size
std::vector< uint16_t > patch_indices
uint16_t value_commit_index
- Protected Attributes inherited from core::_Object
std::atomic_int_fast64_t refCount

Constructor & Destructor Documentation

r_exec::AntiPGMOverlay::AntiPGMOverlay ( Controller c)

Here is the caller graph for this function:

r_exec::AntiPGMOverlay::AntiPGMOverlay ( AntiPGMOverlay original,
uint16_t  last_input_index,
uint16_t  value_limit 
r_exec::AntiPGMOverlay::~AntiPGMOverlay ( )

Member Function Documentation

Overlay * r_exec::AntiPGMOverlay::reduce ( r_exec::View input)

Reimplemented from r_exec::PGMOverlay.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class AntiPGMController

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