mirror of
https://github.com/Z3Prover/z3
synced 2025-04-11 03:33:35 +00:00
Merge branch 'static_analysis' of https://github.com/daniel-j-h/z3
# Conflicts: # src/ast/ast.h # src/interp/iz3foci.cpp # src/muz/duality/duality_dl_interface.cpp # src/util/hwf.h
This commit is contained in:
commit
6749c19ab1
|
@ -184,7 +184,7 @@ typedef enum
|
|||
Z3_PARAMETER_SYMBOL,
|
||||
Z3_PARAMETER_SORT,
|
||||
Z3_PARAMETER_AST,
|
||||
Z3_PARAMETER_FUNC_DECL,
|
||||
Z3_PARAMETER_FUNC_DECL
|
||||
} Z3_parameter_kind;
|
||||
|
||||
/**
|
||||
|
|
|
@ -1146,7 +1146,7 @@ typedef app proof; /* a proof is just an applicaton */
|
|||
|
||||
enum label_op_kind {
|
||||
OP_LABEL,
|
||||
OP_LABEL_LIT,
|
||||
OP_LABEL_LIT
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -37,7 +37,7 @@ class expr_pattern_match {
|
|||
CHECK_TERM,
|
||||
SET_BOUND,
|
||||
CHECK_BOUND,
|
||||
YIELD,
|
||||
YIELD
|
||||
};
|
||||
|
||||
struct instr {
|
||||
|
|
|
@ -27,4 +27,4 @@ void dyn_ack_params::updt_params(params_ref const & _p) {
|
|||
m_dack_threshold = p.dack_threshold();
|
||||
m_dack_gc = p.dack_gc();
|
||||
m_dack_gc_inv_decay = p.dack_gc_inv_decay();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ enum case_split_strategy {
|
|||
CS_ACTIVITY_WITH_CACHE, // case split based on activity and cache the activity
|
||||
CS_RELEVANCY, // case split based on relevancy
|
||||
CS_RELEVANCY_ACTIVITY, // case split based on relevancy and activity
|
||||
CS_RELEVANCY_GOAL, // based on relevancy and the current goal
|
||||
CS_RELEVANCY_GOAL // based on relevancy and the current goal
|
||||
};
|
||||
|
||||
struct smt_params : public preprocessor_params,
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace smt {
|
|||
enum config_mode {
|
||||
CFG_BASIC, // install theories based on user options
|
||||
CFG_LOGIC, // install theories and configure Z3 based on the value of the parameter set-logic.
|
||||
CFG_AUTO, // install theories based on static features of the input formula
|
||||
CFG_AUTO // install theories based on static features of the input formula
|
||||
};
|
||||
|
||||
class context;
|
||||
|
|
|
@ -108,4 +108,4 @@ model_converter * mk_fpa2bv_model_converter(ast_manager & m,
|
|||
obj_map<func_decl, func_decl*> const & uf2bvuf,
|
||||
obj_hashtable<func_decl> const & m_decls_to_hide);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -820,4 +820,4 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -46,4 +46,4 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -127,15 +127,15 @@ public:
|
|||
void to_rational(hwf const & x, scoped_mpq & o) { to_rational(x, o.m(), o); }
|
||||
|
||||
|
||||
bool sgn(hwf const & x) const {
|
||||
bool sgn(hwf const & x) const {
|
||||
return (x.get_raw() & 0x8000000000000000ull) != 0;
|
||||
}
|
||||
|
||||
uint64 sig(hwf const & x) const {
|
||||
uint64 sig(hwf const & x) const {
|
||||
return x.get_raw() & 0x000FFFFFFFFFFFFFull;
|
||||
}
|
||||
|
||||
int exp(hwf const & x) const {
|
||||
int exp(hwf const & x) const {
|
||||
return ((x.get_raw() & 0x7FF0000000000000ull) >> 52) - 1023;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue