Go to the documentation of this file.
14 #ifndef CPROVER_GOTO_DIFF_UNIFIED_DIFF_H
15 #define CPROVER_GOTO_DIFF_UNIFIED_DIFF_H
36 void output(std::ostream &os)
const;
45 typedef std::list<std::pair<goto_programt::const_targett, differencet>>
78 std::ostream &os)
const;
89 #endif // CPROVER_GOTO_DIFF_UNIFIED_DIFF_H
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
void output(std::ostream &os) const
std::map< irep_idt, differencest > differences_mapt
const goto_functionst & new_goto_functions
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
differences_mapt differences_map_
static bool instructions_equal(const goto_programt::instructiont &ins1, const goto_programt::instructiont &ins2)
const goto_functionst & old_goto_functions
std::vector< differencet > differencest
static differencest lcss(const goto_programt &old_goto_program, const goto_programt &new_goto_program)
A collection of goto functions.
unified_difft(const goto_modelt &model_old, const goto_modelt &model_new)
void output_diff(const irep_idt &identifier, const goto_programt &old_goto_program, const goto_programt &new_goto_program, const differencest &differences, std::ostream &os) const
const differences_mapt & differences_map() const
A generic container class for the GOTO intermediate representation of one function.
goto_program_difft get_diff(const irep_idt &function) const
std::list< std::pair< goto_programt::const_targett, differencet > > goto_program_difft
This class represents an instruction in the GOTO intermediate representation.
void unified_diff(const irep_idt &identifier, const goto_programt &old_goto_program, const goto_programt &new_goto_program)