def actions_before_verification(self, symbiotic): if self._use_llvm_backend: return output = symbiotic.curfile + '.c' runcmd(['llvm2c', symbiotic.curfile, '--o', output], DbgWatch('all')) symbiotic.curfile = output
def actions_before_verification(self, symbiotic): # link our specific funs self._options.linkundef = ['verifier'] symbiotic.link_undefined( only_func=['__VERIFIER_silent_exit', '__VERIFIER_exit']) self._options.linkundef = [] # translate to C output = symbiotic.curfile + '.c' runcmd(['llvm2c', symbiotic.curfile, '--add-includes', '--o', output], DbgWatch('all')) symbiotic.curfile = output
def actions_before_verification(self, symbiotic): # link our specific funs old_undf = self._options.linkundef self._options.linkundef = ['verifier'] funs = ['__VERIFIER_silent_exit', '__VERIFIER_exit', '__INSTR_check_nontermination', '__INSTR_fail'] symbiotic.link_undefined(only_func=funs) self._options.linkundef = old_undf # translate to C output = symbiotic.curfile + '.c' runcmd(['llvm2c', symbiotic.curfile, '--add-includes', '--o', output], DbgWatch('all')) symbiotic.curfile = output
def actions_before_verification(self, symbiotic): # link our specific funs self._options.linkundef = ['verifier'] symbiotic.link_undefined( only_func=['__VERIFIER_silent_exit', '__VERIFIER_exit']) self._options.linkundef = [] if self._use_llvm_backend: return output = symbiotic.curfile + '.c' runcmd([ 'llvm2c', symbiotic.curfile, '--no-function-call-casts', '--o', output ], DbgWatch('all')) symbiotic.curfile = output
def actions_before_verification(self, symbiotic): output = symbiotic.curfile + '.c' runcmd(['llvm2c', symbiotic.curfile, '--o', output], DbgWatch('all')) symbiotic.curfile = output