mirror of
https://github.com/Z3Prover/z3
synced 2025-08-20 10:10:21 +00:00
add stubs to control memory usage
This commit is contained in:
parent
4b495e4b96
commit
34272152bb
2 changed files with 11 additions and 4 deletions
|
|
@ -65,6 +65,7 @@ class bv2real_util {
|
|||
rational m_default_divisor;
|
||||
rational m_max_divisor;
|
||||
unsigned m_max_num_bits;
|
||||
uint64_t m_max_memory;
|
||||
|
||||
class contains_bv2real_proc;
|
||||
|
||||
|
|
@ -81,6 +82,8 @@ public:
|
|||
|
||||
bool contains_bv2real(expr* e) const;
|
||||
|
||||
bool memory_exceeded() const;
|
||||
|
||||
bool mk_bv2real(expr* s, expr* t, rational& d, rational& r, expr_ref& result);
|
||||
expr* mk_bv2real_c(expr* s, expr* t, rational const& d, rational const& r);
|
||||
expr* mk_bv2real(expr* n, expr* m) { return mk_bv2real_c(n, m, default_divisor(), default_root()); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue