Ejemplo n.º 1
0
 def mk_arg_parser (self, ap):
     ap = super (Seapp, self).mk_arg_parser (ap)
     ap.add_argument ('--inline', dest='inline', help='Inline all functions',
                      default=False, action='store_true')
     ap.add_argument ('--entry', dest='entry', help='Entry point if main does not exist',
                      default=None, metavar='FUNCTION')
     ap.add_argument ('--do-bounds-check', dest='boc', help='Insert buffer overflow checks',
                      default=False, action='store_true')
     ap.add_argument ('--overflow-check', dest='ioc', help='Insert signed integer overflow checks',
                      default=False, action='store_true')
     ap.add_argument ('--null-check', dest='ndc', help='Insert null dereference checks',
                      default=False, action='store_true')
     ap.add_argument ('--externalize-addr-taken-functions',
                      help='Externalize uses of address-taken functions',
                      dest='enable_ext_funcs', default=False,
                      action='store_true')
     ap.add_argument ('--enum-verifier-calls', dest='enum_verifier_calls', 
                      help='Assign an unique identifier to each verifier.error call',
                      default=False, action='store_true')
     ap.add_argument ('--lower-invoke',
                      help='Lower invoke instructions',
                      dest='lower_invoke', default=False,
                      action='store_true')
     ap.add_argument ('--devirt-functions',
                      help='Devirtualize indirect functions',
                      dest='devirt_funcs', default=False,
                      action='store_true')
     ap.add_argument ('--no-kill-vaarg', help='Do not delete variadic functions',
                      dest='kill_vaarg', default=True, action='store_false')
     ap.add_argument ('--strip-extern', help='Replace external function calls ' +
                      'by non-determinism', default=False, action='store_true',
                      dest='strip_external')
     add_in_out_args (ap)
     _add_S_arg (ap)
     return ap
Ejemplo n.º 2
0
 def mk_arg_parser (self, ap):
     ap = super (Seapp, self).mk_arg_parser (ap)
     ap.add_argument ('--inline', dest='inline', help='Inline all functions',
                      default=False, action='store_true')
     ap.add_argument ('--entry', dest='entry', help='Entry point if main does not exist',
                      default=None, metavar='FUNCTION')
     ap.add_argument ('--boc', dest='boc', help='Insert buffer overflow checks',
                      default=False, action='store_true')
     ap.add_argument ('--ioc', dest='ioc', help='Insert signed integer overflow checks',
                      default=False, action='store_true')
     ap.add_argument ('--externalize-addr-taken-functions',
                      help='Externalize uses of address-taken functions',
                      dest='enable_ext_funcs', default=False,
                      action='store_true')
     ap.add_argument ('--devirt-functions',
                      help='Devirtualize indirect functions',
                      dest='devirt_funcs', default=False,
                      action='store_true')
     ap.add_argument ('--no-kill-vaarg', help='Do not delete variadic functions',
                      dest='kill_vaarg', default=True, action='store_false')
     ap.add_argument ('--strip-extern', help='Replace external function calls ' + 
                      'by non-determinism', default=False, action='store_true',
                      dest='strip_external')
     add_in_out_args (ap)
     _add_S_arg (ap)
     return ap
Ejemplo n.º 3
0
 def mk_arg_parser (self, ap):
     ap = super (CutLoops, self).mk_arg_parser (ap)
     ap.add_argument ('--log', dest='log', default=None,
                      metavar='STR', help='Log level')
     add_in_out_args (ap)
     _add_S_arg (ap)
     return ap
Ejemplo n.º 4
0
 def mk_arg_parser (self, ap):
     ap = super (Seahorn, self).mk_arg_parser (ap)
     add_in_out_args (ap)
     ap.add_argument ('--cex', dest='cex', help='Destination for a cex',
                      default=None, metavar='FILE')
     ap.add_argument ('--solve', dest='solve', action='store_true',
                      help='Solve', default=self.solve)
     ap.add_argument ('--ztrace', dest='ztrace', metavar='STR',
                      default=None, help='Z3 trace levels')
     ap.add_argument ('--verbose', '-v', dest='verbose', type=int, default=0,
                      help='Verbosity level', metavar='N')
     ap.add_argument ('--log', dest='log', default=None,
                      metavar='STR', help='Log level')
     ap.add_argument ('--oll', dest='asm_out_file', default=None,
                      help='LLVM assembly output file')
     ap.add_argument ('--step',
                      help='Step to use for encoding',
                      choices=['small', 'large', 'fsmall', 'flarge'],
                      dest='step', default='large')
     ap.add_argument ('--track',
                      help='Track registers, pointers, and memory',
                      choices=['reg', 'ptr', 'mem'], default='mem')
     ap.add_argument ('--show-invars',
                      help='Display computed invariants',
                      dest='show_invars', default=False, action='store_true')
     ap.add_argument ('--crab',
                      help='Enable Crab abstract interpreter',
                      dest='crab', default=False, action='store_true')
     ap.add_argument ('--bmc',
                      help='Use BMC engine',
                      dest='bmc', default=False, action='store_true')
     return ap
Ejemplo n.º 5
0
 def mk_arg_parser (self, ap):
     ap = super (Seapp, self).mk_arg_parser (ap)
     ap.add_argument ('--inline', dest='inline', help='Inline all functions',
                      default=False, action='store_true')
     add_in_out_args (ap)
     _add_S_arg (ap)
     return ap
Ejemplo n.º 6
0
 def mk_arg_parser (self, ap):
     ap = super (Seaopt, self).mk_arg_parser (ap)
     ap.add_argument ('-O', type=int, dest='opt_level', metavar='INT',
                      help='Optimization level L:[0,1,2,3]', default=3)
     add_in_out_args (ap)
     _add_S_arg (ap)
     return ap
Ejemplo n.º 7
0
 def mk_arg_parser(self, ap):
     ap = super(Seahorn, self).mk_arg_parser(ap)
     add_in_out_args(ap)
     ap.add_argument('--cex',
                     dest='cex',
                     help='Destination for a cex',
                     default=None,
                     metavar='FILE')
     ap.add_argument('--solve',
                     dest='solve',
                     action='store_true',
                     help='Solve',
                     default=self.solve)
     ap.add_argument('--ztrace',
                     dest='ztrace',
                     metavar='STR',
                     default=None,
                     help='Z3 trace levels')
     ap.add_argument('--verbose',
                     '-v',
                     dest='verbose',
                     type=int,
                     default=0,
                     help='Verbosity level',
                     metavar='N')
     ap.add_argument('--log',
                     dest='log',
                     default=None,
                     metavar='STR',
                     help='Log level')
     ap.add_argument('--oll',
                     dest='asm_out_file',
                     default=None,
                     help='LLVM assembly output file')
     ap.add_argument('--step',
                     help='Step to use for encoding',
                     choices=['small', 'large', 'fsmall', 'flarge'],
                     dest='step',
                     default='large')
     ap.add_argument('--track',
                     help='Track registers, pointers, and memory',
                     choices=['reg', 'ptr', 'mem'],
                     default='mem')
     ap.add_argument('--show-invars',
                     help='Display computed invariants',
                     dest='show_invars',
                     default=False,
                     action='store_true')
     ap.add_argument('--crab',
                     help='Enable Crab abstract interpreter',
                     dest='crab',
                     default=False,
                     action='store_true')
     ap.add_argument('--bmc',
                     help='Use BMC engine',
                     dest='bmc',
                     default=False,
                     action='store_true')
     return ap
Ejemplo n.º 8
0
 def mk_arg_parser (self, ap):
     ap = super (LinkRt, self).mk_arg_parser (ap)
     ap.add_argument ('-m', type=int, dest='machine',
                      help='Machine architecture MACHINE:[32,64]', default=32)
     ap.add_argument ('-g', default=False, action='store_true',
                      dest='debug_info', help='Compile with debug info')
     add_in_out_args (ap)
     return ap
Ejemplo n.º 9
0
 def mk_arg_parser (self, ap):
     ap = super (LegacyFrontEnd, self).mk_arg_parser (ap)
     ap.add_argument ('-m', type=int, dest='machine',
                      help='Machine architecture MACHINE:[32,64]',
                      default=32)
     ap.add_argument ('-g', default=False, action='store_true',
                      dest='debug_info', help='Compile with debug info')
     add_in_out_args (ap)
     return ap
Ejemplo n.º 10
0
 def mk_arg_parser(self, ap):
     ap = super(Seapp, self).mk_arg_parser(ap)
     ap.add_argument('--inline',
                     dest='inline',
                     help='Inline all functions',
                     default=False,
                     action='store_true')
     ap.add_argument('--entry',
                     dest='entry',
                     help='Entry point if main does not exist',
                     default=None,
                     metavar='FUNCTION')
     ap.add_argument('--do-bounds-check',
                     dest='boc',
                     help='Insert buffer overflow checks',
                     default=False,
                     action='store_true')
     ap.add_argument('--overflow-check',
                     dest='ioc',
                     help='Insert signed integer overflow checks',
                     default=False,
                     action='store_true')
     ap.add_argument('--null-check',
                     dest='ndc',
                     help='Insert null dereference checks',
                     default=False,
                     action='store_true')
     ap.add_argument('--externalize-addr-taken-functions',
                     help='Externalize uses of address-taken functions',
                     dest='enable_ext_funcs',
                     default=False,
                     action='store_true')
     ap.add_argument('--lower-invoke',
                     help='Lower invoke instructions',
                     dest='lower_invoke',
                     default=False,
                     action='store_true')
     ap.add_argument('--devirt-functions',
                     help='Devirtualize indirect functions',
                     dest='devirt_funcs',
                     default=False,
                     action='store_true')
     ap.add_argument('--no-kill-vaarg',
                     help='Do not delete variadic functions',
                     dest='kill_vaarg',
                     default=True,
                     action='store_false')
     ap.add_argument('--strip-extern',
                     help='Replace external function calls ' +
                     'by non-determinism',
                     default=False,
                     action='store_true',
                     dest='strip_external')
     add_in_out_args(ap)
     _add_S_arg(ap)
     return ap
Ejemplo n.º 11
0
 def mk_arg_parser(self, ap):
     ap = super(Seapp, self).mk_arg_parser(ap)
     ap.add_argument('--inline',
                     dest='inline',
                     help='Inline all functions',
                     default=False,
                     action='store_true')
     add_in_out_args(ap)
     _add_S_arg(ap)
     return ap
Ejemplo n.º 12
0
 def mk_arg_parser(self, ap):
     ap = super(CutLoops, self).mk_arg_parser(ap)
     ap.add_argument('--log',
                     dest='log',
                     default=None,
                     metavar='STR',
                     help='Log level')
     add_in_out_args(ap)
     _add_S_arg(ap)
     return ap
Ejemplo n.º 13
0
 def mk_arg_parser (self, ap):
     ap = super (MixedSem, self).mk_arg_parser (ap)
     ap.add_argument ('--no-ms', dest='ms_skip', help='Skip mixed semantics',
                      default=False, action='store_true')
     ap.add_argument ('--no-reduce-main', dest='reduce_main',
                      help='Do not reduce main to return paths only',
                      default=True, action='store_false')
     add_in_out_args (ap)
     _add_S_arg (ap)
     return ap
Ejemplo n.º 14
0
 def mk_arg_parser (self, ap):
     ap = super (SeahornClp, self).mk_arg_parser (ap)
     add_in_out_args (ap)
     ap.add_argument ('--log', dest='log', default=None,
                      metavar='STR', help='Log level')
     ap.add_argument ('--oll', dest='asm_out_file', default=None,
                      help='LLVM assembly output file')
     ### TODO: expose options for semantic level, inter-procedural
     ### encoding, step, flat, etc.
     return ap
Ejemplo n.º 15
0
 def mk_arg_parser (self, ap):
     ap = super (MixedSem, self).mk_arg_parser (ap)
     ap.add_argument ('--no-ms', dest='ms_skip', help='Skip mixed semantics',
                      default=False, action='store_true')
     ap.add_argument ('--no-reduce-main', dest='reduce_main',
                      help='Do not reduce main to return paths only',
                      default=True, action='store_false')
     add_in_out_args (ap)
     _add_S_arg (ap)
     return ap
Ejemplo n.º 16
0
 def mk_arg_parser (self, ap):
     ap = super (Seaopt, self).mk_arg_parser (ap)
     ap.add_argument ('-O', type=int, dest='opt_level', metavar='INT',
                      help='Optimization level L:[0,1,2,3]', default=3)
     ap.add_argument ('--enable-indvar', dest='enable_indvar', default=False,
                      action='store_true')
     ap.add_argument ('--enable-loop-idiom', dest='enable_loop_idiom', default=False,
                      action='store_true')
     add_in_out_args (ap)
     _add_S_arg (ap)
     return ap
Ejemplo n.º 17
0
 def mk_arg_parser(self, ap):
     ap = super(Seaopt, self).mk_arg_parser(ap)
     ap.add_argument('-O',
                     type=int,
                     dest='opt_level',
                     metavar='INT',
                     help='Optimization level L:[0,1,2,3]',
                     default=3)
     add_in_out_args(ap)
     _add_S_arg(ap)
     return ap
Ejemplo n.º 18
0
 def mk_arg_parser (self, ap):
     ap = super (Clang, self).mk_arg_parser (ap)
     ap.add_argument ('-m', type=int, dest='machine',
                      help='Machine architecture MACHINE:[32,64]', default=32)
     ap.add_argument ('-g', default=False, action='store_true',
                      dest='debug_info', help='Compile with debug info')
     ap.add_argument ('-I', default=None,
                      dest='include_dir', help='Include')
     add_tmp_dir_args (ap)
     add_in_out_args (ap)
     _add_S_arg (ap)
     return ap
Ejemplo n.º 19
0
 def mk_arg_parser (self, ap):
     ap = super (Clang, self).mk_arg_parser (ap)
     ap.add_argument ('-m', type=int, dest='machine',
                      help='Machine architecture MACHINE:[32,64]', default=32)
     ap.add_argument ('-g', default=False, action='store_true',
                      dest='debug_info', help='Compile with debug info')
     ap.add_argument ('-I', default=None,
                      dest='include_dir', help='Include')
     add_tmp_dir_args (ap)
     add_in_out_args (ap)
     _add_S_arg (ap)
     return ap
Ejemplo n.º 20
0
 def mk_arg_parser (self, ap):
     ap = super (Seapp, self).mk_arg_parser (ap)
     ap.add_argument ('--inline', dest='inline', help='Inline all functions',
                      default=False, action='store_true')
     ap.add_argument ('--entry', dest='entry', help='Entry point if main does not exist',
                      default=None, metavar='FUNCTION')
     ap.add_argument ('--boc', dest='boc', help='Insert buffer overflow checks',
                      default=False, action='store_true')
     ap.add_argument ('--ioc', dest='ioc', help='Insert signed integer overflow checks',
                      default=False, action='store_true')
     add_in_out_args (ap)
     _add_S_arg (ap)
     return ap
Ejemplo n.º 21
0
 def mk_arg_parser(self, ap):
     ap = super(SeahornClp, self).mk_arg_parser(ap)
     add_in_out_args(ap)
     ap.add_argument('--log',
                     dest='log',
                     default=None,
                     metavar='STR',
                     help='Log level')
     ap.add_argument('--oll',
                     dest='asm_out_file',
                     default=None,
                     help='LLVM assembly output file')
     ### TODO: expose options for semantic level, inter-procedural
     ### encoding, step, flat, etc.
     return ap
Ejemplo n.º 22
0
 def mk_arg_parser (self, ap):
     ap = super (Seahorn, self).mk_arg_parser (ap)
     add_in_out_args (ap)
     ap.add_argument ('--cex', dest='cex', help='Destination for a cex',
                      default=None, metavar='FILE')
     ap.add_argument ('--solve', dest='solve', action='store_true',
                      help='Solve', default=self.solve)
     ap.add_argument ('--ztrace', dest='ztrace', metavar='STR',
                      default=None, help='Z3 trace levels')
     ap.add_argument ('--verbose', '-v', dest='verbose', type=int, default=0,
                      help='Verbosity level', metavar='N')
     ap.add_argument ('--log', dest='log', default=None,
                      metavar='STR', help='Log level')
     ap.add_argument ('--oll', dest='asm_out_file', default=None,
                      help='LLVM assembly output file')
     ap.add_argument ('--step',
                      help='Step to use for encoding',
                      choices=['small', 'large', 'fsmall', 'flarge'],
                      dest='step', default='large')
     ap.add_argument ('--track',
                      help='Track registers, pointers, and memory',
                      choices=['reg', 'ptr', 'mem'], default='mem')
     ap.add_argument ('--show-invars',
                      help='Display computed invariants',
                      dest='show_invars', default=False, action='store_true')
     ## Begin Crab ##
     ap.add_argument ('--crab',
                      help='Enable Crab abstract interpreter',
                      dest='crab', default=False, action='store_true')
     ap.add_argument ('--crab-dom',
                      help='Choose Crab abstract domain',
                      choices=['int','ric','zones','term'],
                      dest='crab_dom', default='int')
     ap.add_argument ('--crab-live',
                      help='Use of liveness information',
                      dest='crab_live', default=False, action='store_true')        
     #### These three should not be optional in the future
     ap.add_argument ('--crab-disable-ptr',
                      help='Disable translation of pointer arithmetic instructions',
                      dest='crab_disable_ptr', default=False, action='store_true')
     ap.add_argument ('--crab-cfg-simplify',
                      help='Simplify CFG built by Crab (experimental)',
                      dest='crab_cfg_simplify', default=False, action='store_true')
     ap.add_argument ('--crab-cfg-interproc',
                      help='Build inter-procedural CFG (experimental)',
                      dest='crab_interproc', default=False, action='store_true')
     ## End Crab ##
     return ap
Ejemplo n.º 23
0
 def mk_arg_parser (self, ap):
     ap = super (Unroll, self).mk_arg_parser (ap)
     ap.add_argument ('--threshold', type=int, help='Unrolling threshhold. ' +
                      'Loops of larger size than this value will not ' +
                      'be unrolled (-unroll-threshold)',
                      default=131072, metavar='T')
     ap.add_argument ('--bound', default=0, type=int,
                      help='Unroll bound (-unroll-count)', metavar='B')
     ap.add_argument ('--enable-runtime', dest='enable_runtime',
                      default=False, action='store_true',
                      help='Allow unrolling loops with runtime trip count ' +
                      '(-unroll-runtime)')
     ap.add_argument ('--enable-partial', dest='enable_partial',
                      default=False, action='store_true',
                      help='Enable partial unrolling (-unroll-allow-partial)')
     add_in_out_args (ap)
     _add_S_arg (ap)
     return ap
Ejemplo n.º 24
0
 def mk_arg_parser (self, ap):
     ap = super (Seaopt, self).mk_arg_parser (ap)
     ap.add_argument ('-O', type=int, dest='opt_level', metavar='INT',
                      help='Optimization level L:[0,1,2,3]', default=3)
     ap.add_argument ('--enable-indvar', dest='enable_indvar', default=False,
                      action='store_true')
     ap.add_argument ('--enable-loop-idiom', dest='enable_loop_idiom', default=False,
                      action='store_true')
     ap.add_argument ('--enable-nondet-init', dest='enable_nondet_init', default=False,
                      action='store_true')
     ap.add_argument ('--llvm-inline-threshold', dest='inline_threshold',
                      type=int, metavar='T',
                      help='Inline threshold (default = 255)')
     ap.add_argument ('--enable-vectorize', dest='enable_vectorize', default=False,
                      action='store_true', help='Enable LLVM vectorization optimizations')
     add_in_out_args (ap)
     _add_S_arg (ap)
     return ap
Ejemplo n.º 25
0
 def mk_arg_parser (self, ap):
     ap = super (Unroll, self).mk_arg_parser (ap)
     ap.add_argument ('--threshold', type=int, help='Unrolling threshhold. ' +
                      'Loops of larger size than this value will not ' +
                      'be unrolled (-unroll-threshold)',
                      default=131072, metavar='T')
     ap.add_argument ('--bound', default=0, type=int,
                      help='Unroll bound (-unroll-count)', metavar='B')
     ap.add_argument ('--enable-runtime', dest='enable_runtime',
                      default=False, action='store_true',
                      help='Allow unrolling loops with runtime trip count ' +
                      '(-unroll-runtime)')
     ap.add_argument ('--enable-partial', dest='enable_partial',
                      default=False, action='store_true',
                      help='Enable partial unrolling (-unroll-allow-partial)')
     add_in_out_args (ap)
     _add_S_arg (ap)
     return ap
Ejemplo n.º 26
0
    def mk_arg_parser (self, ap):
        ap = super (SeahornClp, self).mk_arg_parser (ap)
        add_in_out_args (ap)
        ap.add_argument ('--log', dest='log', default=None,
                         metavar='STR', help='Log level')
        ap.add_argument ('--oll', dest='asm_out_file', default=None,
                         help='LLVM assembly output file')
        ap.add_argument ('--step',
                         help='Step to use for encoding',
                         choices=['clpsmall', 'clpfsmall'],
                         dest='step', default='clpsmall')
        ap.add_argument ('--clp-fapp',
                         default=False, action='store_true',
                         help='Print function applications in CLP format',
                         dest='clp_fapp')

        ### TODO: expose options for semantic level, inter-procedural
        ### encoding, step, flat, etc.
        return ap
Ejemplo n.º 27
0
 def mk_arg_parser (self, ap):
     ap = super (Seahorn, self).mk_arg_parser (ap)
     add_in_out_args (ap)
     ap.add_argument ('--cex', dest='cex', help='Destination for a cex',
                      default=None, metavar='FILE')
     ap.add_argument ('--solve', dest='solve', action='store_true',
                      help='Solve', default=self.solve)
     ap.add_argument ('--ztrace', dest='ztrace', metavar='STR',
                      default=None, help='Z3 trace levels')
     ap.add_argument ('--verbose', '-v', dest='verbose', type=int, default=0,
                      help='Verbosity level', metavar='N')
     ap.add_argument ('--log', dest='log', default=None,
                      metavar='STR', help='Log level')
     ap.add_argument ('--oll', dest='asm_out_file', default=None,
                      help='LLVM assembly output file')
     ap.add_argument ('--step',
                      help='Step to use for encoding',
                      choices=['small', 'large', 'fsmall', 'flarge'],
                      dest='step', default='large')
     ap.add_argument ('--track',
                      help='Track registers, pointers, and memory',
                      choices=['reg', 'ptr', 'mem'], default='mem')
     ap.add_argument ('--show-invars',
                      help='Display computed invariants',
                      dest='show_invars', default=False, action='store_true')
     ## Begin Crab ##
     ap.add_argument ('--crab',
                      help='Enable Crab abstract interpreter',
                      dest='crab', default=False, action='store_true')
     ap.add_argument ('--crab-dom',
                      help='Choose Crab abstract domain',
                      choices=['int','ric','zones','term','num','boxes'],
                      dest='crab_dom', default='int')
     ap.add_argument ('--crab-track',
                      help='Track registers, pointers, and memory',
                      choices=['int', 'ptr', 'arr'], dest='crab_track', default='int')
     ap.add_argument ('--crab-inter',
                      help='Perform inter-procedural analysis',
                      dest='crab_inter', default=False, action='store_true')
     ## End Crab ##
     return ap
Ejemplo n.º 28
0
    def mk_arg_parser (self, ap):
        ap = super (Crab, self).mk_arg_parser (ap)
        ap.add_argument ('--crab-dom',
                         help='Choose Crab abstract domain',
                         choices=['int','ric','zones','term','num','boxes'],
                         dest='crab_dom', default='int')
        ap.add_argument ('--crab-track',
                         help='Track registers, pointers, and memory',
                         choices=['int', 'ptr', 'arr'], dest='crab_track', default='int')
        ap.add_argument ('--crab-inter',
                         help='Perform inter-procedural analysis',
                         dest='crab_inter', default=False, action='store_true')
        # ap.add_argument ('--crab-add-at-entries',
        #                  help='Instrument code with invariants at each block entry',
        #                  dest='insert_entries', default=False, action='store_true')
        # ap.add_argument ('--crab-add-after-loads',
        #                  help='Instrument code with invariants after each load instruction',
        #                  dest='insert_loads', default=False, action='store_true')
        add_in_out_args (ap)

        return ap
Ejemplo n.º 29
0
 def mk_arg_parser (self, ap):
     ap = super (SeahornClp, self).mk_arg_parser (ap)
     add_in_out_args (ap)
     ap.add_argument ('--log', dest='log', default=None,
                      metavar='STR', help='Log level')
     ap.add_argument ('--oll', dest='asm_out_file', default=None,
                      help='LLVM assembly output file')
     ap.add_argument ('--step',
                      help='Step to use for encoding',
                      choices=['clpsmall', 'clpfsmall'],
                      dest='step', default='clpsmall')
     ap.add_argument ('--clp-fapp',
                      default=False, action='store_true',
                      help='Print function applications in CLP format',
                      dest='clp_fapp')
     ap.add_argument ('--inv',
                      default=None, 
                      help='Save invariant into a file',
                      dest='inv')
     ### TODO: expose options for semantic level, inter-procedural
     ### encoding, step, flat, etc.
     return ap
Ejemplo n.º 30
0
 def mk_arg_parser (self, ap):
     ap = super (Crab, self).mk_arg_parser (ap)
     add_in_out_args (ap)
     return ap
Ejemplo n.º 31
0
 def mk_arg_parser(self, ap):
     ap = super(Crab, self).mk_arg_parser(ap)
     add_in_out_args(ap)
     return ap