-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #890 from reuk/include-order-fix
Include order fix
- Loading branch information
Showing
582 changed files
with
978 additions
and
938 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
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 |
---|---|---|
|
@@ -9,6 +9,8 @@ Author: Daniel Kroening, [email protected] | |
/// \file | ||
/// Abstract Interpretation | ||
|
||
#include "ai.h" | ||
|
||
#include <cassert> | ||
#include <memory> | ||
#include <sstream> | ||
|
@@ -19,8 +21,6 @@ Author: Daniel Kroening, [email protected] | |
|
||
#include "is_threaded.h" | ||
|
||
#include "ai.h" | ||
|
||
jsont ai_domain_baset::output_json( | ||
const ai_baset &ai, | ||
const namespacet &ns) const | ||
|
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 |
---|---|---|
|
@@ -9,11 +9,11 @@ Author: Daniel Kroening, [email protected] | |
/// \file | ||
/// Function Call Graphs | ||
|
||
#include "call_graph.h" | ||
|
||
#include <util/std_expr.h> | ||
#include <util/xml.h> | ||
|
||
#include "call_graph.h" | ||
|
||
call_grapht::call_grapht() | ||
{ | ||
} | ||
|
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
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 |
---|---|---|
|
@@ -9,11 +9,11 @@ Author: Daniel Kroening, [email protected] | |
/// \file | ||
/// Field-insensitive, location-sensitive bitvector analysis | ||
|
||
#include "custom_bitvector_analysis.h" | ||
|
||
#include <util/xml_expr.h> | ||
#include <util/simplify_expr.h> | ||
|
||
#include "custom_bitvector_analysis.h" | ||
|
||
#include <iostream> | ||
|
||
void custom_bitvector_domaint::set_bit( | ||
|
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
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
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
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
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 |
---|---|---|
|
@@ -9,10 +9,10 @@ Author: Daniel Kroening, [email protected] | |
/// \file | ||
/// Field-insensitive, location-sensitive escape analysis | ||
|
||
#include <util/simplify_expr.h> | ||
|
||
#include "escape_analysis.h" | ||
|
||
#include <util/simplify_expr.h> | ||
|
||
bool escape_domaint::is_tracked(const symbol_exprt &symbol) | ||
{ | ||
const irep_idt &identifier=symbol.get_identifier(); | ||
|
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 |
---|---|---|
|
@@ -10,13 +10,13 @@ Author: Daniel Kroening, [email protected] | |
/// \file | ||
/// Flow Insensitive Static Analysis | ||
|
||
#include "flow_insensitive_analysis.h" | ||
|
||
#include <cassert> | ||
|
||
#include <util/std_expr.h> | ||
#include <util/std_code.h> | ||
|
||
#include "flow_insensitive_analysis.h" | ||
|
||
exprt flow_insensitive_abstract_domain_baset::get_guard( | ||
locationt from, | ||
locationt to) const | ||
|
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 |
---|---|---|
|
@@ -9,6 +9,8 @@ Author: Daniel Kroening, [email protected] | |
/// \file | ||
/// GOTO Programs | ||
|
||
#include "goto_check.h" | ||
|
||
#include <algorithm> | ||
|
||
#include <util/simplify_expr.h> | ||
|
@@ -27,7 +29,6 @@ Author: Daniel Kroening, [email protected] | |
#include <util/options.h> | ||
|
||
#include "local_bitvector_analysis.h" | ||
#include "goto_check.h" | ||
|
||
class goto_checkt | ||
{ | ||
|
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
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 |
---|---|---|
|
@@ -9,10 +9,11 @@ Author: Daniel Kroening, [email protected] | |
/// \file | ||
/// Interval Analysis | ||
|
||
#include "interval_analysis.h" | ||
|
||
#include <util/find_symbols.h> | ||
|
||
#include "interval_domain.h" | ||
#include "interval_analysis.h" | ||
|
||
void instrument_intervals( | ||
const ait<interval_domaint> &interval_analysis, | ||
|
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 |
---|---|---|
|
@@ -9,6 +9,8 @@ Author: Daniel Kroening, [email protected] | |
/// \file | ||
/// Interval Domain | ||
|
||
#include "interval_domain.h" | ||
|
||
#ifdef DEBUG | ||
#include <iostream> | ||
#endif | ||
|
@@ -17,8 +19,6 @@ Author: Daniel Kroening, [email protected] | |
#include <util/std_expr.h> | ||
#include <util/arith_tools.h> | ||
|
||
#include "interval_domain.h" | ||
|
||
void interval_domaint::output( | ||
std::ostream &out, | ||
const ai_baset &ai, | ||
|
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 |
---|---|---|
|
@@ -9,13 +9,13 @@ Author: Daniel Kroening, [email protected] | |
/// \file | ||
/// Invariant Propagation | ||
|
||
#include "invariant_propagation.h" | ||
|
||
#include <util/simplify_expr.h> | ||
#include <util/base_type.h> | ||
#include <util/symbol_table.h> | ||
#include <util/std_expr.h> | ||
|
||
#include "invariant_propagation.h" | ||
|
||
void invariant_propagationt::make_all_true() | ||
{ | ||
for(auto &state : state_map) | ||
|
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 |
---|---|---|
|
@@ -9,6 +9,8 @@ Author: Daniel Kroening, [email protected] | |
/// \file | ||
/// Invariant Set | ||
|
||
#include "invariant_set.h" | ||
|
||
#include <iostream> | ||
|
||
#include <util/symbol_table.h> | ||
|
@@ -22,8 +24,6 @@ Author: Daniel Kroening, [email protected] | |
#include <util/c_types.h> | ||
#include <langapi/language_util.h> | ||
|
||
#include "invariant_set.h" | ||
|
||
void inv_object_storet::output(std::ostream &out) const | ||
{ | ||
for(unsigned i=0; i<entries.size(); i++) | ||
|
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 |
---|---|---|
|
@@ -9,10 +9,10 @@ Author: Daniel Kroening, [email protected] | |
/// \file | ||
/// Invariant Set Domain | ||
|
||
#include <util/simplify_expr.h> | ||
|
||
#include "invariant_set_domain.h" | ||
|
||
#include <util/simplify_expr.h> | ||
|
||
void invariant_set_domaint::transform( | ||
locationt from_l, | ||
locationt to_l, | ||
|
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
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 |
---|---|---|
|
@@ -9,6 +9,8 @@ Author: Daniel Kroening, [email protected] | |
/// \file | ||
/// Field-insensitive, location-sensitive may-alias analysis | ||
|
||
#include "local_bitvector_analysis.h" | ||
|
||
#include <iterator> | ||
#include <algorithm> | ||
|
||
|
@@ -19,8 +21,6 @@ Author: Daniel Kroening, [email protected] | |
#include <util/c_types.h> | ||
#include <langapi/language_util.h> | ||
|
||
#include "local_bitvector_analysis.h" | ||
|
||
void local_bitvector_analysist::flagst::print(std::ostream &out) const | ||
{ | ||
if(is_unknown()) | ||
|
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 |
---|---|---|
|
@@ -9,6 +9,8 @@ Author: Daniel Kroening, [email protected] | |
/// \file | ||
/// CFG for One Function | ||
|
||
#include "local_cfg.h" | ||
|
||
#if 0 | ||
#include <iterator> | ||
#include <algorithm> | ||
|
@@ -22,8 +24,6 @@ Author: Daniel Kroening, [email protected] | |
|
||
#endif | ||
|
||
#include "local_cfg.h" | ||
|
||
void local_cfgt::build(const goto_programt &goto_program) | ||
{ | ||
nodes.resize(goto_program.instructions.size()); | ||
|
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 |
---|---|---|
|
@@ -9,6 +9,8 @@ Author: Daniel Kroening, [email protected] | |
/// \file | ||
/// Field-insensitive, location-sensitive may-alias analysis | ||
|
||
#include "local_may_alias.h" | ||
|
||
#include <iterator> | ||
#include <algorithm> | ||
|
||
|
@@ -19,8 +21,6 @@ Author: Daniel Kroening, [email protected] | |
#include <util/c_types.h> | ||
#include <langapi/language_util.h> | ||
|
||
#include "local_may_alias.h" | ||
|
||
/// \return return 'true' iff changed | ||
bool local_may_aliast::loc_infot::merge(const loc_infot &src) | ||
{ | ||
|
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
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 |
---|---|---|
|
@@ -9,10 +9,10 @@ Author: Georg Weissenbacher, [email protected] | |
/// \file | ||
/// Dominators | ||
|
||
#include <iostream> | ||
|
||
#include "natural_loops.h" | ||
|
||
#include <iostream> | ||
|
||
void show_natural_loops(const goto_functionst &goto_functions) | ||
{ | ||
forall_goto_functions(it, goto_functions) | ||
|
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
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
Oops, something went wrong.