void stabilizer_options_set_context_propagation(stabilizer_options *options, bool value)
Enable or disable kernel context propagation.
bool stabilizer_options_get_subgraph_pruning(const stabilizer_options *options)
Query kernel subgraph pruning/tie-breaking behavior.
bool stabilizer_get_subgraph_pruning(const stabilizer_handle *handle)
Query subgraph pruning/tie-breaking behavior on a live stabilizer.
const char * stabilizer_last_error(const stabilizer_handle *handle)
Return the last diagnostic message associated with a handle.
stabilizer_handle * stabilizer_create(const stabilizer_options *options)
Create a stabilizer instance.
bool stabilizer_options_get_context_propagation(const stabilizer_options *options)
Query kernel context propagation flag.
bool stabilizer_get_rewrite(const stabilizer_handle *handle)
Query rewrite normalization on a live stabilizer.
void stabilizer_set_subgraph_pruning(stabilizer_handle *handle, bool value)
Update subgraph pruning/tie-breaking behavior on a live stabilizer.
void stabilizer_set_rewrite(stabilizer_handle *handle, bool value)
Update rewrite normalization on a live stabilizer.
void stabilizer_options_set_rewrite(stabilizer_options *options, bool value)
Enable or disable parser rewrite normalization.
void stabilizer_options_set_subgraph_pruning(stabilizer_options *options, bool value)
Enable or disable kernel subgraph pruning/tie-breaking behavior.
void stabilizer_free_string(char *value)
Release strings returned through stabilizer_apply_*.
void stabilizer_options_destroy(stabilizer_options *options)
Release an options object created by stabilizer_options_create.
void stabilizer_set_context_propagation(stabilizer_handle *handle, bool value)
Update context propagation on a live stabilizer.
stabilizer_status stabilizer_apply_text(stabilizer_handle *handle, const char *smt2_text, char **output)
Apply stabilization pipeline to SMT-LIB2 text.
void stabilizer_destroy(stabilizer_handle *handle)
Destroy a stabilizer instance and associated internal state.
bool stabilizer_get_context_propagation(const stabilizer_handle *handle)
Query context propagation on a live stabilizer.
bool stabilizer_options_get_rewrite(const stabilizer_options *options)
Query parser rewrite normalization flag.
stabilizer_options * stabilizer_options_create(void)
Allocate a new options object with default values.
stabilizer_status
Result status for C API calls.
@ STABILIZER_STATUS_RUNTIME_ERROR
@ STABILIZER_STATUS_INVALID_ARGUMENT
stabilizer_status stabilizer_apply_file(stabilizer_handle *handle, const char *file_path, char **output)
Apply stabilization pipeline to an SMT-LIB2 file.