kdrag.printers.c
Functions
|
|
|
|
|
#>>> x,y = smt.BitVecs("x y", 32) #>>> compile_c(cstring("foo", [x,y], smt.If(smt.UGT(x + x*y + 1, x), x , y))) |
|
|
|
|
|
|
|
|
|
- kdrag.printers.c.c_of_expr(ctx: list[ExprRef], sig: list[FuncDeclRef], e: ExprRef) str
- Parameters:
ctx (list[ExprRef])
sig (list[FuncDeclRef])
e (ExprRef)
- Return type:
str
- kdrag.printers.c.compile_and_link(name, args, body)
- kdrag.printers.c.compile_and_link_defn(f: FuncDeclRef)
- Parameters:
f (FuncDeclRef)
- kdrag.printers.c.compile_c(c_code, opts=[])
#>>> x,y = smt.BitVecs(“x y”, 32) #>>> compile_c(cstring(“foo”, [x,y], smt.If(smt.UGT(x + x*y + 1, x), x , y)))
- kdrag.printers.c.cstring(name, args, body)
- kdrag.printers.c.ctype_of_sort(s: SortRef)
- Parameters:
s (SortRef)
- kdrag.printers.c.is_valid_c_identifier(identifier: str) bool
- Parameters:
identifier (str)
- Return type:
bool
- kdrag.printers.c.is_valid_c_identifier_strict(identifier: str) bool
- Parameters:
identifier (str)
- Return type:
bool
- kdrag.printers.c.link(name, args, body, filename)
- kdrag.printers.c.of_defn(f: FuncDeclRef)
- Parameters:
f (FuncDeclRef)