From 919b9268d42217bfa148d6d64fdb55d789038a43 Mon Sep 17 00:00:00 2001 From: Jeremy Dubreil Date: Fri, 15 Sep 2017 12:55:10 -0700 Subject: [PATCH] [infer][clang] simplify the translation of the prune nodes Summary: The prune nodes where translated as `prune (expr = false)` and `prune ( expr != false)`. This case is a bit tricky to deconstruct in HIL. This diff translates the prune instructions as just `prune !expr` for the true branch and `prune expr` for the false branch. Reviewed By: dulmarod Differential Revision: D5832147 fbshipit-source-id: 2c3502d --- infer/src/clang/cTrans_utils.ml | 5 +- infer/tests/codetoanalyze/c/errors/issues.exp | 1 + .../c/frontend/arithmetic/negate.c.dot | 12 +- .../booleans/condition_as_param.c.dot | 4 +- .../conditional_operator/array_access.c.dot | 16 +- .../binary_operator.c.dot | 32 ++-- .../frontend/conditional_operator/cond2.c.dot | 40 ++--- .../conditional_operator.c.dot | 28 ++-- .../conditional_operator/function_call.c.dot | 44 +++--- .../if_short_circuit.c.dot | 76 ++++----- .../conditional_operator/int_negation.c.dot | 16 +- .../conditional_operator/member_access.c.dot | 12 +- .../conditional_operator/preincrement.c.dot | 16 +- .../conditional_operator/unary_operator.c.dot | 12 +- .../c/frontend/enumeration/other_enum.c.dot | 4 +- .../c/frontend/gotostmt/goto_ex.c.dot | 144 +++++++++--------- .../c/frontend/loops/do_while.c.dot | 4 +- .../do_while_condition_side_effects.c.dot | 4 +- .../c/frontend/loops/do_while_nested.c.dot | 8 +- .../loops/for_condition_side_effects.c.dot | 4 +- .../c/frontend/loops/for_nested.c.dot | 8 +- .../c/frontend/loops/for_no_condition.c.dot | 4 +- .../loops/for_no_condition_incr.c.dot | 4 +- .../loops/for_no_condition_incr_body.c.dot | 4 +- .../c/frontend/loops/for_only_body.c.dot | 4 +- .../c/frontend/loops/for_simple.c.dot | 4 +- .../c/frontend/loops/for_while_nested.c.dot | 8 +- .../c/frontend/loops/while.c.dot | 4 +- .../loops/while_condition_side_effects.c.dot | 4 +- .../c/frontend/loops/while_nested.c.dot | 8 +- .../c/frontend/loops/while_no_body.c.dot | 4 +- .../loops/while_with_continue_and_break.c.dot | 16 +- .../nestedoperators/assign_in_condition.c.dot | 4 +- .../c/frontend/nestedoperators/gnuexpr.c.dot | 4 +- .../offsetof_expr/offsetof_expr.c.dot | 4 +- .../c/frontend/switchstmt/switch.c.dot | 140 ++++++++--------- .../c/frontend/vaarg_expr/vaarg_expr.c.dot | 4 +- .../attributes/clang_fallthrough.cpp.dot | 16 +- .../frontend/destructors/break_scope.cpp.dot | 64 ++++---- .../destructors/continue_scope.cpp.dot | 52 +++---- .../cpp/frontend/destructors/scope.cpp.dot | 16 +- .../frontend/globals/global_const2.cpp.dot | 4 +- .../cpp/frontend/loops/do_while.cpp.dot | 8 +- .../cpp/frontend/loops/foreach1.cpp.dot | 8 +- .../assign_in_condition.cpp.dot | 4 +- .../conditional/binary_conditional.cpp.dot | 8 +- .../conditional/lvalue_conditional.cpp.dot | 16 +- .../constructors/constructor_new.cpp.dot | 32 ++-- .../shared/constructors/std_init_list.cpp.dot | 4 +- .../cpp/shared/exceptions/Exceptions.cpp.dot | 4 +- .../methods/conversion_operator.cpp.dot | 16 +- .../var_decl_inside_for.cpp.dot | 8 +- .../var_decl_inside_if.cpp.dot | 36 ++--- .../var_decl_inside_switch.cpp.dot | 12 +- .../var_decl_inside_while.cpp.dot | 12 +- .../reference/reference_struct_e2e.cpp.dot | 16 +- .../cpp/shared/templates/sizeof_pack.cpp.dot | 4 +- .../types/struct_forward_declare.cpp.dot | 4 +- .../objc/frontend/boxing/array.m.dot | 4 +- .../ConditionalOperation.m.dot | 4 +- .../exceptions/ExceptionExample.m.dot | 4 +- .../fast_enumeration/Fast_enumeration.m.dot | 8 +- .../objc/frontend/protocol/protocol.m.dot | 4 +- .../frontend/returnstmt/void_return.m.dot | 8 +- .../objc/frontend/self_static/Self.m.dot | 4 +- .../objc/frontend/types/void_call.m.dot | 4 +- .../shared/assertions/NSAssert_example.m.dot | 72 ++++----- .../objc/shared/block/BlockVar.m.dot | 4 +- .../objc/shared/block/block-it.m.dot | 24 +-- .../objc/shared/block/block_no_args.m.dot | 4 +- .../objc/shared/block/block_release.m.dot | 8 +- .../objc/shared/block/dispatch.m.dot | 4 +- .../RetainReleaseExample2.m.dot | 4 +- .../shared/property/PropertyAttributes.m.dot | 4 +- 74 files changed, 608 insertions(+), 610 deletions(-) diff --git a/infer/src/clang/cTrans_utils.ml b/infer/src/clang/cTrans_utils.ml index c39aca8a9..af0150d67 100644 --- a/infer/src/clang/cTrans_utils.ml +++ b/infer/src/clang/cTrans_utils.ml @@ -54,10 +54,7 @@ module Nodes = struct extract_exp_from_list e_cond "@\nWARNING: Missing expression for Conditional operator. Need to be fixed" in - let e_cond'' = - if branch then Exp.BinOp (Binop.Ne, e_cond', Exp.zero) - else Exp.BinOp (Binop.Eq, e_cond', Exp.zero) - in + let e_cond'' = if branch then e_cond' else Exp.UnOp (Unop.LNot, e_cond', None) in let instrs_cond' = instrs_cond @ [Sil.Prune (e_cond'', loc, branch, ik)] in create_node (prune_kind branch) instrs_cond' loc context diff --git a/infer/tests/codetoanalyze/c/errors/issues.exp b/infer/tests/codetoanalyze/c/errors/issues.exp index 10f14755b..a08ae8caf 100644 --- a/infer/tests/codetoanalyze/c/errors/issues.exp +++ b/infer/tests/codetoanalyze/c/errors/issues.exp @@ -30,6 +30,7 @@ codetoanalyze/c/errors/local_vars/local_vars.c, m2, 9, DIVIDE_BY_ZERO codetoanalyze/c/errors/local_vars/local_vars.c, mm, 6, DIVIDE_BY_ZERO codetoanalyze/c/errors/local_vars/local_vars.c, t, 8, DIVIDE_BY_ZERO codetoanalyze/c/errors/memory_leaks/test.c, common_realloc_leak, 3, MEMORY_LEAK +codetoanalyze/c/errors/memory_leaks/test.c, common_realloc_leak, 5, NULL_TEST_AFTER_DEREFERENCE codetoanalyze/c/errors/memory_leaks/test.c, conditional_last_instruction, 2, MEMORY_LEAK codetoanalyze/c/errors/memory_leaks/test.c, simple_leak, 2, MEMORY_LEAK codetoanalyze/c/errors/memory_leaks/test.c, uses_allocator, 3, MEMORY_LEAK diff --git a/infer/tests/codetoanalyze/c/frontend/arithmetic/negate.c.dot b/infer/tests/codetoanalyze/c/frontend/arithmetic/negate.c.dot index b7a74db9d..587a13ddf 100644 --- a/infer/tests/codetoanalyze/c/frontend/arithmetic/negate.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/arithmetic/negate.c.dot @@ -12,11 +12,11 @@ digraph iCFG { "neg_char.53ef6b31d84386046a4728d1c45b5f7a_3" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_8" ; -"neg_char.53ef6b31d84386046a4728d1c45b5f7a_4" [label="4: Prune (true branch) \n n$1=*&a:char [line 12]\n PRUNE((n$1 != 0), true); [line 12]\n " shape="invhouse"] +"neg_char.53ef6b31d84386046a4728d1c45b5f7a_4" [label="4: Prune (true branch) \n n$1=*&a:char [line 12]\n PRUNE(n$1, true); [line 12]\n " shape="invhouse"] "neg_char.53ef6b31d84386046a4728d1c45b5f7a_4" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_6" ; -"neg_char.53ef6b31d84386046a4728d1c45b5f7a_5" [label="5: Prune (false branch) \n n$1=*&a:char [line 12]\n PRUNE((n$1 == 0), false); [line 12]\n " shape="invhouse"] +"neg_char.53ef6b31d84386046a4728d1c45b5f7a_5" [label="5: Prune (false branch) \n n$1=*&a:char [line 12]\n PRUNE(!n$1, false); [line 12]\n " shape="invhouse"] "neg_char.53ef6b31d84386046a4728d1c45b5f7a_5" -> "neg_char.53ef6b31d84386046a4728d1c45b5f7a_7" ; @@ -44,11 +44,11 @@ digraph iCFG { "neg_bool.e953d6477eaaeafaa430423a26fbaac9_3" -> "neg_bool.e953d6477eaaeafaa430423a26fbaac9_8" ; -"neg_bool.e953d6477eaaeafaa430423a26fbaac9_4" [label="4: Prune (true branch) \n n$1=*&a:_Bool [line 14]\n PRUNE((n$1 != 0), true); [line 14]\n " shape="invhouse"] +"neg_bool.e953d6477eaaeafaa430423a26fbaac9_4" [label="4: Prune (true branch) \n n$1=*&a:_Bool [line 14]\n PRUNE(n$1, true); [line 14]\n " shape="invhouse"] "neg_bool.e953d6477eaaeafaa430423a26fbaac9_4" -> "neg_bool.e953d6477eaaeafaa430423a26fbaac9_6" ; -"neg_bool.e953d6477eaaeafaa430423a26fbaac9_5" [label="5: Prune (false branch) \n n$1=*&a:_Bool [line 14]\n PRUNE((n$1 == 0), false); [line 14]\n " shape="invhouse"] +"neg_bool.e953d6477eaaeafaa430423a26fbaac9_5" [label="5: Prune (false branch) \n n$1=*&a:_Bool [line 14]\n PRUNE(!n$1, false); [line 14]\n " shape="invhouse"] "neg_bool.e953d6477eaaeafaa430423a26fbaac9_5" -> "neg_bool.e953d6477eaaeafaa430423a26fbaac9_7" ; @@ -76,11 +76,11 @@ digraph iCFG { "neg_int.2aa25aca565c41dd997912d11504462c_3" -> "neg_int.2aa25aca565c41dd997912d11504462c_8" ; -"neg_int.2aa25aca565c41dd997912d11504462c_4" [label="4: Prune (true branch) \n n$1=*&a:int [line 10]\n PRUNE((n$1 != 0), true); [line 10]\n " shape="invhouse"] +"neg_int.2aa25aca565c41dd997912d11504462c_4" [label="4: Prune (true branch) \n n$1=*&a:int [line 10]\n PRUNE(n$1, true); [line 10]\n " shape="invhouse"] "neg_int.2aa25aca565c41dd997912d11504462c_4" -> "neg_int.2aa25aca565c41dd997912d11504462c_6" ; -"neg_int.2aa25aca565c41dd997912d11504462c_5" [label="5: Prune (false branch) \n n$1=*&a:int [line 10]\n PRUNE((n$1 == 0), false); [line 10]\n " shape="invhouse"] +"neg_int.2aa25aca565c41dd997912d11504462c_5" [label="5: Prune (false branch) \n n$1=*&a:int [line 10]\n PRUNE(!n$1, false); [line 10]\n " shape="invhouse"] "neg_int.2aa25aca565c41dd997912d11504462c_5" -> "neg_int.2aa25aca565c41dd997912d11504462c_7" ; diff --git a/infer/tests/codetoanalyze/c/frontend/booleans/condition_as_param.c.dot b/infer/tests/codetoanalyze/c/frontend/booleans/condition_as_param.c.dot index 0a4b09fef..ed2dc1e04 100644 --- a/infer/tests/codetoanalyze/c/frontend/booleans/condition_as_param.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/booleans/condition_as_param.c.dot @@ -16,11 +16,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; -"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: Prune (true branch) \n PRUNE(((n$1 < 2) != 0), true); [line 14]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: Prune (true branch) \n PRUNE((n$1 < 2), true); [line 14]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (false branch) \n PRUNE(((n$1 < 2) == 0), false); [line 14]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (false branch) \n PRUNE(!(n$1 < 2), false); [line 14]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/array_access.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/array_access.c.dot index c729b7437..2b44feace 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/array_access.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/array_access.c.dot @@ -25,11 +25,11 @@ digraph iCFG { "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_6" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_7" ; "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_6" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_8" ; -"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_7" [label="7: Prune (true branch) \n n$1=*n$0:int* [line 17]\n n$4=*n$3:int [line 17]\n n$5=*n$1[n$4]:int [line 17]\n PRUNE((n$5 != 0), true); [line 17]\n " shape="invhouse"] +"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_7" [label="7: Prune (true branch) \n n$1=*n$0:int* [line 17]\n n$4=*n$3:int [line 17]\n n$5=*n$1[n$4]:int [line 17]\n PRUNE(n$5, true); [line 17]\n " shape="invhouse"] "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_7" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_3" ; -"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_8" [label="8: Prune (false branch) \n n$1=*n$0:int* [line 17]\n n$4=*n$3:int [line 17]\n n$5=*n$1[n$4]:int [line 17]\n PRUNE((n$5 == 0), false); [line 17]\n " shape="invhouse"] +"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_8" [label="8: Prune (false branch) \n n$1=*n$0:int* [line 17]\n n$4=*n$3:int [line 17]\n n$5=*n$1[n$4]:int [line 17]\n PRUNE(!n$5, false); [line 17]\n " shape="invhouse"] "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_8" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_3" ; @@ -42,11 +42,11 @@ digraph iCFG { "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_10" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_11" ; "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_10" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_12" ; -"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_11" [label="11: Prune (true branch) \n n$6=*&p:int** [line 15]\n n$9=*n$8:int [line 15]\n n$10=*n$6[n$9]:int* [line 15]\n PRUNE((n$10 != 0), true); [line 15]\n " shape="invhouse"] +"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_11" [label="11: Prune (true branch) \n n$6=*&p:int** [line 15]\n n$9=*n$8:int [line 15]\n n$10=*n$6[n$9]:int* [line 15]\n PRUNE(n$10, true); [line 15]\n " shape="invhouse"] "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_11" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_9" ; -"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_12" [label="12: Prune (false branch) \n n$6=*&p:int** [line 15]\n n$9=*n$8:int [line 15]\n n$10=*n$6[n$9]:int* [line 15]\n PRUNE((n$10 == 0), false); [line 15]\n " shape="invhouse"] +"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_12" [label="12: Prune (false branch) \n n$6=*&p:int** [line 15]\n n$9=*n$8:int [line 15]\n n$10=*n$6[n$9]:int* [line 15]\n PRUNE(!n$10, false); [line 15]\n " shape="invhouse"] "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_12" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_9" ; @@ -59,11 +59,11 @@ digraph iCFG { "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_14" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_15" ; "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_14" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_16" ; -"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_15" [label="15: Prune (true branch) \n n$12=*n$11:int* [line 13]\n n$13=*n$12[1]:int [line 13]\n PRUNE((n$13 != 0), true); [line 13]\n " shape="invhouse"] +"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_15" [label="15: Prune (true branch) \n n$12=*n$11:int* [line 13]\n n$13=*n$12[1]:int [line 13]\n PRUNE(n$13, true); [line 13]\n " shape="invhouse"] "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_15" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_13" ; -"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_16" [label="16: Prune (false branch) \n n$12=*n$11:int* [line 13]\n n$13=*n$12[1]:int [line 13]\n PRUNE((n$13 == 0), false); [line 13]\n " shape="invhouse"] +"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_16" [label="16: Prune (false branch) \n n$12=*n$11:int* [line 13]\n n$13=*n$12[1]:int [line 13]\n PRUNE(!n$13, false); [line 13]\n " shape="invhouse"] "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_16" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_13" ; @@ -71,11 +71,11 @@ digraph iCFG { "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_17" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_14" ; -"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_18" [label="18: Prune (true branch) \n n$14=*&p:int** [line 11]\n n$15=*n$14[0]:int* [line 11]\n PRUNE((n$15 != 0), true); [line 11]\n " shape="invhouse"] +"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_18" [label="18: Prune (true branch) \n n$14=*&p:int** [line 11]\n n$15=*n$14[0]:int* [line 11]\n PRUNE(n$15, true); [line 11]\n " shape="invhouse"] "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_18" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_17" ; -"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_19" [label="19: Prune (false branch) \n n$14=*&p:int** [line 11]\n n$15=*n$14[0]:int* [line 11]\n PRUNE((n$15 == 0), false); [line 11]\n " shape="invhouse"] +"dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_19" [label="19: Prune (false branch) \n n$14=*&p:int** [line 11]\n n$15=*n$14[0]:int* [line 11]\n PRUNE(!n$15, false); [line 11]\n " shape="invhouse"] "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_19" -> "dereference_in_array_access.d3133bf0c1bc11000c355c50d0fbb3c0_17" ; diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/binary_operator.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/binary_operator.c.dot index b3877b5a9..e5ca43b10 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/binary_operator.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/binary_operator.c.dot @@ -13,11 +13,11 @@ digraph iCFG { "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_3" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_9" ; "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_3" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_10" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_4" [label="4: Prune (true branch) \n PRUNE((1 != 0), true); [line 26]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_4" [label="4: Prune (true branch) \n PRUNE(1, true); [line 26]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_4" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_6" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_5" [label="5: Prune (false branch) \n PRUNE((1 == 0), false); [line 26]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_5" [label="5: Prune (false branch) \n PRUNE(!1, false); [line 26]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_5" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_7" ; @@ -33,11 +33,11 @@ digraph iCFG { "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_8" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_13" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_9" [label="9: Prune (true branch) \n PRUNE((1 != 0), true); [line 26]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_9" [label="9: Prune (true branch) \n PRUNE(1, true); [line 26]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_9" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_11" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_10" [label="10: Prune (false branch) \n PRUNE((1 == 0), false); [line 26]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_10" [label="10: Prune (false branch) \n PRUNE(!1, false); [line 26]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_10" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_12" ; @@ -57,11 +57,11 @@ digraph iCFG { "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_14" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_19" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_15" [label="15: Prune (true branch) \n PRUNE((1 != 0), true); [line 24]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_15" [label="15: Prune (true branch) \n PRUNE(1, true); [line 24]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_15" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_17" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_16" [label="16: Prune (false branch) \n PRUNE((1 == 0), false); [line 24]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_16" [label="16: Prune (false branch) \n PRUNE(!1, false); [line 24]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_16" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_18" ; @@ -82,11 +82,11 @@ digraph iCFG { "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_20" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_25" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_21" [label="21: Prune (true branch) \n PRUNE((1 != 0), true); [line 22]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_21" [label="21: Prune (true branch) \n PRUNE(1, true); [line 22]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_21" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_23" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_22" [label="22: Prune (false branch) \n PRUNE((1 == 0), false); [line 22]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_22" [label="22: Prune (false branch) \n PRUNE(!1, false); [line 22]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_22" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_24" ; @@ -108,11 +108,11 @@ digraph iCFG { "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_26" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_32" ; "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_26" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_33" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_27" [label="27: Prune (true branch) \n PRUNE((1 != 0), true); [line 19]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_27" [label="27: Prune (true branch) \n PRUNE(1, true); [line 19]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_27" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_29" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_28" [label="28: Prune (false branch) \n PRUNE((1 == 0), false); [line 19]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_28" [label="28: Prune (false branch) \n PRUNE(!1, false); [line 19]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_28" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_30" ; @@ -128,11 +128,11 @@ digraph iCFG { "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_31" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_36" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_32" [label="32: Prune (true branch) \n PRUNE((1 != 0), true); [line 19]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_32" [label="32: Prune (true branch) \n PRUNE(1, true); [line 19]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_32" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_34" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_33" [label="33: Prune (false branch) \n PRUNE((1 == 0), false); [line 19]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_33" [label="33: Prune (false branch) \n PRUNE(!1, false); [line 19]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_33" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_35" ; @@ -153,11 +153,11 @@ digraph iCFG { "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_37" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_42" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_38" [label="38: Prune (true branch) \n PRUNE((1 != 0), true); [line 16]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_38" [label="38: Prune (true branch) \n PRUNE(1, true); [line 16]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_38" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_40" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_39" [label="39: Prune (false branch) \n PRUNE((1 == 0), false); [line 16]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_39" [label="39: Prune (false branch) \n PRUNE(!1, false); [line 16]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_39" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_41" ; @@ -178,11 +178,11 @@ digraph iCFG { "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_43" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_48" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_44" [label="44: Prune (true branch) \n PRUNE((1 != 0), true); [line 13]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_44" [label="44: Prune (true branch) \n PRUNE(1, true); [line 13]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_44" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_46" ; -"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_45" [label="45: Prune (false branch) \n PRUNE((1 == 0), false); [line 13]\n " shape="invhouse"] +"binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_45" [label="45: Prune (false branch) \n PRUNE(!1, false); [line 13]\n " shape="invhouse"] "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_45" -> "binop_with_side_effects.9cbc0255c95bd7e0ccf9d7a826fa2a2d_47" ; diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/cond2.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/cond2.c.dot index f18bef776..72c28967f 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/cond2.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/cond2.c.dot @@ -11,11 +11,11 @@ digraph iCFG { "foo.acbd18db4cc2f85cedef654fccc4a4d8_3" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_8" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_4" [label="4: Prune (true branch) \n PRUNE(((7 > 9) != 0), true); [line 18]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_4" [label="4: Prune (true branch) \n PRUNE((7 > 9), true); [line 18]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_4" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_6" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_5" [label="5: Prune (false branch) \n PRUNE(((7 > 9) == 0), false); [line 18]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_5" [label="5: Prune (false branch) \n PRUNE(!(7 > 9), false); [line 18]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_5" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_7" ; @@ -35,11 +35,11 @@ digraph iCFG { "foo.acbd18db4cc2f85cedef654fccc4a4d8_9" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_19" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_10" [label="10: Prune (true branch) \n PRUNE(((2 < 1) != 0), true); [line 17]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_10" [label="10: Prune (true branch) \n PRUNE((2 < 1), true); [line 17]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_10" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_12" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_11" [label="11: Prune (false branch) \n PRUNE(((2 < 1) == 0), false); [line 17]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_11" [label="11: Prune (false branch) \n PRUNE(!(2 < 1), false); [line 17]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_11" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_14" ; @@ -52,11 +52,11 @@ digraph iCFG { "foo.acbd18db4cc2f85cedef654fccc4a4d8_13" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_18" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_14" [label="14: Prune (true branch) \n PRUNE(((5 > 4) != 0), true); [line 17]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_14" [label="14: Prune (true branch) \n PRUNE((5 > 4), true); [line 17]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_14" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_16" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_15" [label="15: Prune (false branch) \n PRUNE(((5 > 4) == 0), false); [line 17]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_15" [label="15: Prune (false branch) \n PRUNE(!(5 > 4), false); [line 17]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_15" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_17" ; @@ -81,11 +81,11 @@ digraph iCFG { "foo.acbd18db4cc2f85cedef654fccc4a4d8_20" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_28" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_21" [label="21: Prune (true branch) \n PRUNE(((3 < 4) != 0), true); [line 16]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_21" [label="21: Prune (true branch) \n PRUNE((3 < 4), true); [line 16]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_21" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_26" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_22" [label="22: Prune (false branch) \n PRUNE(((3 < 4) == 0), false); [line 16]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_22" [label="22: Prune (false branch) \n PRUNE(!(3 < 4), false); [line 16]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_22" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_23" ; @@ -94,11 +94,11 @@ digraph iCFG { "foo.acbd18db4cc2f85cedef654fccc4a4d8_23" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_24" ; "foo.acbd18db4cc2f85cedef654fccc4a4d8_23" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_25" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_24" [label="24: Prune (true branch) \n PRUNE(((7 < (n$7 - n$8)) != 0), true); [line 16]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_24" [label="24: Prune (true branch) \n PRUNE((7 < (n$7 - n$8)), true); [line 16]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_24" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_26" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_25" [label="25: Prune (false branch) \n PRUNE(((7 < (n$7 - n$8)) == 0), false); [line 16]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_25" [label="25: Prune (false branch) \n PRUNE(!(7 < (n$7 - n$8)), false); [line 16]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_25" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_27" ; @@ -124,11 +124,11 @@ digraph iCFG { "foo.acbd18db4cc2f85cedef654fccc4a4d8_30" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_29" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_31" [label="31: Prune (true branch) \n PRUNE(((3 < 4) != 0), true); [line 12]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_31" [label="31: Prune (true branch) \n PRUNE((3 < 4), true); [line 12]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_31" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_36" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_32" [label="32: Prune (false branch) \n PRUNE(((3 < 4) == 0), false); [line 12]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_32" [label="32: Prune (false branch) \n PRUNE(!(3 < 4), false); [line 12]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_32" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_33" ; @@ -137,11 +137,11 @@ digraph iCFG { "foo.acbd18db4cc2f85cedef654fccc4a4d8_33" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_34" ; "foo.acbd18db4cc2f85cedef654fccc4a4d8_33" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_35" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_34" [label="34: Prune (true branch) \n PRUNE(((7 < n$10) != 0), true); [line 12]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_34" [label="34: Prune (true branch) \n PRUNE((7 < n$10), true); [line 12]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_34" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_36" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_35" [label="35: Prune (false branch) \n PRUNE(((7 < n$10) == 0), false); [line 12]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_35" [label="35: Prune (false branch) \n PRUNE(!(7 < n$10), false); [line 12]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_35" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_30" ; @@ -169,11 +169,11 @@ digraph iCFG { "bar.37b51d194a7513e45b56f6524f2d51f2_4" -> "bar.37b51d194a7513e45b56f6524f2d51f2_9" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_5" [label="5: Prune (true branch) \n PRUNE(((3 > 4) != 0), true); [line 24]\n " shape="invhouse"] +"bar.37b51d194a7513e45b56f6524f2d51f2_5" [label="5: Prune (true branch) \n PRUNE((3 > 4), true); [line 24]\n " shape="invhouse"] "bar.37b51d194a7513e45b56f6524f2d51f2_5" -> "bar.37b51d194a7513e45b56f6524f2d51f2_7" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_6" [label="6: Prune (false branch) \n PRUNE(((3 > 4) == 0), false); [line 24]\n " shape="invhouse"] +"bar.37b51d194a7513e45b56f6524f2d51f2_6" [label="6: Prune (false branch) \n PRUNE(!(3 > 4), false); [line 24]\n " shape="invhouse"] "bar.37b51d194a7513e45b56f6524f2d51f2_6" -> "bar.37b51d194a7513e45b56f6524f2d51f2_8" ; @@ -190,11 +190,11 @@ digraph iCFG { "bar.37b51d194a7513e45b56f6524f2d51f2_9" -> "bar.37b51d194a7513e45b56f6524f2d51f2_10" ; "bar.37b51d194a7513e45b56f6524f2d51f2_9" -> "bar.37b51d194a7513e45b56f6524f2d51f2_11" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_10" [label="10: Prune (true branch) \n PRUNE(((n$2 > 1) != 0), true); [line 24]\n " shape="invhouse"] +"bar.37b51d194a7513e45b56f6524f2d51f2_10" [label="10: Prune (true branch) \n PRUNE((n$2 > 1), true); [line 24]\n " shape="invhouse"] "bar.37b51d194a7513e45b56f6524f2d51f2_10" -> "bar.37b51d194a7513e45b56f6524f2d51f2_12" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_11" [label="11: Prune (false branch) \n PRUNE(((n$2 > 1) == 0), false); [line 24]\n " shape="invhouse"] +"bar.37b51d194a7513e45b56f6524f2d51f2_11" [label="11: Prune (false branch) \n PRUNE(!(n$2 > 1), false); [line 24]\n " shape="invhouse"] "bar.37b51d194a7513e45b56f6524f2d51f2_11" -> "bar.37b51d194a7513e45b56f6524f2d51f2_13" ; @@ -219,11 +219,11 @@ digraph iCFG { "bar.37b51d194a7513e45b56f6524f2d51f2_16" -> "bar.37b51d194a7513e45b56f6524f2d51f2_17" ; "bar.37b51d194a7513e45b56f6524f2d51f2_16" -> "bar.37b51d194a7513e45b56f6524f2d51f2_18" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_17" [label="17: Prune (true branch) \n PRUNE(((n$6 > 1) != 0), true); [line 23]\n " shape="invhouse"] +"bar.37b51d194a7513e45b56f6524f2d51f2_17" [label="17: Prune (true branch) \n PRUNE((n$6 > 1), true); [line 23]\n " shape="invhouse"] "bar.37b51d194a7513e45b56f6524f2d51f2_17" -> "bar.37b51d194a7513e45b56f6524f2d51f2_19" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_18" [label="18: Prune (false branch) \n PRUNE(((n$6 > 1) == 0), false); [line 23]\n " shape="invhouse"] +"bar.37b51d194a7513e45b56f6524f2d51f2_18" [label="18: Prune (false branch) \n PRUNE(!(n$6 > 1), false); [line 23]\n " shape="invhouse"] "bar.37b51d194a7513e45b56f6524f2d51f2_18" -> "bar.37b51d194a7513e45b56f6524f2d51f2_20" ; diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/conditional_operator.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/conditional_operator.c.dot index b51386447..fa578b4eb 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/conditional_operator.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/conditional_operator.c.dot @@ -12,11 +12,11 @@ digraph iCFG { "test.098f6bcd4621d373cade4e832627b4f6_3" -> "test.098f6bcd4621d373cade4e832627b4f6_8" ; -"test.098f6bcd4621d373cade4e832627b4f6_4" [label="4: Prune (true branch) \n n$1=*&b:int [line 14]\n PRUNE((n$1 != 0), true); [line 14]\n " shape="invhouse"] +"test.098f6bcd4621d373cade4e832627b4f6_4" [label="4: Prune (true branch) \n n$1=*&b:int [line 14]\n PRUNE(n$1, true); [line 14]\n " shape="invhouse"] "test.098f6bcd4621d373cade4e832627b4f6_4" -> "test.098f6bcd4621d373cade4e832627b4f6_6" ; -"test.098f6bcd4621d373cade4e832627b4f6_5" [label="5: Prune (false branch) \n n$1=*&b:int [line 14]\n PRUNE((n$1 == 0), false); [line 14]\n " shape="invhouse"] +"test.098f6bcd4621d373cade4e832627b4f6_5" [label="5: Prune (false branch) \n n$1=*&b:int [line 14]\n PRUNE(!n$1, false); [line 14]\n " shape="invhouse"] "test.098f6bcd4621d373cade4e832627b4f6_5" -> "test.098f6bcd4621d373cade4e832627b4f6_7" ; @@ -48,11 +48,11 @@ digraph iCFG { "test1.5a105e8b9d40e1329780d62ea2265d8a_4" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_9" ; -"test1.5a105e8b9d40e1329780d62ea2265d8a_5" [label="5: Prune (true branch) \n n$2=*&b:int [line 17]\n PRUNE((n$2 != 0), true); [line 17]\n " shape="invhouse"] +"test1.5a105e8b9d40e1329780d62ea2265d8a_5" [label="5: Prune (true branch) \n n$2=*&b:int [line 17]\n PRUNE(n$2, true); [line 17]\n " shape="invhouse"] "test1.5a105e8b9d40e1329780d62ea2265d8a_5" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_7" ; -"test1.5a105e8b9d40e1329780d62ea2265d8a_6" [label="6: Prune (false branch) \n n$2=*&b:int [line 17]\n PRUNE((n$2 == 0), false); [line 17]\n " shape="invhouse"] +"test1.5a105e8b9d40e1329780d62ea2265d8a_6" [label="6: Prune (false branch) \n n$2=*&b:int [line 17]\n PRUNE(!n$2, false); [line 17]\n " shape="invhouse"] "test1.5a105e8b9d40e1329780d62ea2265d8a_6" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_8" ; @@ -83,11 +83,11 @@ digraph iCFG { "test3.8ad8757baa8564dc136c1e07507f4a98_4" -> "test3.8ad8757baa8564dc136c1e07507f4a98_10" ; -"test3.8ad8757baa8564dc136c1e07507f4a98_5" [label="5: Prune (true branch) \n PRUNE((n$1 != 0), true); [line 22]\n " shape="invhouse"] +"test3.8ad8757baa8564dc136c1e07507f4a98_5" [label="5: Prune (true branch) \n PRUNE(n$1, true); [line 22]\n " shape="invhouse"] "test3.8ad8757baa8564dc136c1e07507f4a98_5" -> "test3.8ad8757baa8564dc136c1e07507f4a98_7" ; -"test3.8ad8757baa8564dc136c1e07507f4a98_6" [label="6: Prune (false branch) \n PRUNE((n$1 == 0), false); [line 22]\n " shape="invhouse"] +"test3.8ad8757baa8564dc136c1e07507f4a98_6" [label="6: Prune (false branch) \n PRUNE(!n$1, false); [line 22]\n " shape="invhouse"] "test3.8ad8757baa8564dc136c1e07507f4a98_6" -> "test3.8ad8757baa8564dc136c1e07507f4a98_8" ; @@ -119,11 +119,11 @@ digraph iCFG { "test4.86985e105f79b95d6bc918fb45ec7727_3" -> "test4.86985e105f79b95d6bc918fb45ec7727_9" ; -"test4.86985e105f79b95d6bc918fb45ec7727_4" [label="4: Prune (true branch) \n PRUNE((n$0 != 0), true); [line 26]\n " shape="invhouse"] +"test4.86985e105f79b95d6bc918fb45ec7727_4" [label="4: Prune (true branch) \n PRUNE(n$0, true); [line 26]\n " shape="invhouse"] "test4.86985e105f79b95d6bc918fb45ec7727_4" -> "test4.86985e105f79b95d6bc918fb45ec7727_6" ; -"test4.86985e105f79b95d6bc918fb45ec7727_5" [label="5: Prune (false branch) \n PRUNE((n$0 == 0), false); [line 26]\n " shape="invhouse"] +"test4.86985e105f79b95d6bc918fb45ec7727_5" [label="5: Prune (false branch) \n PRUNE(!n$0, false); [line 26]\n " shape="invhouse"] "test4.86985e105f79b95d6bc918fb45ec7727_5" -> "test4.86985e105f79b95d6bc918fb45ec7727_7" ; @@ -155,11 +155,11 @@ digraph iCFG { "test5.e3d704f3542b44a621ebed70dc0efe13_3" -> "test5.e3d704f3542b44a621ebed70dc0efe13_9" ; -"test5.e3d704f3542b44a621ebed70dc0efe13_4" [label="4: Prune (true branch) \n PRUNE((n$0 != 0), true); [line 28]\n " shape="invhouse"] +"test5.e3d704f3542b44a621ebed70dc0efe13_4" [label="4: Prune (true branch) \n PRUNE(n$0, true); [line 28]\n " shape="invhouse"] "test5.e3d704f3542b44a621ebed70dc0efe13_4" -> "test5.e3d704f3542b44a621ebed70dc0efe13_6" ; -"test5.e3d704f3542b44a621ebed70dc0efe13_5" [label="5: Prune (false branch) \n PRUNE((n$0 == 0), false); [line 28]\n " shape="invhouse"] +"test5.e3d704f3542b44a621ebed70dc0efe13_5" [label="5: Prune (false branch) \n PRUNE(!n$0, false); [line 28]\n " shape="invhouse"] "test5.e3d704f3542b44a621ebed70dc0efe13_5" -> "test5.e3d704f3542b44a621ebed70dc0efe13_7" ; @@ -191,11 +191,11 @@ digraph iCFG { "test7.b04083e53e242626595e2b8ea327e525_3" -> "test7.b04083e53e242626595e2b8ea327e525_9" ; -"test7.b04083e53e242626595e2b8ea327e525_4" [label="4: Prune (true branch) \n PRUNE((n$1 != 0), true); [line 35]\n " shape="invhouse"] +"test7.b04083e53e242626595e2b8ea327e525_4" [label="4: Prune (true branch) \n PRUNE(n$1, true); [line 35]\n " shape="invhouse"] "test7.b04083e53e242626595e2b8ea327e525_4" -> "test7.b04083e53e242626595e2b8ea327e525_6" ; -"test7.b04083e53e242626595e2b8ea327e525_5" [label="5: Prune (false branch) \n PRUNE((n$1 == 0), false); [line 35]\n " shape="invhouse"] +"test7.b04083e53e242626595e2b8ea327e525_5" [label="5: Prune (false branch) \n PRUNE(!n$1, false); [line 35]\n " shape="invhouse"] "test7.b04083e53e242626595e2b8ea327e525_5" -> "test7.b04083e53e242626595e2b8ea327e525_7" ; @@ -232,11 +232,11 @@ digraph iCFG { "test6.4cfad7076129962ee70c36839a1e3e15_4" -> "test6.4cfad7076129962ee70c36839a1e3e15_9" ; -"test6.4cfad7076129962ee70c36839a1e3e15_5" [label="5: Prune (true branch) \n PRUNE((1 != 0), true); [line 31]\n " shape="invhouse"] +"test6.4cfad7076129962ee70c36839a1e3e15_5" [label="5: Prune (true branch) \n PRUNE(1, true); [line 31]\n " shape="invhouse"] "test6.4cfad7076129962ee70c36839a1e3e15_5" -> "test6.4cfad7076129962ee70c36839a1e3e15_7" ; -"test6.4cfad7076129962ee70c36839a1e3e15_6" [label="6: Prune (false branch) \n PRUNE((1 == 0), false); [line 31]\n " shape="invhouse"] +"test6.4cfad7076129962ee70c36839a1e3e15_6" [label="6: Prune (false branch) \n PRUNE(!1, false); [line 31]\n " shape="invhouse"] "test6.4cfad7076129962ee70c36839a1e3e15_6" -> "test6.4cfad7076129962ee70c36839a1e3e15_8" ; diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/function_call.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/function_call.c.dot index 7bfc4fbd2..8b460ee5e 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/function_call.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/function_call.c.dot @@ -12,11 +12,11 @@ digraph iCFG { "fun_ifthenelse1.6d810dc9f25b2ded52969d35a73b5fb3_3" -> "fun_ifthenelse1.6d810dc9f25b2ded52969d35a73b5fb3_8" ; -"fun_ifthenelse1.6d810dc9f25b2ded52969d35a73b5fb3_4" [label="4: Prune (true branch) \n PRUNE((1 != 0), true); [line 12]\n " shape="invhouse"] +"fun_ifthenelse1.6d810dc9f25b2ded52969d35a73b5fb3_4" [label="4: Prune (true branch) \n PRUNE(1, true); [line 12]\n " shape="invhouse"] "fun_ifthenelse1.6d810dc9f25b2ded52969d35a73b5fb3_4" -> "fun_ifthenelse1.6d810dc9f25b2ded52969d35a73b5fb3_6" ; -"fun_ifthenelse1.6d810dc9f25b2ded52969d35a73b5fb3_5" [label="5: Prune (false branch) \n PRUNE((1 == 0), false); [line 12]\n " shape="invhouse"] +"fun_ifthenelse1.6d810dc9f25b2ded52969d35a73b5fb3_5" [label="5: Prune (false branch) \n PRUNE(!1, false); [line 12]\n " shape="invhouse"] "fun_ifthenelse1.6d810dc9f25b2ded52969d35a73b5fb3_5" -> "fun_ifthenelse1.6d810dc9f25b2ded52969d35a73b5fb3_7" ; @@ -45,11 +45,11 @@ digraph iCFG { "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_3" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_9" ; "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_3" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_10" ; -"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_4" [label="4: Prune (true branch) \n PRUNE((1 != 0), true); [line 15]\n " shape="invhouse"] +"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_4" [label="4: Prune (true branch) \n PRUNE(1, true); [line 15]\n " shape="invhouse"] "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_4" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_6" ; -"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_5" [label="5: Prune (false branch) \n PRUNE((1 == 0), false); [line 15]\n " shape="invhouse"] +"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_5" [label="5: Prune (false branch) \n PRUNE(!1, false); [line 15]\n " shape="invhouse"] "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_5" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_7" ; @@ -66,11 +66,11 @@ digraph iCFG { "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_8" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_14" ; "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_8" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_15" ; -"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_9" [label="9: Prune (true branch) \n PRUNE((0 != 0), true); [line 15]\n " shape="invhouse"] +"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_9" [label="9: Prune (true branch) \n PRUNE(0, true); [line 15]\n " shape="invhouse"] "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_9" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_11" ; -"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_10" [label="10: Prune (false branch) \n PRUNE((0 == 0), false); [line 15]\n " shape="invhouse"] +"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_10" [label="10: Prune (false branch) \n PRUNE(!0, false); [line 15]\n " shape="invhouse"] "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_10" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_12" ; @@ -87,11 +87,11 @@ digraph iCFG { "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_13" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_19" ; "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_13" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_20" ; -"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_14" [label="14: Prune (true branch) \n PRUNE((0 != 0), true); [line 15]\n " shape="invhouse"] +"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_14" [label="14: Prune (true branch) \n PRUNE(0, true); [line 15]\n " shape="invhouse"] "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_14" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_16" ; -"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_15" [label="15: Prune (false branch) \n PRUNE((0 == 0), false); [line 15]\n " shape="invhouse"] +"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_15" [label="15: Prune (false branch) \n PRUNE(!0, false); [line 15]\n " shape="invhouse"] "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_15" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_17" ; @@ -107,11 +107,11 @@ digraph iCFG { "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_18" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_23" ; -"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_19" [label="19: Prune (true branch) \n PRUNE((0 != 0), true); [line 15]\n " shape="invhouse"] +"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_19" [label="19: Prune (true branch) \n PRUNE(0, true); [line 15]\n " shape="invhouse"] "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_19" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_21" ; -"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_20" [label="20: Prune (false branch) \n PRUNE((0 == 0), false); [line 15]\n " shape="invhouse"] +"fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_20" [label="20: Prune (false branch) \n PRUNE(!0, false); [line 15]\n " shape="invhouse"] "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_20" -> "fun_ifthenelse2.d4d0fea4695ba22ddab12e33d11e81f2_22" ; @@ -140,11 +140,11 @@ digraph iCFG { "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_3" -> "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_9" ; "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_3" -> "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_10" ; -"fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_4" [label="4: Prune (true branch) \n PRUNE((0 != 0), true); [line 18]\n " shape="invhouse"] +"fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_4" [label="4: Prune (true branch) \n PRUNE(0, true); [line 18]\n " shape="invhouse"] "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_4" -> "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_6" ; -"fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_5" [label="5: Prune (false branch) \n PRUNE((0 == 0), false); [line 18]\n " shape="invhouse"] +"fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_5" [label="5: Prune (false branch) \n PRUNE(!0, false); [line 18]\n " shape="invhouse"] "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_5" -> "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_7" ; @@ -161,11 +161,11 @@ digraph iCFG { "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_8" -> "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_14" ; "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_8" -> "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_15" ; -"fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_9" [label="9: Prune (true branch) \n PRUNE((0 != 0), true); [line 18]\n " shape="invhouse"] +"fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_9" [label="9: Prune (true branch) \n PRUNE(0, true); [line 18]\n " shape="invhouse"] "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_9" -> "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_11" ; -"fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_10" [label="10: Prune (false branch) \n PRUNE((0 == 0), false); [line 18]\n " shape="invhouse"] +"fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_10" [label="10: Prune (false branch) \n PRUNE(!0, false); [line 18]\n " shape="invhouse"] "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_10" -> "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_12" ; @@ -181,11 +181,11 @@ digraph iCFG { "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_13" -> "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_18" ; -"fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_14" [label="14: Prune (true branch) \n PRUNE((0 != 0), true); [line 18]\n " shape="invhouse"] +"fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_14" [label="14: Prune (true branch) \n PRUNE(0, true); [line 18]\n " shape="invhouse"] "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_14" -> "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_16" ; -"fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_15" [label="15: Prune (false branch) \n PRUNE((0 == 0), false); [line 18]\n " shape="invhouse"] +"fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_15" [label="15: Prune (false branch) \n PRUNE(!0, false); [line 18]\n " shape="invhouse"] "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_15" -> "fun_ifthenelse3.c62f5c24a34473fea151d2d63cdc87c6_17" ; @@ -214,11 +214,11 @@ digraph iCFG { "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_3" -> "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_9" ; "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_3" -> "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_10" ; -"fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_4" [label="4: Prune (true branch) \n PRUNE((1 != 0), true); [line 20]\n " shape="invhouse"] +"fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_4" [label="4: Prune (true branch) \n PRUNE(1, true); [line 20]\n " shape="invhouse"] "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_4" -> "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_6" ; -"fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_5" [label="5: Prune (false branch) \n PRUNE((1 == 0), false); [line 20]\n " shape="invhouse"] +"fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_5" [label="5: Prune (false branch) \n PRUNE(!1, false); [line 20]\n " shape="invhouse"] "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_5" -> "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_7" ; @@ -235,11 +235,11 @@ digraph iCFG { "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_8" -> "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_14" ; "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_8" -> "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_15" ; -"fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_9" [label="9: Prune (true branch) \n PRUNE((0 != 0), true); [line 20]\n " shape="invhouse"] +"fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_9" [label="9: Prune (true branch) \n PRUNE(0, true); [line 20]\n " shape="invhouse"] "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_9" -> "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_11" ; -"fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_10" [label="10: Prune (false branch) \n PRUNE((0 == 0), false); [line 20]\n " shape="invhouse"] +"fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_10" [label="10: Prune (false branch) \n PRUNE(!0, false); [line 20]\n " shape="invhouse"] "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_10" -> "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_12" ; @@ -255,11 +255,11 @@ digraph iCFG { "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_13" -> "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_18" ; -"fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_14" [label="14: Prune (true branch) \n PRUNE((0 != 0), true); [line 20]\n " shape="invhouse"] +"fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_14" [label="14: Prune (true branch) \n PRUNE(0, true); [line 20]\n " shape="invhouse"] "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_14" -> "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_16" ; -"fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_15" [label="15: Prune (false branch) \n PRUNE((0 == 0), false); [line 20]\n " shape="invhouse"] +"fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_15" [label="15: Prune (false branch) \n PRUNE(!0, false); [line 20]\n " shape="invhouse"] "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_15" -> "fun_ifthenelse4.2a63e61081ad44f4f9aca9d47562827d_17" ; diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/if_short_circuit.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/if_short_circuit.c.dot index 82788a0a7..5ff74403a 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/if_short_circuit.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/if_short_circuit.c.dot @@ -17,11 +17,11 @@ digraph iCFG { "test_loop.254a9d372f8f45542e409771135b9322_4" -> "test_loop.254a9d372f8f45542e409771135b9322_9" ; "test_loop.254a9d372f8f45542e409771135b9322_4" -> "test_loop.254a9d372f8f45542e409771135b9322_10" ; -"test_loop.254a9d372f8f45542e409771135b9322_5" [label="5: Prune (true branch) \n n$1=*&spec:char* [line 36]\n PRUNE((n$1 != 0), true); [line 36]\n " shape="invhouse"] +"test_loop.254a9d372f8f45542e409771135b9322_5" [label="5: Prune (true branch) \n n$1=*&spec:char* [line 36]\n PRUNE(n$1, true); [line 36]\n " shape="invhouse"] "test_loop.254a9d372f8f45542e409771135b9322_5" -> "test_loop.254a9d372f8f45542e409771135b9322_7" ; -"test_loop.254a9d372f8f45542e409771135b9322_6" [label="6: Prune (false branch) \n n$1=*&spec:char* [line 36]\n PRUNE((n$1 == 0), false); [line 36]\n " shape="invhouse"] +"test_loop.254a9d372f8f45542e409771135b9322_6" [label="6: Prune (false branch) \n n$1=*&spec:char* [line 36]\n PRUNE(!n$1, false); [line 36]\n " shape="invhouse"] "test_loop.254a9d372f8f45542e409771135b9322_6" -> "test_loop.254a9d372f8f45542e409771135b9322_8" ; @@ -33,11 +33,11 @@ digraph iCFG { "test_loop.254a9d372f8f45542e409771135b9322_8" -> "test_loop.254a9d372f8f45542e409771135b9322_4" ; -"test_loop.254a9d372f8f45542e409771135b9322_9" [label="9: Prune (true branch) \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 36]\n PRUNE((n$2 != 0), true); [line 36]\n " shape="invhouse"] +"test_loop.254a9d372f8f45542e409771135b9322_9" [label="9: Prune (true branch) \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 36]\n PRUNE(n$2, true); [line 36]\n " shape="invhouse"] "test_loop.254a9d372f8f45542e409771135b9322_9" -> "test_loop.254a9d372f8f45542e409771135b9322_12" ; -"test_loop.254a9d372f8f45542e409771135b9322_10" [label="10: Prune (false branch) \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 36]\n PRUNE((n$2 == 0), false); [line 36]\n " shape="invhouse"] +"test_loop.254a9d372f8f45542e409771135b9322_10" [label="10: Prune (false branch) \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 36]\n PRUNE(!n$2, false); [line 36]\n " shape="invhouse"] "test_loop.254a9d372f8f45542e409771135b9322_10" -> "test_loop.254a9d372f8f45542e409771135b9322_2" ; @@ -51,11 +51,11 @@ digraph iCFG { "test_loop.254a9d372f8f45542e409771135b9322_12" -> "test_loop.254a9d372f8f45542e409771135b9322_13" ; "test_loop.254a9d372f8f45542e409771135b9322_12" -> "test_loop.254a9d372f8f45542e409771135b9322_14" ; -"test_loop.254a9d372f8f45542e409771135b9322_13" [label="13: Prune (true branch) \n PRUNE((n$5 != 0), true); [line 36]\n " shape="invhouse"] +"test_loop.254a9d372f8f45542e409771135b9322_13" [label="13: Prune (true branch) \n PRUNE(n$5, true); [line 36]\n " shape="invhouse"] "test_loop.254a9d372f8f45542e409771135b9322_13" -> "test_loop.254a9d372f8f45542e409771135b9322_15" ; -"test_loop.254a9d372f8f45542e409771135b9322_14" [label="14: Prune (false branch) \n PRUNE((n$5 == 0), false); [line 36]\n " shape="invhouse"] +"test_loop.254a9d372f8f45542e409771135b9322_14" [label="14: Prune (false branch) \n PRUNE(!n$5, false); [line 36]\n " shape="invhouse"] "test_loop.254a9d372f8f45542e409771135b9322_14" -> "test_loop.254a9d372f8f45542e409771135b9322_16" ; @@ -67,11 +67,11 @@ digraph iCFG { "test_loop.254a9d372f8f45542e409771135b9322_16" -> "test_loop.254a9d372f8f45542e409771135b9322_11" ; -"test_loop.254a9d372f8f45542e409771135b9322_17" [label="17: Prune (true branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 36]\n PRUNE((n$6 != 0), true); [line 36]\n " shape="invhouse"] +"test_loop.254a9d372f8f45542e409771135b9322_17" [label="17: Prune (true branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 36]\n PRUNE(n$6, true); [line 36]\n " shape="invhouse"] "test_loop.254a9d372f8f45542e409771135b9322_17" -> "test_loop.254a9d372f8f45542e409771135b9322_20" ; -"test_loop.254a9d372f8f45542e409771135b9322_18" [label="18: Prune (false branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 36]\n PRUNE((n$6 == 0), false); [line 36]\n " shape="invhouse"] +"test_loop.254a9d372f8f45542e409771135b9322_18" [label="18: Prune (false branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 36]\n PRUNE(!n$6, false); [line 36]\n " shape="invhouse"] "test_loop.254a9d372f8f45542e409771135b9322_18" -> "test_loop.254a9d372f8f45542e409771135b9322_2" ; @@ -85,11 +85,11 @@ digraph iCFG { "test_loop.254a9d372f8f45542e409771135b9322_20" -> "test_loop.254a9d372f8f45542e409771135b9322_21" ; "test_loop.254a9d372f8f45542e409771135b9322_20" -> "test_loop.254a9d372f8f45542e409771135b9322_22" ; -"test_loop.254a9d372f8f45542e409771135b9322_21" [label="21: Prune (true branch) \n PRUNE((n$9 != 0), true); [line 37]\n " shape="invhouse"] +"test_loop.254a9d372f8f45542e409771135b9322_21" [label="21: Prune (true branch) \n PRUNE(n$9, true); [line 37]\n " shape="invhouse"] "test_loop.254a9d372f8f45542e409771135b9322_21" -> "test_loop.254a9d372f8f45542e409771135b9322_23" ; -"test_loop.254a9d372f8f45542e409771135b9322_22" [label="22: Prune (false branch) \n PRUNE((n$9 == 0), false); [line 37]\n " shape="invhouse"] +"test_loop.254a9d372f8f45542e409771135b9322_22" [label="22: Prune (false branch) \n PRUNE(!n$9, false); [line 37]\n " shape="invhouse"] "test_loop.254a9d372f8f45542e409771135b9322_22" -> "test_loop.254a9d372f8f45542e409771135b9322_24" ; @@ -101,11 +101,11 @@ digraph iCFG { "test_loop.254a9d372f8f45542e409771135b9322_24" -> "test_loop.254a9d372f8f45542e409771135b9322_19" ; -"test_loop.254a9d372f8f45542e409771135b9322_25" [label="25: Prune (true branch) \n n$10=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 37]\n PRUNE((n$10 != 0), true); [line 37]\n " shape="invhouse"] +"test_loop.254a9d372f8f45542e409771135b9322_25" [label="25: Prune (true branch) \n n$10=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 37]\n PRUNE(n$10, true); [line 37]\n " shape="invhouse"] "test_loop.254a9d372f8f45542e409771135b9322_25" -> "test_loop.254a9d372f8f45542e409771135b9322_27" ; -"test_loop.254a9d372f8f45542e409771135b9322_26" [label="26: Prune (false branch) \n n$10=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 37]\n PRUNE((n$10 == 0), false); [line 37]\n " shape="invhouse"] +"test_loop.254a9d372f8f45542e409771135b9322_26" [label="26: Prune (false branch) \n n$10=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 37]\n PRUNE(!n$10, false); [line 37]\n " shape="invhouse"] "test_loop.254a9d372f8f45542e409771135b9322_26" -> "test_loop.254a9d372f8f45542e409771135b9322_2" ; @@ -137,11 +137,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_10" ; "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_11" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n n$1=*&spec:char* [line 49]\n PRUNE((n$1 != 0), true); [line 49]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n n$1=*&spec:char* [line 49]\n PRUNE(n$1, true); [line 49]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n n$1=*&spec:char* [line 49]\n PRUNE((n$1 == 0), false); [line 49]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n n$1=*&spec:char* [line 49]\n PRUNE(!n$1, false); [line 49]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_9" ; @@ -153,11 +153,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_9" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; -"main.fad58de7366495db4650cfefac2fcd61_10" [label="10: Prune (true branch) \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 49]\n PRUNE((n$2 != 0), true); [line 49]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_10" [label="10: Prune (true branch) \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 49]\n PRUNE(n$2, true); [line 49]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_10" -> "main.fad58de7366495db4650cfefac2fcd61_13" ; -"main.fad58de7366495db4650cfefac2fcd61_11" [label="11: Prune (false branch) \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 49]\n PRUNE((n$2 == 0), false); [line 49]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_11" [label="11: Prune (false branch) \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 49]\n PRUNE(!n$2, false); [line 49]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_11" -> "main.fad58de7366495db4650cfefac2fcd61_30" ; @@ -171,11 +171,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_13" -> "main.fad58de7366495db4650cfefac2fcd61_14" ; "main.fad58de7366495db4650cfefac2fcd61_13" -> "main.fad58de7366495db4650cfefac2fcd61_15" ; -"main.fad58de7366495db4650cfefac2fcd61_14" [label="14: Prune (true branch) \n PRUNE((n$5 != 0), true); [line 49]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_14" [label="14: Prune (true branch) \n PRUNE(n$5, true); [line 49]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_14" -> "main.fad58de7366495db4650cfefac2fcd61_16" ; -"main.fad58de7366495db4650cfefac2fcd61_15" [label="15: Prune (false branch) \n PRUNE((n$5 == 0), false); [line 49]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_15" [label="15: Prune (false branch) \n PRUNE(!n$5, false); [line 49]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_15" -> "main.fad58de7366495db4650cfefac2fcd61_17" ; @@ -187,11 +187,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_17" -> "main.fad58de7366495db4650cfefac2fcd61_12" ; -"main.fad58de7366495db4650cfefac2fcd61_18" [label="18: Prune (true branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 49]\n PRUNE((n$6 != 0), true); [line 49]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_18" [label="18: Prune (true branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 49]\n PRUNE(n$6, true); [line 49]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_18" -> "main.fad58de7366495db4650cfefac2fcd61_21" ; -"main.fad58de7366495db4650cfefac2fcd61_19" [label="19: Prune (false branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 49]\n PRUNE((n$6 == 0), false); [line 49]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_19" [label="19: Prune (false branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 49]\n PRUNE(!n$6, false); [line 49]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_19" -> "main.fad58de7366495db4650cfefac2fcd61_30" ; @@ -205,11 +205,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_21" -> "main.fad58de7366495db4650cfefac2fcd61_22" ; "main.fad58de7366495db4650cfefac2fcd61_21" -> "main.fad58de7366495db4650cfefac2fcd61_23" ; -"main.fad58de7366495db4650cfefac2fcd61_22" [label="22: Prune (true branch) \n PRUNE((n$9 != 0), true); [line 49]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_22" [label="22: Prune (true branch) \n PRUNE(n$9, true); [line 49]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_22" -> "main.fad58de7366495db4650cfefac2fcd61_24" ; -"main.fad58de7366495db4650cfefac2fcd61_23" [label="23: Prune (false branch) \n PRUNE((n$9 == 0), false); [line 49]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_23" [label="23: Prune (false branch) \n PRUNE(!n$9, false); [line 49]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_23" -> "main.fad58de7366495db4650cfefac2fcd61_25" ; @@ -221,11 +221,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_25" -> "main.fad58de7366495db4650cfefac2fcd61_20" ; -"main.fad58de7366495db4650cfefac2fcd61_26" [label="26: Prune (true branch) \n n$10=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 49]\n PRUNE((n$10 != 0), true); [line 49]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_26" [label="26: Prune (true branch) \n n$10=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 49]\n PRUNE(n$10, true); [line 49]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_26" -> "main.fad58de7366495db4650cfefac2fcd61_28" ; -"main.fad58de7366495db4650cfefac2fcd61_27" [label="27: Prune (false branch) \n n$10=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 49]\n PRUNE((n$10 == 0), false); [line 49]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_27" [label="27: Prune (false branch) \n n$10=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 49]\n PRUNE(!n$10, false); [line 49]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_27" -> "main.fad58de7366495db4650cfefac2fcd61_30" ; @@ -242,11 +242,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_30" -> "main.fad58de7366495db4650cfefac2fcd61_31" ; "main.fad58de7366495db4650cfefac2fcd61_30" -> "main.fad58de7366495db4650cfefac2fcd61_32" ; -"main.fad58de7366495db4650cfefac2fcd61_31" [label="31: Prune (true branch) \n PRUNE(((n$12 == 39) != 0), true); [line 52]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_31" [label="31: Prune (true branch) \n PRUNE((n$12 == 39), true); [line 52]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_31" -> "main.fad58de7366495db4650cfefac2fcd61_33" ; -"main.fad58de7366495db4650cfefac2fcd61_32" [label="32: Prune (false branch) \n PRUNE(((n$12 == 39) == 0), false); [line 52]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_32" [label="32: Prune (false branch) \n PRUNE(!(n$12 == 39), false); [line 52]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_32" -> "main.fad58de7366495db4650cfefac2fcd61_29" ; @@ -279,11 +279,11 @@ digraph iCFG { "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_5" -> "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_6" ; "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_5" -> "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_7" ; -"shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_6" [label="6: Prune (true branch) \n PRUNE(((n$0 == null) != 0), true); [line 14]\n " shape="invhouse"] +"shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_6" [label="6: Prune (true branch) \n PRUNE((n$0 == null), true); [line 14]\n " shape="invhouse"] "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_6" -> "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_11" ; -"shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_7" [label="7: Prune (false branch) \n PRUNE(((n$0 == null) == 0), false); [line 14]\n " shape="invhouse"] +"shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 == null), false); [line 14]\n " shape="invhouse"] "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_7" -> "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_8" ; @@ -292,11 +292,11 @@ digraph iCFG { "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_8" -> "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_9" ; "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_8" -> "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_10" ; -"shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_9" [label="9: Prune (true branch) \n PRUNE(((n$2 == 2) != 0), true); [line 14]\n " shape="invhouse"] +"shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_9" [label="9: Prune (true branch) \n PRUNE((n$2 == 2), true); [line 14]\n " shape="invhouse"] "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_9" -> "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_11" ; -"shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_10" [label="10: Prune (false branch) \n PRUNE(((n$2 == 2) == 0), false); [line 14]\n " shape="invhouse"] +"shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_10" [label="10: Prune (false branch) \n PRUNE(!(n$2 == 2), false); [line 14]\n " shape="invhouse"] "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_10" -> "shortcircuit_or.5845fe75b89f8af7ec1944cd207962af_12" ; @@ -329,11 +329,11 @@ digraph iCFG { "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_5" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_10" ; "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_5" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_11" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_6" [label="6: Prune (true branch) \n n$1=*&x:int* [line 22]\n PRUNE((n$1 != 0), true); [line 22]\n " shape="invhouse"] +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_6" [label="6: Prune (true branch) \n n$1=*&x:int* [line 22]\n PRUNE(n$1, true); [line 22]\n " shape="invhouse"] "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_6" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_8" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_7" [label="7: Prune (false branch) \n n$1=*&x:int* [line 22]\n PRUNE((n$1 == 0), false); [line 22]\n " shape="invhouse"] +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_7" [label="7: Prune (false branch) \n n$1=*&x:int* [line 22]\n PRUNE(!n$1, false); [line 22]\n " shape="invhouse"] "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_7" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_9" ; @@ -345,11 +345,11 @@ digraph iCFG { "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_9" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_5" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_10" [label="10: Prune (true branch) \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 22]\n PRUNE((n$2 != 0), true); [line 22]\n " shape="invhouse"] +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_10" [label="10: Prune (true branch) \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 22]\n PRUNE(n$2, true); [line 22]\n " shape="invhouse"] "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_10" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_13" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_11" [label="11: Prune (false branch) \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 22]\n PRUNE((n$2 == 0), false); [line 22]\n " shape="invhouse"] +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_11" [label="11: Prune (false branch) \n n$2=*&0$?%__sil_tmpSIL_temp_conditional___n$0:int [line 22]\n PRUNE(!n$2, false); [line 22]\n " shape="invhouse"] "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_11" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_21" ; @@ -363,11 +363,11 @@ digraph iCFG { "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_13" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_14" ; "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_13" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_15" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_14" [label="14: Prune (true branch) \n PRUNE((n$5 != 0), true); [line 22]\n " shape="invhouse"] +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_14" [label="14: Prune (true branch) \n PRUNE(n$5, true); [line 22]\n " shape="invhouse"] "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_14" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_16" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_15" [label="15: Prune (false branch) \n PRUNE((n$5 == 0), false); [line 22]\n " shape="invhouse"] +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_15" [label="15: Prune (false branch) \n PRUNE(!n$5, false); [line 22]\n " shape="invhouse"] "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_15" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_17" ; @@ -379,11 +379,11 @@ digraph iCFG { "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_17" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_12" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_18" [label="18: Prune (true branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 22]\n PRUNE((n$6 != 0), true); [line 22]\n " shape="invhouse"] +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_18" [label="18: Prune (true branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 22]\n PRUNE(n$6, true); [line 22]\n " shape="invhouse"] "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_18" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_20" ; -"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_19" [label="19: Prune (false branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 22]\n PRUNE((n$6 == 0), false); [line 22]\n " shape="invhouse"] +"shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_19" [label="19: Prune (false branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 22]\n PRUNE(!n$6, false); [line 22]\n " shape="invhouse"] "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_19" -> "shortcircuit_and.10f9635d805ff3bd29dfc80b8f8d12da_21" ; diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/int_negation.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/int_negation.c.dot index 5dd8eda24..62c956d84 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/int_negation.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/int_negation.c.dot @@ -31,11 +31,11 @@ digraph iCFG { "bar.37b51d194a7513e45b56f6524f2d51f2_5" -> "bar.37b51d194a7513e45b56f6524f2d51f2_6" ; "bar.37b51d194a7513e45b56f6524f2d51f2_5" -> "bar.37b51d194a7513e45b56f6524f2d51f2_7" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_6" [label="6: Prune (true branch) \n PRUNE((n$1 != 0), true); [line 13]\n " shape="invhouse"] +"bar.37b51d194a7513e45b56f6524f2d51f2_6" [label="6: Prune (true branch) \n PRUNE(n$1, true); [line 13]\n " shape="invhouse"] "bar.37b51d194a7513e45b56f6524f2d51f2_6" -> "bar.37b51d194a7513e45b56f6524f2d51f2_8" ; -"bar.37b51d194a7513e45b56f6524f2d51f2_7" [label="7: Prune (false branch) \n PRUNE((n$1 == 0), false); [line 13]\n " shape="invhouse"] +"bar.37b51d194a7513e45b56f6524f2d51f2_7" [label="7: Prune (false branch) \n PRUNE(!n$1, false); [line 13]\n " shape="invhouse"] "bar.37b51d194a7513e45b56f6524f2d51f2_7" -> "bar.37b51d194a7513e45b56f6524f2d51f2_9" ; @@ -67,11 +67,11 @@ digraph iCFG { "baz.73feffa4b7f6bb68e44cf984c85f6e88_5" -> "baz.73feffa4b7f6bb68e44cf984c85f6e88_10" ; -"baz.73feffa4b7f6bb68e44cf984c85f6e88_6" [label="6: Prune (true branch) \n n$1=*&x:int [line 22]\n PRUNE((n$1 != 0), true); [line 22]\n " shape="invhouse"] +"baz.73feffa4b7f6bb68e44cf984c85f6e88_6" [label="6: Prune (true branch) \n n$1=*&x:int [line 22]\n PRUNE(n$1, true); [line 22]\n " shape="invhouse"] "baz.73feffa4b7f6bb68e44cf984c85f6e88_6" -> "baz.73feffa4b7f6bb68e44cf984c85f6e88_8" ; -"baz.73feffa4b7f6bb68e44cf984c85f6e88_7" [label="7: Prune (false branch) \n n$1=*&x:int [line 22]\n PRUNE((n$1 == 0), false); [line 22]\n " shape="invhouse"] +"baz.73feffa4b7f6bb68e44cf984c85f6e88_7" [label="7: Prune (false branch) \n n$1=*&x:int [line 22]\n PRUNE(!n$1, false); [line 22]\n " shape="invhouse"] "baz.73feffa4b7f6bb68e44cf984c85f6e88_7" -> "baz.73feffa4b7f6bb68e44cf984c85f6e88_9" ; @@ -88,11 +88,11 @@ digraph iCFG { "baz.73feffa4b7f6bb68e44cf984c85f6e88_10" -> "baz.73feffa4b7f6bb68e44cf984c85f6e88_11" ; "baz.73feffa4b7f6bb68e44cf984c85f6e88_10" -> "baz.73feffa4b7f6bb68e44cf984c85f6e88_12" ; -"baz.73feffa4b7f6bb68e44cf984c85f6e88_11" [label="11: Prune (true branch) \n PRUNE((n$3 != 0), true); [line 22]\n " shape="invhouse"] +"baz.73feffa4b7f6bb68e44cf984c85f6e88_11" [label="11: Prune (true branch) \n PRUNE(n$3, true); [line 22]\n " shape="invhouse"] "baz.73feffa4b7f6bb68e44cf984c85f6e88_11" -> "baz.73feffa4b7f6bb68e44cf984c85f6e88_13" ; -"baz.73feffa4b7f6bb68e44cf984c85f6e88_12" [label="12: Prune (false branch) \n PRUNE((n$3 == 0), false); [line 22]\n " shape="invhouse"] +"baz.73feffa4b7f6bb68e44cf984c85f6e88_12" [label="12: Prune (false branch) \n PRUNE(!n$3, false); [line 22]\n " shape="invhouse"] "baz.73feffa4b7f6bb68e44cf984c85f6e88_12" -> "baz.73feffa4b7f6bb68e44cf984c85f6e88_14" ; @@ -116,11 +116,11 @@ digraph iCFG { "neg.f24c2c15b9d03797c6874986a8d19516_3" -> "neg.f24c2c15b9d03797c6874986a8d19516_8" ; -"neg.f24c2c15b9d03797c6874986a8d19516_4" [label="4: Prune (true branch) \n n$1=*&x:int [line 29]\n PRUNE((n$1 != 0), true); [line 29]\n " shape="invhouse"] +"neg.f24c2c15b9d03797c6874986a8d19516_4" [label="4: Prune (true branch) \n n$1=*&x:int [line 29]\n PRUNE(n$1, true); [line 29]\n " shape="invhouse"] "neg.f24c2c15b9d03797c6874986a8d19516_4" -> "neg.f24c2c15b9d03797c6874986a8d19516_6" ; -"neg.f24c2c15b9d03797c6874986a8d19516_5" [label="5: Prune (false branch) \n n$1=*&x:int [line 29]\n PRUNE((n$1 == 0), false); [line 29]\n " shape="invhouse"] +"neg.f24c2c15b9d03797c6874986a8d19516_5" [label="5: Prune (false branch) \n n$1=*&x:int [line 29]\n PRUNE(!n$1, false); [line 29]\n " shape="invhouse"] "neg.f24c2c15b9d03797c6874986a8d19516_5" -> "neg.f24c2c15b9d03797c6874986a8d19516_7" ; diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/member_access.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/member_access.c.dot index 760c384c3..d8647cf83 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/member_access.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/member_access.c.dot @@ -12,11 +12,11 @@ digraph iCFG { "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_3" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_8" ; -"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_4" [label="4: Prune (true branch) \n PRUNE((1 != 0), true); [line 20]\n " shape="invhouse"] +"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_4" [label="4: Prune (true branch) \n PRUNE(1, true); [line 20]\n " shape="invhouse"] "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_4" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_6" ; -"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_5" [label="5: Prune (false branch) \n PRUNE((1 == 0), false); [line 20]\n " shape="invhouse"] +"call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_5" [label="5: Prune (false branch) \n PRUNE(!1, false); [line 20]\n " shape="invhouse"] "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_5" -> "call_ife_then_access_field.b6f399d1a50b93c2421854974cd226e3_7" ; @@ -44,11 +44,11 @@ digraph iCFG { "access_field_in_ife_branch.09235b723e846eb21b7cc76cb004f032_3" -> "access_field_in_ife_branch.09235b723e846eb21b7cc76cb004f032_8" ; -"access_field_in_ife_branch.09235b723e846eb21b7cc76cb004f032_4" [label="4: Prune (true branch) \n PRUNE((1 != 0), true); [line 22]\n " shape="invhouse"] +"access_field_in_ife_branch.09235b723e846eb21b7cc76cb004f032_4" [label="4: Prune (true branch) \n PRUNE(1, true); [line 22]\n " shape="invhouse"] "access_field_in_ife_branch.09235b723e846eb21b7cc76cb004f032_4" -> "access_field_in_ife_branch.09235b723e846eb21b7cc76cb004f032_6" ; -"access_field_in_ife_branch.09235b723e846eb21b7cc76cb004f032_5" [label="5: Prune (false branch) \n PRUNE((1 == 0), false); [line 22]\n " shape="invhouse"] +"access_field_in_ife_branch.09235b723e846eb21b7cc76cb004f032_5" [label="5: Prune (false branch) \n PRUNE(!1, false); [line 22]\n " shape="invhouse"] "access_field_in_ife_branch.09235b723e846eb21b7cc76cb004f032_5" -> "access_field_in_ife_branch.09235b723e846eb21b7cc76cb004f032_7" ; @@ -76,11 +76,11 @@ digraph iCFG { "ife_then_access_field.314daa5b993f0f569c257230f350e2e2_3" -> "ife_then_access_field.314daa5b993f0f569c257230f350e2e2_8" ; -"ife_then_access_field.314daa5b993f0f569c257230f350e2e2_4" [label="4: Prune (true branch) \n PRUNE((1 != 0), true); [line 17]\n " shape="invhouse"] +"ife_then_access_field.314daa5b993f0f569c257230f350e2e2_4" [label="4: Prune (true branch) \n PRUNE(1, true); [line 17]\n " shape="invhouse"] "ife_then_access_field.314daa5b993f0f569c257230f350e2e2_4" -> "ife_then_access_field.314daa5b993f0f569c257230f350e2e2_6" ; -"ife_then_access_field.314daa5b993f0f569c257230f350e2e2_5" [label="5: Prune (false branch) \n PRUNE((1 == 0), false); [line 17]\n " shape="invhouse"] +"ife_then_access_field.314daa5b993f0f569c257230f350e2e2_5" [label="5: Prune (false branch) \n PRUNE(!1, false); [line 17]\n " shape="invhouse"] "ife_then_access_field.314daa5b993f0f569c257230f350e2e2_5" -> "ife_then_access_field.314daa5b993f0f569c257230f350e2e2_7" ; diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/preincrement.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/preincrement.c.dot index 76f1a6711..c13d784bb 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/preincrement.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/preincrement.c.dot @@ -12,11 +12,11 @@ digraph iCFG { "preincrement.db7c6523f16e1ab3058057cee6614472_3" -> "preincrement.db7c6523f16e1ab3058057cee6614472_9" ; "preincrement.db7c6523f16e1ab3058057cee6614472_3" -> "preincrement.db7c6523f16e1ab3058057cee6614472_10" ; -"preincrement.db7c6523f16e1ab3058057cee6614472_4" [label="4: Prune (true branch) \n PRUNE((1 != 0), true); [line 18]\n " shape="invhouse"] +"preincrement.db7c6523f16e1ab3058057cee6614472_4" [label="4: Prune (true branch) \n PRUNE(1, true); [line 18]\n " shape="invhouse"] "preincrement.db7c6523f16e1ab3058057cee6614472_4" -> "preincrement.db7c6523f16e1ab3058057cee6614472_6" ; -"preincrement.db7c6523f16e1ab3058057cee6614472_5" [label="5: Prune (false branch) \n PRUNE((1 == 0), false); [line 18]\n " shape="invhouse"] +"preincrement.db7c6523f16e1ab3058057cee6614472_5" [label="5: Prune (false branch) \n PRUNE(!1, false); [line 18]\n " shape="invhouse"] "preincrement.db7c6523f16e1ab3058057cee6614472_5" -> "preincrement.db7c6523f16e1ab3058057cee6614472_7" ; @@ -32,11 +32,11 @@ digraph iCFG { "preincrement.db7c6523f16e1ab3058057cee6614472_8" -> "preincrement.db7c6523f16e1ab3058057cee6614472_13" ; -"preincrement.db7c6523f16e1ab3058057cee6614472_9" [label="9: Prune (true branch) \n PRUNE((1 != 0), true); [line 18]\n " shape="invhouse"] +"preincrement.db7c6523f16e1ab3058057cee6614472_9" [label="9: Prune (true branch) \n PRUNE(1, true); [line 18]\n " shape="invhouse"] "preincrement.db7c6523f16e1ab3058057cee6614472_9" -> "preincrement.db7c6523f16e1ab3058057cee6614472_11" ; -"preincrement.db7c6523f16e1ab3058057cee6614472_10" [label="10: Prune (false branch) \n PRUNE((1 == 0), false); [line 18]\n " shape="invhouse"] +"preincrement.db7c6523f16e1ab3058057cee6614472_10" [label="10: Prune (false branch) \n PRUNE(!1, false); [line 18]\n " shape="invhouse"] "preincrement.db7c6523f16e1ab3058057cee6614472_10" -> "preincrement.db7c6523f16e1ab3058057cee6614472_12" ; @@ -56,11 +56,11 @@ digraph iCFG { "preincrement.db7c6523f16e1ab3058057cee6614472_14" -> "preincrement.db7c6523f16e1ab3058057cee6614472_19" ; -"preincrement.db7c6523f16e1ab3058057cee6614472_15" [label="15: Prune (true branch) \n PRUNE((1 != 0), true); [line 17]\n " shape="invhouse"] +"preincrement.db7c6523f16e1ab3058057cee6614472_15" [label="15: Prune (true branch) \n PRUNE(1, true); [line 17]\n " shape="invhouse"] "preincrement.db7c6523f16e1ab3058057cee6614472_15" -> "preincrement.db7c6523f16e1ab3058057cee6614472_17" ; -"preincrement.db7c6523f16e1ab3058057cee6614472_16" [label="16: Prune (false branch) \n PRUNE((1 == 0), false); [line 17]\n " shape="invhouse"] +"preincrement.db7c6523f16e1ab3058057cee6614472_16" [label="16: Prune (false branch) \n PRUNE(!1, false); [line 17]\n " shape="invhouse"] "preincrement.db7c6523f16e1ab3058057cee6614472_16" -> "preincrement.db7c6523f16e1ab3058057cee6614472_18" ; @@ -81,11 +81,11 @@ digraph iCFG { "preincrement.db7c6523f16e1ab3058057cee6614472_20" -> "preincrement.db7c6523f16e1ab3058057cee6614472_25" ; -"preincrement.db7c6523f16e1ab3058057cee6614472_21" [label="21: Prune (true branch) \n PRUNE((1 != 0), true); [line 16]\n " shape="invhouse"] +"preincrement.db7c6523f16e1ab3058057cee6614472_21" [label="21: Prune (true branch) \n PRUNE(1, true); [line 16]\n " shape="invhouse"] "preincrement.db7c6523f16e1ab3058057cee6614472_21" -> "preincrement.db7c6523f16e1ab3058057cee6614472_23" ; -"preincrement.db7c6523f16e1ab3058057cee6614472_22" [label="22: Prune (false branch) \n PRUNE((1 == 0), false); [line 16]\n " shape="invhouse"] +"preincrement.db7c6523f16e1ab3058057cee6614472_22" [label="22: Prune (false branch) \n PRUNE(!1, false); [line 16]\n " shape="invhouse"] "preincrement.db7c6523f16e1ab3058057cee6614472_22" -> "preincrement.db7c6523f16e1ab3058057cee6614472_24" ; diff --git a/infer/tests/codetoanalyze/c/frontend/conditional_operator/unary_operator.c.dot b/infer/tests/codetoanalyze/c/frontend/conditional_operator/unary_operator.c.dot index 264294202..b6b998939 100644 --- a/infer/tests/codetoanalyze/c/frontend/conditional_operator/unary_operator.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/conditional_operator/unary_operator.c.dot @@ -12,11 +12,11 @@ digraph iCFG { "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_3" -> "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_8" ; -"dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_4" [label="4: Prune (true branch) \n PRUNE((1 != 0), true); [line 16]\n " shape="invhouse"] +"dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_4" [label="4: Prune (true branch) \n PRUNE(1, true); [line 16]\n " shape="invhouse"] "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_4" -> "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_6" ; -"dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_5" [label="5: Prune (false branch) \n PRUNE((1 == 0), false); [line 16]\n " shape="invhouse"] +"dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_5" [label="5: Prune (false branch) \n PRUNE(!1, false); [line 16]\n " shape="invhouse"] "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_5" -> "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_7" ; @@ -40,11 +40,11 @@ digraph iCFG { "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_10" -> "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_15" ; -"dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_11" [label="11: Prune (true branch) \n PRUNE((1 != 0), true); [line 14]\n " shape="invhouse"] +"dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_11" [label="11: Prune (true branch) \n PRUNE(1, true); [line 14]\n " shape="invhouse"] "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_11" -> "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_13" ; -"dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_12" [label="12: Prune (false branch) \n PRUNE((1 == 0), false); [line 14]\n " shape="invhouse"] +"dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_12" [label="12: Prune (false branch) \n PRUNE(!1, false); [line 14]\n " shape="invhouse"] "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_12" -> "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_14" ; @@ -65,11 +65,11 @@ digraph iCFG { "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_16" -> "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_21" ; -"dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_17" [label="17: Prune (true branch) \n PRUNE((1 != 0), true); [line 12]\n " shape="invhouse"] +"dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_17" [label="17: Prune (true branch) \n PRUNE(1, true); [line 12]\n " shape="invhouse"] "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_17" -> "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_19" ; -"dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_18" [label="18: Prune (false branch) \n PRUNE((1 == 0), false); [line 12]\n " shape="invhouse"] +"dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_18" [label="18: Prune (false branch) \n PRUNE(!1, false); [line 12]\n " shape="invhouse"] "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_18" -> "dereference_ifthenelse.aa3447116ff03cffc729c06c91821cdc_20" ; diff --git a/infer/tests/codetoanalyze/c/frontend/enumeration/other_enum.c.dot b/infer/tests/codetoanalyze/c/frontend/enumeration/other_enum.c.dot index 19843f9a1..813598f70 100644 --- a/infer/tests/codetoanalyze/c/frontend/enumeration/other_enum.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/enumeration/other_enum.c.dot @@ -55,11 +55,11 @@ digraph iCFG { "other_enum_test.100f3583adf0259001be6c944828c44a_5" -> "other_enum_test.100f3583adf0259001be6c944828c44a_6" ; "other_enum_test.100f3583adf0259001be6c944828c44a_5" -> "other_enum_test.100f3583adf0259001be6c944828c44a_7" ; -"other_enum_test.100f3583adf0259001be6c944828c44a_6" [label="6: Prune (true branch) \n PRUNE(((n$0 == 12) != 0), true); [line 25]\n " shape="invhouse"] +"other_enum_test.100f3583adf0259001be6c944828c44a_6" [label="6: Prune (true branch) \n PRUNE((n$0 == 12), true); [line 25]\n " shape="invhouse"] "other_enum_test.100f3583adf0259001be6c944828c44a_6" -> "other_enum_test.100f3583adf0259001be6c944828c44a_8" ; -"other_enum_test.100f3583adf0259001be6c944828c44a_7" [label="7: Prune (false branch) \n PRUNE(((n$0 == 12) == 0), false); [line 25]\n " shape="invhouse"] +"other_enum_test.100f3583adf0259001be6c944828c44a_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 == 12), false); [line 25]\n " shape="invhouse"] "other_enum_test.100f3583adf0259001be6c944828c44a_7" -> "other_enum_test.100f3583adf0259001be6c944828c44a_9" ; diff --git a/infer/tests/codetoanalyze/c/frontend/gotostmt/goto_ex.c.dot b/infer/tests/codetoanalyze/c/frontend/gotostmt/goto_ex.c.dot index ff21a4bd4..2a4fb36f1 100644 --- a/infer/tests/codetoanalyze/c/frontend/gotostmt/goto_ex.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/gotostmt/goto_ex.c.dot @@ -47,11 +47,11 @@ digraph iCFG { "g0.8ac829e3bb8338d74cfb45ebe834d8e1_9" -> "g0.8ac829e3bb8338d74cfb45ebe834d8e1_10" ; "g0.8ac829e3bb8338d74cfb45ebe834d8e1_9" -> "g0.8ac829e3bb8338d74cfb45ebe834d8e1_11" ; -"g0.8ac829e3bb8338d74cfb45ebe834d8e1_10" [label="10: Prune (true branch) \n PRUNE(((n$0 > 1) != 0), true); [line 16]\n " shape="invhouse"] +"g0.8ac829e3bb8338d74cfb45ebe834d8e1_10" [label="10: Prune (true branch) \n PRUNE((n$0 > 1), true); [line 16]\n " shape="invhouse"] "g0.8ac829e3bb8338d74cfb45ebe834d8e1_10" -> "g0.8ac829e3bb8338d74cfb45ebe834d8e1_6" ; -"g0.8ac829e3bb8338d74cfb45ebe834d8e1_11" [label="11: Prune (false branch) \n PRUNE(((n$0 > 1) == 0), false); [line 16]\n " shape="invhouse"] +"g0.8ac829e3bb8338d74cfb45ebe834d8e1_11" [label="11: Prune (false branch) \n PRUNE(!(n$0 > 1), false); [line 16]\n " shape="invhouse"] "g0.8ac829e3bb8338d74cfb45ebe834d8e1_11" -> "g0.8ac829e3bb8338d74cfb45ebe834d8e1_8" ; @@ -91,11 +91,11 @@ digraph iCFG { "g1.0120a4f9196a5f9eb9f523f31f914da7_8" -> "g1.0120a4f9196a5f9eb9f523f31f914da7_9" ; "g1.0120a4f9196a5f9eb9f523f31f914da7_8" -> "g1.0120a4f9196a5f9eb9f523f31f914da7_10" ; -"g1.0120a4f9196a5f9eb9f523f31f914da7_9" [label="9: Prune (true branch) \n PRUNE(((n$0 > 1) != 0), true); [line 28]\n " shape="invhouse"] +"g1.0120a4f9196a5f9eb9f523f31f914da7_9" [label="9: Prune (true branch) \n PRUNE((n$0 > 1), true); [line 28]\n " shape="invhouse"] "g1.0120a4f9196a5f9eb9f523f31f914da7_9" -> "g1.0120a4f9196a5f9eb9f523f31f914da7_5" ; -"g1.0120a4f9196a5f9eb9f523f31f914da7_10" [label="10: Prune (false branch) \n PRUNE(((n$0 > 1) == 0), false); [line 28]\n " shape="invhouse"] +"g1.0120a4f9196a5f9eb9f523f31f914da7_10" [label="10: Prune (false branch) \n PRUNE(!(n$0 > 1), false); [line 28]\n " shape="invhouse"] "g1.0120a4f9196a5f9eb9f523f31f914da7_10" -> "g1.0120a4f9196a5f9eb9f523f31f914da7_7" ; @@ -147,11 +147,11 @@ digraph iCFG { "g2.e1c80488853d86ab9d6decfe30d8930f_11" -> "g2.e1c80488853d86ab9d6decfe30d8930f_12" ; "g2.e1c80488853d86ab9d6decfe30d8930f_11" -> "g2.e1c80488853d86ab9d6decfe30d8930f_13" ; -"g2.e1c80488853d86ab9d6decfe30d8930f_12" [label="12: Prune (true branch) \n PRUNE(((n$0 > 1) != 0), true); [line 46]\n " shape="invhouse"] +"g2.e1c80488853d86ab9d6decfe30d8930f_12" [label="12: Prune (true branch) \n PRUNE((n$0 > 1), true); [line 46]\n " shape="invhouse"] "g2.e1c80488853d86ab9d6decfe30d8930f_12" -> "g2.e1c80488853d86ab9d6decfe30d8930f_14" ; -"g2.e1c80488853d86ab9d6decfe30d8930f_13" [label="13: Prune (false branch) \n PRUNE(((n$0 > 1) == 0), false); [line 46]\n " shape="invhouse"] +"g2.e1c80488853d86ab9d6decfe30d8930f_13" [label="13: Prune (false branch) \n PRUNE(!(n$0 > 1), false); [line 46]\n " shape="invhouse"] "g2.e1c80488853d86ab9d6decfe30d8930f_13" -> "g2.e1c80488853d86ab9d6decfe30d8930f_10" ; @@ -173,11 +173,11 @@ digraph iCFG { "g2.e1c80488853d86ab9d6decfe30d8930f_17" -> "g2.e1c80488853d86ab9d6decfe30d8930f_18" ; "g2.e1c80488853d86ab9d6decfe30d8930f_17" -> "g2.e1c80488853d86ab9d6decfe30d8930f_19" ; -"g2.e1c80488853d86ab9d6decfe30d8930f_18" [label="18: Prune (true branch) \n PRUNE((n$2 != 0), true); [line 44]\n " shape="invhouse"] +"g2.e1c80488853d86ab9d6decfe30d8930f_18" [label="18: Prune (true branch) \n PRUNE(n$2, true); [line 44]\n " shape="invhouse"] "g2.e1c80488853d86ab9d6decfe30d8930f_18" -> "g2.e1c80488853d86ab9d6decfe30d8930f_20" ; -"g2.e1c80488853d86ab9d6decfe30d8930f_19" [label="19: Prune (false branch) \n PRUNE((n$2 == 0), false); [line 44]\n " shape="invhouse"] +"g2.e1c80488853d86ab9d6decfe30d8930f_19" [label="19: Prune (false branch) \n PRUNE(!n$2, false); [line 44]\n " shape="invhouse"] "g2.e1c80488853d86ab9d6decfe30d8930f_19" -> "g2.e1c80488853d86ab9d6decfe30d8930f_21" ; @@ -189,11 +189,11 @@ digraph iCFG { "g2.e1c80488853d86ab9d6decfe30d8930f_21" -> "g2.e1c80488853d86ab9d6decfe30d8930f_16" ; -"g2.e1c80488853d86ab9d6decfe30d8930f_22" [label="22: Prune (true branch) \n n$3=*&0$?%__sil_tmpSIL_temp_conditional___n$1:int [line 44]\n PRUNE((n$3 != 0), true); [line 44]\n " shape="invhouse"] +"g2.e1c80488853d86ab9d6decfe30d8930f_22" [label="22: Prune (true branch) \n n$3=*&0$?%__sil_tmpSIL_temp_conditional___n$1:int [line 44]\n PRUNE(n$3, true); [line 44]\n " shape="invhouse"] "g2.e1c80488853d86ab9d6decfe30d8930f_22" -> "g2.e1c80488853d86ab9d6decfe30d8930f_8" ; -"g2.e1c80488853d86ab9d6decfe30d8930f_23" [label="23: Prune (false branch) \n n$3=*&0$?%__sil_tmpSIL_temp_conditional___n$1:int [line 44]\n PRUNE((n$3 == 0), false); [line 44]\n " shape="invhouse"] +"g2.e1c80488853d86ab9d6decfe30d8930f_23" [label="23: Prune (false branch) \n n$3=*&0$?%__sil_tmpSIL_temp_conditional___n$1:int [line 44]\n PRUNE(!n$3, false); [line 44]\n " shape="invhouse"] "g2.e1c80488853d86ab9d6decfe30d8930f_23" -> "g2.e1c80488853d86ab9d6decfe30d8930f_15" ; @@ -211,11 +211,11 @@ digraph iCFG { "g2.e1c80488853d86ab9d6decfe30d8930f_26" -> "g2.e1c80488853d86ab9d6decfe30d8930f_27" ; "g2.e1c80488853d86ab9d6decfe30d8930f_26" -> "g2.e1c80488853d86ab9d6decfe30d8930f_28" ; -"g2.e1c80488853d86ab9d6decfe30d8930f_27" [label="27: Prune (true branch) \n PRUNE((n$5 != 0), true); [line 42]\n " shape="invhouse"] +"g2.e1c80488853d86ab9d6decfe30d8930f_27" [label="27: Prune (true branch) \n PRUNE(n$5, true); [line 42]\n " shape="invhouse"] "g2.e1c80488853d86ab9d6decfe30d8930f_27" -> "g2.e1c80488853d86ab9d6decfe30d8930f_29" ; -"g2.e1c80488853d86ab9d6decfe30d8930f_28" [label="28: Prune (false branch) \n PRUNE((n$5 == 0), false); [line 42]\n " shape="invhouse"] +"g2.e1c80488853d86ab9d6decfe30d8930f_28" [label="28: Prune (false branch) \n PRUNE(!n$5, false); [line 42]\n " shape="invhouse"] "g2.e1c80488853d86ab9d6decfe30d8930f_28" -> "g2.e1c80488853d86ab9d6decfe30d8930f_30" ; @@ -227,11 +227,11 @@ digraph iCFG { "g2.e1c80488853d86ab9d6decfe30d8930f_30" -> "g2.e1c80488853d86ab9d6decfe30d8930f_25" ; -"g2.e1c80488853d86ab9d6decfe30d8930f_31" [label="31: Prune (true branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$4:int [line 42]\n PRUNE((n$6 != 0), true); [line 42]\n " shape="invhouse"] +"g2.e1c80488853d86ab9d6decfe30d8930f_31" [label="31: Prune (true branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$4:int [line 42]\n PRUNE(n$6, true); [line 42]\n " shape="invhouse"] "g2.e1c80488853d86ab9d6decfe30d8930f_31" -> "g2.e1c80488853d86ab9d6decfe30d8930f_5" ; -"g2.e1c80488853d86ab9d6decfe30d8930f_32" [label="32: Prune (false branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$4:int [line 42]\n PRUNE((n$6 == 0), false); [line 42]\n " shape="invhouse"] +"g2.e1c80488853d86ab9d6decfe30d8930f_32" [label="32: Prune (false branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$4:int [line 42]\n PRUNE(!n$6, false); [line 42]\n " shape="invhouse"] "g2.e1c80488853d86ab9d6decfe30d8930f_32" -> "g2.e1c80488853d86ab9d6decfe30d8930f_24" ; @@ -291,11 +291,11 @@ digraph iCFG { "g3.8a9fd7dfda802921fdc4079f9a528ce8_12" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_13" ; "g3.8a9fd7dfda802921fdc4079f9a528ce8_12" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_14" ; -"g3.8a9fd7dfda802921fdc4079f9a528ce8_13" [label="13: Prune (true branch) \n PRUNE(((n$3 > 1) != 0), true); [line 67]\n " shape="invhouse"] +"g3.8a9fd7dfda802921fdc4079f9a528ce8_13" [label="13: Prune (true branch) \n PRUNE((n$3 > 1), true); [line 67]\n " shape="invhouse"] "g3.8a9fd7dfda802921fdc4079f9a528ce8_13" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_15" ; -"g3.8a9fd7dfda802921fdc4079f9a528ce8_14" [label="14: Prune (false branch) \n PRUNE(((n$3 > 1) == 0), false); [line 67]\n " shape="invhouse"] +"g3.8a9fd7dfda802921fdc4079f9a528ce8_14" [label="14: Prune (false branch) \n PRUNE(!(n$3 > 1), false); [line 67]\n " shape="invhouse"] "g3.8a9fd7dfda802921fdc4079f9a528ce8_14" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_11" ; @@ -317,11 +317,11 @@ digraph iCFG { "g3.8a9fd7dfda802921fdc4079f9a528ce8_18" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_19" ; "g3.8a9fd7dfda802921fdc4079f9a528ce8_18" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_20" ; -"g3.8a9fd7dfda802921fdc4079f9a528ce8_19" [label="19: Prune (true branch) \n PRUNE((n$5 != 0), true); [line 65]\n " shape="invhouse"] +"g3.8a9fd7dfda802921fdc4079f9a528ce8_19" [label="19: Prune (true branch) \n PRUNE(n$5, true); [line 65]\n " shape="invhouse"] "g3.8a9fd7dfda802921fdc4079f9a528ce8_19" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_21" ; -"g3.8a9fd7dfda802921fdc4079f9a528ce8_20" [label="20: Prune (false branch) \n PRUNE((n$5 == 0), false); [line 65]\n " shape="invhouse"] +"g3.8a9fd7dfda802921fdc4079f9a528ce8_20" [label="20: Prune (false branch) \n PRUNE(!n$5, false); [line 65]\n " shape="invhouse"] "g3.8a9fd7dfda802921fdc4079f9a528ce8_20" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_22" ; @@ -333,11 +333,11 @@ digraph iCFG { "g3.8a9fd7dfda802921fdc4079f9a528ce8_22" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_17" ; -"g3.8a9fd7dfda802921fdc4079f9a528ce8_23" [label="23: Prune (true branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$4:int [line 65]\n PRUNE((n$6 != 0), true); [line 65]\n " shape="invhouse"] +"g3.8a9fd7dfda802921fdc4079f9a528ce8_23" [label="23: Prune (true branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$4:int [line 65]\n PRUNE(n$6, true); [line 65]\n " shape="invhouse"] "g3.8a9fd7dfda802921fdc4079f9a528ce8_23" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_8" ; -"g3.8a9fd7dfda802921fdc4079f9a528ce8_24" [label="24: Prune (false branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$4:int [line 65]\n PRUNE((n$6 == 0), false); [line 65]\n " shape="invhouse"] +"g3.8a9fd7dfda802921fdc4079f9a528ce8_24" [label="24: Prune (false branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$4:int [line 65]\n PRUNE(!n$6, false); [line 65]\n " shape="invhouse"] "g3.8a9fd7dfda802921fdc4079f9a528ce8_24" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_16" ; @@ -355,11 +355,11 @@ digraph iCFG { "g3.8a9fd7dfda802921fdc4079f9a528ce8_27" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_28" ; "g3.8a9fd7dfda802921fdc4079f9a528ce8_27" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_29" ; -"g3.8a9fd7dfda802921fdc4079f9a528ce8_28" [label="28: Prune (true branch) \n PRUNE((n$8 != 0), true); [line 63]\n " shape="invhouse"] +"g3.8a9fd7dfda802921fdc4079f9a528ce8_28" [label="28: Prune (true branch) \n PRUNE(n$8, true); [line 63]\n " shape="invhouse"] "g3.8a9fd7dfda802921fdc4079f9a528ce8_28" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_30" ; -"g3.8a9fd7dfda802921fdc4079f9a528ce8_29" [label="29: Prune (false branch) \n PRUNE((n$8 == 0), false); [line 63]\n " shape="invhouse"] +"g3.8a9fd7dfda802921fdc4079f9a528ce8_29" [label="29: Prune (false branch) \n PRUNE(!n$8, false); [line 63]\n " shape="invhouse"] "g3.8a9fd7dfda802921fdc4079f9a528ce8_29" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_31" ; @@ -371,11 +371,11 @@ digraph iCFG { "g3.8a9fd7dfda802921fdc4079f9a528ce8_31" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_26" ; -"g3.8a9fd7dfda802921fdc4079f9a528ce8_32" [label="32: Prune (true branch) \n n$9=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 63]\n PRUNE((n$9 != 0), true); [line 63]\n " shape="invhouse"] +"g3.8a9fd7dfda802921fdc4079f9a528ce8_32" [label="32: Prune (true branch) \n n$9=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 63]\n PRUNE(n$9, true); [line 63]\n " shape="invhouse"] "g3.8a9fd7dfda802921fdc4079f9a528ce8_32" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_5" ; -"g3.8a9fd7dfda802921fdc4079f9a528ce8_33" [label="33: Prune (false branch) \n n$9=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 63]\n PRUNE((n$9 == 0), false); [line 63]\n " shape="invhouse"] +"g3.8a9fd7dfda802921fdc4079f9a528ce8_33" [label="33: Prune (false branch) \n n$9=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 63]\n PRUNE(!n$9, false); [line 63]\n " shape="invhouse"] "g3.8a9fd7dfda802921fdc4079f9a528ce8_33" -> "g3.8a9fd7dfda802921fdc4079f9a528ce8_25" ; @@ -427,11 +427,11 @@ digraph iCFG { "g4.b0b5c8f28ad7834e70a958a8882fa59a_11" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_12" ; "g4.b0b5c8f28ad7834e70a958a8882fa59a_11" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_13" ; -"g4.b0b5c8f28ad7834e70a958a8882fa59a_12" [label="12: Prune (true branch) \n PRUNE(((n$3 > 1) != 0), true); [line 89]\n " shape="invhouse"] +"g4.b0b5c8f28ad7834e70a958a8882fa59a_12" [label="12: Prune (true branch) \n PRUNE((n$3 > 1), true); [line 89]\n " shape="invhouse"] "g4.b0b5c8f28ad7834e70a958a8882fa59a_12" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_14" ; -"g4.b0b5c8f28ad7834e70a958a8882fa59a_13" [label="13: Prune (false branch) \n PRUNE(((n$3 > 1) == 0), false); [line 89]\n " shape="invhouse"] +"g4.b0b5c8f28ad7834e70a958a8882fa59a_13" [label="13: Prune (false branch) \n PRUNE(!(n$3 > 1), false); [line 89]\n " shape="invhouse"] "g4.b0b5c8f28ad7834e70a958a8882fa59a_13" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_10" ; @@ -453,11 +453,11 @@ digraph iCFG { "g4.b0b5c8f28ad7834e70a958a8882fa59a_17" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_18" ; "g4.b0b5c8f28ad7834e70a958a8882fa59a_17" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_19" ; -"g4.b0b5c8f28ad7834e70a958a8882fa59a_18" [label="18: Prune (true branch) \n PRUNE((n$5 != 0), true); [line 87]\n " shape="invhouse"] +"g4.b0b5c8f28ad7834e70a958a8882fa59a_18" [label="18: Prune (true branch) \n PRUNE(n$5, true); [line 87]\n " shape="invhouse"] "g4.b0b5c8f28ad7834e70a958a8882fa59a_18" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_20" ; -"g4.b0b5c8f28ad7834e70a958a8882fa59a_19" [label="19: Prune (false branch) \n PRUNE((n$5 == 0), false); [line 87]\n " shape="invhouse"] +"g4.b0b5c8f28ad7834e70a958a8882fa59a_19" [label="19: Prune (false branch) \n PRUNE(!n$5, false); [line 87]\n " shape="invhouse"] "g4.b0b5c8f28ad7834e70a958a8882fa59a_19" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_21" ; @@ -469,11 +469,11 @@ digraph iCFG { "g4.b0b5c8f28ad7834e70a958a8882fa59a_21" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_16" ; -"g4.b0b5c8f28ad7834e70a958a8882fa59a_22" [label="22: Prune (true branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$4:int [line 87]\n PRUNE((n$6 != 0), true); [line 87]\n " shape="invhouse"] +"g4.b0b5c8f28ad7834e70a958a8882fa59a_22" [label="22: Prune (true branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$4:int [line 87]\n PRUNE(n$6, true); [line 87]\n " shape="invhouse"] "g4.b0b5c8f28ad7834e70a958a8882fa59a_22" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_8" ; -"g4.b0b5c8f28ad7834e70a958a8882fa59a_23" [label="23: Prune (false branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$4:int [line 87]\n PRUNE((n$6 == 0), false); [line 87]\n " shape="invhouse"] +"g4.b0b5c8f28ad7834e70a958a8882fa59a_23" [label="23: Prune (false branch) \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$4:int [line 87]\n PRUNE(!n$6, false); [line 87]\n " shape="invhouse"] "g4.b0b5c8f28ad7834e70a958a8882fa59a_23" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_15" ; @@ -491,11 +491,11 @@ digraph iCFG { "g4.b0b5c8f28ad7834e70a958a8882fa59a_26" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_27" ; "g4.b0b5c8f28ad7834e70a958a8882fa59a_26" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_28" ; -"g4.b0b5c8f28ad7834e70a958a8882fa59a_27" [label="27: Prune (true branch) \n PRUNE((n$8 != 0), true); [line 85]\n " shape="invhouse"] +"g4.b0b5c8f28ad7834e70a958a8882fa59a_27" [label="27: Prune (true branch) \n PRUNE(n$8, true); [line 85]\n " shape="invhouse"] "g4.b0b5c8f28ad7834e70a958a8882fa59a_27" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_29" ; -"g4.b0b5c8f28ad7834e70a958a8882fa59a_28" [label="28: Prune (false branch) \n PRUNE((n$8 == 0), false); [line 85]\n " shape="invhouse"] +"g4.b0b5c8f28ad7834e70a958a8882fa59a_28" [label="28: Prune (false branch) \n PRUNE(!n$8, false); [line 85]\n " shape="invhouse"] "g4.b0b5c8f28ad7834e70a958a8882fa59a_28" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_30" ; @@ -507,11 +507,11 @@ digraph iCFG { "g4.b0b5c8f28ad7834e70a958a8882fa59a_30" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_25" ; -"g4.b0b5c8f28ad7834e70a958a8882fa59a_31" [label="31: Prune (true branch) \n n$9=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 85]\n PRUNE((n$9 != 0), true); [line 85]\n " shape="invhouse"] +"g4.b0b5c8f28ad7834e70a958a8882fa59a_31" [label="31: Prune (true branch) \n n$9=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 85]\n PRUNE(n$9, true); [line 85]\n " shape="invhouse"] "g4.b0b5c8f28ad7834e70a958a8882fa59a_31" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_5" ; -"g4.b0b5c8f28ad7834e70a958a8882fa59a_32" [label="32: Prune (false branch) \n n$9=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 85]\n PRUNE((n$9 == 0), false); [line 85]\n " shape="invhouse"] +"g4.b0b5c8f28ad7834e70a958a8882fa59a_32" [label="32: Prune (false branch) \n n$9=*&0$?%__sil_tmpSIL_temp_conditional___n$7:int [line 85]\n PRUNE(!n$9, false); [line 85]\n " shape="invhouse"] "g4.b0b5c8f28ad7834e70a958a8882fa59a_32" -> "g4.b0b5c8f28ad7834e70a958a8882fa59a_24" ; @@ -559,11 +559,11 @@ digraph iCFG { "g5.37c965a8d6d7bec292c7b11ff315d9ea_10" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_11" ; "g5.37c965a8d6d7bec292c7b11ff315d9ea_10" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_12" ; -"g5.37c965a8d6d7bec292c7b11ff315d9ea_11" [label="11: Prune (true branch) \n PRUNE(((n$2 > 1) != 0), true); [line 110]\n " shape="invhouse"] +"g5.37c965a8d6d7bec292c7b11ff315d9ea_11" [label="11: Prune (true branch) \n PRUNE((n$2 > 1), true); [line 110]\n " shape="invhouse"] "g5.37c965a8d6d7bec292c7b11ff315d9ea_11" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_13" ; -"g5.37c965a8d6d7bec292c7b11ff315d9ea_12" [label="12: Prune (false branch) \n PRUNE(((n$2 > 1) == 0), false); [line 110]\n " shape="invhouse"] +"g5.37c965a8d6d7bec292c7b11ff315d9ea_12" [label="12: Prune (false branch) \n PRUNE(!(n$2 > 1), false); [line 110]\n " shape="invhouse"] "g5.37c965a8d6d7bec292c7b11ff315d9ea_12" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_9" ; @@ -585,11 +585,11 @@ digraph iCFG { "g5.37c965a8d6d7bec292c7b11ff315d9ea_16" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_17" ; "g5.37c965a8d6d7bec292c7b11ff315d9ea_16" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_18" ; -"g5.37c965a8d6d7bec292c7b11ff315d9ea_17" [label="17: Prune (true branch) \n PRUNE((n$4 != 0), true); [line 108]\n " shape="invhouse"] +"g5.37c965a8d6d7bec292c7b11ff315d9ea_17" [label="17: Prune (true branch) \n PRUNE(n$4, true); [line 108]\n " shape="invhouse"] "g5.37c965a8d6d7bec292c7b11ff315d9ea_17" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_19" ; -"g5.37c965a8d6d7bec292c7b11ff315d9ea_18" [label="18: Prune (false branch) \n PRUNE((n$4 == 0), false); [line 108]\n " shape="invhouse"] +"g5.37c965a8d6d7bec292c7b11ff315d9ea_18" [label="18: Prune (false branch) \n PRUNE(!n$4, false); [line 108]\n " shape="invhouse"] "g5.37c965a8d6d7bec292c7b11ff315d9ea_18" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_20" ; @@ -601,11 +601,11 @@ digraph iCFG { "g5.37c965a8d6d7bec292c7b11ff315d9ea_20" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_15" ; -"g5.37c965a8d6d7bec292c7b11ff315d9ea_21" [label="21: Prune (true branch) \n n$5=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 108]\n PRUNE((n$5 != 0), true); [line 108]\n " shape="invhouse"] +"g5.37c965a8d6d7bec292c7b11ff315d9ea_21" [label="21: Prune (true branch) \n n$5=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 108]\n PRUNE(n$5, true); [line 108]\n " shape="invhouse"] "g5.37c965a8d6d7bec292c7b11ff315d9ea_21" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_3" ; -"g5.37c965a8d6d7bec292c7b11ff315d9ea_22" [label="22: Prune (false branch) \n n$5=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 108]\n PRUNE((n$5 == 0), false); [line 108]\n " shape="invhouse"] +"g5.37c965a8d6d7bec292c7b11ff315d9ea_22" [label="22: Prune (false branch) \n n$5=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 108]\n PRUNE(!n$5, false); [line 108]\n " shape="invhouse"] "g5.37c965a8d6d7bec292c7b11ff315d9ea_22" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_14" ; @@ -623,11 +623,11 @@ digraph iCFG { "g5.37c965a8d6d7bec292c7b11ff315d9ea_25" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_26" ; "g5.37c965a8d6d7bec292c7b11ff315d9ea_25" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_27" ; -"g5.37c965a8d6d7bec292c7b11ff315d9ea_26" [label="26: Prune (true branch) \n PRUNE((n$7 != 0), true); [line 106]\n " shape="invhouse"] +"g5.37c965a8d6d7bec292c7b11ff315d9ea_26" [label="26: Prune (true branch) \n PRUNE(n$7, true); [line 106]\n " shape="invhouse"] "g5.37c965a8d6d7bec292c7b11ff315d9ea_26" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_28" ; -"g5.37c965a8d6d7bec292c7b11ff315d9ea_27" [label="27: Prune (false branch) \n PRUNE((n$7 == 0), false); [line 106]\n " shape="invhouse"] +"g5.37c965a8d6d7bec292c7b11ff315d9ea_27" [label="27: Prune (false branch) \n PRUNE(!n$7, false); [line 106]\n " shape="invhouse"] "g5.37c965a8d6d7bec292c7b11ff315d9ea_27" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_29" ; @@ -639,11 +639,11 @@ digraph iCFG { "g5.37c965a8d6d7bec292c7b11ff315d9ea_29" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_24" ; -"g5.37c965a8d6d7bec292c7b11ff315d9ea_30" [label="30: Prune (true branch) \n n$8=*&0$?%__sil_tmpSIL_temp_conditional___n$6:int [line 106]\n PRUNE((n$8 != 0), true); [line 106]\n " shape="invhouse"] +"g5.37c965a8d6d7bec292c7b11ff315d9ea_30" [label="30: Prune (true branch) \n n$8=*&0$?%__sil_tmpSIL_temp_conditional___n$6:int [line 106]\n PRUNE(n$8, true); [line 106]\n " shape="invhouse"] "g5.37c965a8d6d7bec292c7b11ff315d9ea_30" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_5" ; -"g5.37c965a8d6d7bec292c7b11ff315d9ea_31" [label="31: Prune (false branch) \n n$8=*&0$?%__sil_tmpSIL_temp_conditional___n$6:int [line 106]\n PRUNE((n$8 == 0), false); [line 106]\n " shape="invhouse"] +"g5.37c965a8d6d7bec292c7b11ff315d9ea_31" [label="31: Prune (false branch) \n n$8=*&0$?%__sil_tmpSIL_temp_conditional___n$6:int [line 106]\n PRUNE(!n$8, false); [line 106]\n " shape="invhouse"] "g5.37c965a8d6d7bec292c7b11ff315d9ea_31" -> "g5.37c965a8d6d7bec292c7b11ff315d9ea_23" ; @@ -691,11 +691,11 @@ digraph iCFG { "g6.4a4314ef967aad20a9e7c423bc16e39c_10" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_11" ; "g6.4a4314ef967aad20a9e7c423bc16e39c_10" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_12" ; -"g6.4a4314ef967aad20a9e7c423bc16e39c_11" [label="11: Prune (true branch) \n PRUNE(((n$2 > 1) != 0), true); [line 132]\n " shape="invhouse"] +"g6.4a4314ef967aad20a9e7c423bc16e39c_11" [label="11: Prune (true branch) \n PRUNE((n$2 > 1), true); [line 132]\n " shape="invhouse"] "g6.4a4314ef967aad20a9e7c423bc16e39c_11" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_13" ; -"g6.4a4314ef967aad20a9e7c423bc16e39c_12" [label="12: Prune (false branch) \n PRUNE(((n$2 > 1) == 0), false); [line 132]\n " shape="invhouse"] +"g6.4a4314ef967aad20a9e7c423bc16e39c_12" [label="12: Prune (false branch) \n PRUNE(!(n$2 > 1), false); [line 132]\n " shape="invhouse"] "g6.4a4314ef967aad20a9e7c423bc16e39c_12" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_9" ; @@ -717,11 +717,11 @@ digraph iCFG { "g6.4a4314ef967aad20a9e7c423bc16e39c_16" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_17" ; "g6.4a4314ef967aad20a9e7c423bc16e39c_16" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_18" ; -"g6.4a4314ef967aad20a9e7c423bc16e39c_17" [label="17: Prune (true branch) \n PRUNE((n$4 != 0), true); [line 130]\n " shape="invhouse"] +"g6.4a4314ef967aad20a9e7c423bc16e39c_17" [label="17: Prune (true branch) \n PRUNE(n$4, true); [line 130]\n " shape="invhouse"] "g6.4a4314ef967aad20a9e7c423bc16e39c_17" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_19" ; -"g6.4a4314ef967aad20a9e7c423bc16e39c_18" [label="18: Prune (false branch) \n PRUNE((n$4 == 0), false); [line 130]\n " shape="invhouse"] +"g6.4a4314ef967aad20a9e7c423bc16e39c_18" [label="18: Prune (false branch) \n PRUNE(!n$4, false); [line 130]\n " shape="invhouse"] "g6.4a4314ef967aad20a9e7c423bc16e39c_18" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_20" ; @@ -733,11 +733,11 @@ digraph iCFG { "g6.4a4314ef967aad20a9e7c423bc16e39c_20" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_15" ; -"g6.4a4314ef967aad20a9e7c423bc16e39c_21" [label="21: Prune (true branch) \n n$5=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 130]\n PRUNE((n$5 != 0), true); [line 130]\n " shape="invhouse"] +"g6.4a4314ef967aad20a9e7c423bc16e39c_21" [label="21: Prune (true branch) \n n$5=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 130]\n PRUNE(n$5, true); [line 130]\n " shape="invhouse"] "g6.4a4314ef967aad20a9e7c423bc16e39c_21" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_3" ; -"g6.4a4314ef967aad20a9e7c423bc16e39c_22" [label="22: Prune (false branch) \n n$5=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 130]\n PRUNE((n$5 == 0), false); [line 130]\n " shape="invhouse"] +"g6.4a4314ef967aad20a9e7c423bc16e39c_22" [label="22: Prune (false branch) \n n$5=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 130]\n PRUNE(!n$5, false); [line 130]\n " shape="invhouse"] "g6.4a4314ef967aad20a9e7c423bc16e39c_22" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_14" ; @@ -755,11 +755,11 @@ digraph iCFG { "g6.4a4314ef967aad20a9e7c423bc16e39c_25" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_26" ; "g6.4a4314ef967aad20a9e7c423bc16e39c_25" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_27" ; -"g6.4a4314ef967aad20a9e7c423bc16e39c_26" [label="26: Prune (true branch) \n PRUNE((n$7 != 0), true); [line 128]\n " shape="invhouse"] +"g6.4a4314ef967aad20a9e7c423bc16e39c_26" [label="26: Prune (true branch) \n PRUNE(n$7, true); [line 128]\n " shape="invhouse"] "g6.4a4314ef967aad20a9e7c423bc16e39c_26" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_28" ; -"g6.4a4314ef967aad20a9e7c423bc16e39c_27" [label="27: Prune (false branch) \n PRUNE((n$7 == 0), false); [line 128]\n " shape="invhouse"] +"g6.4a4314ef967aad20a9e7c423bc16e39c_27" [label="27: Prune (false branch) \n PRUNE(!n$7, false); [line 128]\n " shape="invhouse"] "g6.4a4314ef967aad20a9e7c423bc16e39c_27" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_29" ; @@ -771,11 +771,11 @@ digraph iCFG { "g6.4a4314ef967aad20a9e7c423bc16e39c_29" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_24" ; -"g6.4a4314ef967aad20a9e7c423bc16e39c_30" [label="30: Prune (true branch) \n n$8=*&0$?%__sil_tmpSIL_temp_conditional___n$6:int [line 128]\n PRUNE((n$8 != 0), true); [line 128]\n " shape="invhouse"] +"g6.4a4314ef967aad20a9e7c423bc16e39c_30" [label="30: Prune (true branch) \n n$8=*&0$?%__sil_tmpSIL_temp_conditional___n$6:int [line 128]\n PRUNE(n$8, true); [line 128]\n " shape="invhouse"] "g6.4a4314ef967aad20a9e7c423bc16e39c_30" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_5" ; -"g6.4a4314ef967aad20a9e7c423bc16e39c_31" [label="31: Prune (false branch) \n n$8=*&0$?%__sil_tmpSIL_temp_conditional___n$6:int [line 128]\n PRUNE((n$8 == 0), false); [line 128]\n " shape="invhouse"] +"g6.4a4314ef967aad20a9e7c423bc16e39c_31" [label="31: Prune (false branch) \n n$8=*&0$?%__sil_tmpSIL_temp_conditional___n$6:int [line 128]\n PRUNE(!n$8, false); [line 128]\n " shape="invhouse"] "g6.4a4314ef967aad20a9e7c423bc16e39c_31" -> "g6.4a4314ef967aad20a9e7c423bc16e39c_23" ; @@ -823,11 +823,11 @@ digraph iCFG { "g7.727bb92f57c3951d11695a52c92c2b0c_10" -> "g7.727bb92f57c3951d11695a52c92c2b0c_11" ; "g7.727bb92f57c3951d11695a52c92c2b0c_10" -> "g7.727bb92f57c3951d11695a52c92c2b0c_12" ; -"g7.727bb92f57c3951d11695a52c92c2b0c_11" [label="11: Prune (true branch) \n PRUNE(((n$2 < 10) != 0), true); [line 148]\n " shape="invhouse"] +"g7.727bb92f57c3951d11695a52c92c2b0c_11" [label="11: Prune (true branch) \n PRUNE((n$2 < 10), true); [line 148]\n " shape="invhouse"] "g7.727bb92f57c3951d11695a52c92c2b0c_11" -> "g7.727bb92f57c3951d11695a52c92c2b0c_13" ; -"g7.727bb92f57c3951d11695a52c92c2b0c_12" [label="12: Prune (false branch) \n PRUNE(((n$2 < 10) == 0), false); [line 148]\n " shape="invhouse"] +"g7.727bb92f57c3951d11695a52c92c2b0c_12" [label="12: Prune (false branch) \n PRUNE(!(n$2 < 10), false); [line 148]\n " shape="invhouse"] "g7.727bb92f57c3951d11695a52c92c2b0c_12" -> "g7.727bb92f57c3951d11695a52c92c2b0c_8" ; @@ -840,11 +840,11 @@ digraph iCFG { "g7.727bb92f57c3951d11695a52c92c2b0c_14" -> "g7.727bb92f57c3951d11695a52c92c2b0c_15" ; "g7.727bb92f57c3951d11695a52c92c2b0c_14" -> "g7.727bb92f57c3951d11695a52c92c2b0c_16" ; -"g7.727bb92f57c3951d11695a52c92c2b0c_15" [label="15: Prune (true branch) \n PRUNE(((n$3 < 10) != 0), true); [line 149]\n " shape="invhouse"] +"g7.727bb92f57c3951d11695a52c92c2b0c_15" [label="15: Prune (true branch) \n PRUNE((n$3 < 10), true); [line 149]\n " shape="invhouse"] "g7.727bb92f57c3951d11695a52c92c2b0c_15" -> "g7.727bb92f57c3951d11695a52c92c2b0c_17" ; -"g7.727bb92f57c3951d11695a52c92c2b0c_16" [label="16: Prune (false branch) \n PRUNE(((n$3 < 10) == 0), false); [line 149]\n " shape="invhouse"] +"g7.727bb92f57c3951d11695a52c92c2b0c_16" [label="16: Prune (false branch) \n PRUNE(!(n$3 < 10), false); [line 149]\n " shape="invhouse"] "g7.727bb92f57c3951d11695a52c92c2b0c_16" -> "g7.727bb92f57c3951d11695a52c92c2b0c_9" ; @@ -857,11 +857,11 @@ digraph iCFG { "g7.727bb92f57c3951d11695a52c92c2b0c_18" -> "g7.727bb92f57c3951d11695a52c92c2b0c_19" ; "g7.727bb92f57c3951d11695a52c92c2b0c_18" -> "g7.727bb92f57c3951d11695a52c92c2b0c_20" ; -"g7.727bb92f57c3951d11695a52c92c2b0c_19" [label="19: Prune (true branch) \n PRUNE(((n$4 < 10) != 0), true); [line 150]\n " shape="invhouse"] +"g7.727bb92f57c3951d11695a52c92c2b0c_19" [label="19: Prune (true branch) \n PRUNE((n$4 < 10), true); [line 150]\n " shape="invhouse"] "g7.727bb92f57c3951d11695a52c92c2b0c_19" -> "g7.727bb92f57c3951d11695a52c92c2b0c_26" ; -"g7.727bb92f57c3951d11695a52c92c2b0c_20" [label="20: Prune (false branch) \n PRUNE(((n$4 < 10) == 0), false); [line 150]\n " shape="invhouse"] +"g7.727bb92f57c3951d11695a52c92c2b0c_20" [label="20: Prune (false branch) \n PRUNE(!(n$4 < 10), false); [line 150]\n " shape="invhouse"] "g7.727bb92f57c3951d11695a52c92c2b0c_20" -> "g7.727bb92f57c3951d11695a52c92c2b0c_13" ; @@ -874,11 +874,11 @@ digraph iCFG { "g7.727bb92f57c3951d11695a52c92c2b0c_22" -> "g7.727bb92f57c3951d11695a52c92c2b0c_23" ; "g7.727bb92f57c3951d11695a52c92c2b0c_22" -> "g7.727bb92f57c3951d11695a52c92c2b0c_24" ; -"g7.727bb92f57c3951d11695a52c92c2b0c_23" [label="23: Prune (true branch) \n PRUNE(((n$5 >= 15) != 0), true); [line 152]\n " shape="invhouse"] +"g7.727bb92f57c3951d11695a52c92c2b0c_23" [label="23: Prune (true branch) \n PRUNE((n$5 >= 15), true); [line 152]\n " shape="invhouse"] "g7.727bb92f57c3951d11695a52c92c2b0c_23" -> "g7.727bb92f57c3951d11695a52c92c2b0c_8" ; -"g7.727bb92f57c3951d11695a52c92c2b0c_24" [label="24: Prune (false branch) \n PRUNE(((n$5 >= 15) == 0), false); [line 152]\n " shape="invhouse"] +"g7.727bb92f57c3951d11695a52c92c2b0c_24" [label="24: Prune (false branch) \n PRUNE(!(n$5 >= 15), false); [line 152]\n " shape="invhouse"] "g7.727bb92f57c3951d11695a52c92c2b0c_24" -> "g7.727bb92f57c3951d11695a52c92c2b0c_21" ; @@ -938,11 +938,11 @@ digraph iCFG { "g8.c98b82371573afc08575815d90f5eac4_9" -> "g8.c98b82371573afc08575815d90f5eac4_10" ; "g8.c98b82371573afc08575815d90f5eac4_9" -> "g8.c98b82371573afc08575815d90f5eac4_11" ; -"g8.c98b82371573afc08575815d90f5eac4_10" [label="10: Prune (true branch) \n PRUNE(((n$2 < 10) != 0), true); [line 173]\n " shape="invhouse"] +"g8.c98b82371573afc08575815d90f5eac4_10" [label="10: Prune (true branch) \n PRUNE((n$2 < 10), true); [line 173]\n " shape="invhouse"] "g8.c98b82371573afc08575815d90f5eac4_10" -> "g8.c98b82371573afc08575815d90f5eac4_12" ; -"g8.c98b82371573afc08575815d90f5eac4_11" [label="11: Prune (false branch) \n PRUNE(((n$2 < 10) == 0), false); [line 173]\n " shape="invhouse"] +"g8.c98b82371573afc08575815d90f5eac4_11" [label="11: Prune (false branch) \n PRUNE(!(n$2 < 10), false); [line 173]\n " shape="invhouse"] "g8.c98b82371573afc08575815d90f5eac4_11" -> "g8.c98b82371573afc08575815d90f5eac4_7" ; @@ -955,11 +955,11 @@ digraph iCFG { "g8.c98b82371573afc08575815d90f5eac4_13" -> "g8.c98b82371573afc08575815d90f5eac4_14" ; "g8.c98b82371573afc08575815d90f5eac4_13" -> "g8.c98b82371573afc08575815d90f5eac4_15" ; -"g8.c98b82371573afc08575815d90f5eac4_14" [label="14: Prune (true branch) \n PRUNE(((n$3 < 10) != 0), true); [line 174]\n " shape="invhouse"] +"g8.c98b82371573afc08575815d90f5eac4_14" [label="14: Prune (true branch) \n PRUNE((n$3 < 10), true); [line 174]\n " shape="invhouse"] "g8.c98b82371573afc08575815d90f5eac4_14" -> "g8.c98b82371573afc08575815d90f5eac4_16" ; -"g8.c98b82371573afc08575815d90f5eac4_15" [label="15: Prune (false branch) \n PRUNE(((n$3 < 10) == 0), false); [line 174]\n " shape="invhouse"] +"g8.c98b82371573afc08575815d90f5eac4_15" [label="15: Prune (false branch) \n PRUNE(!(n$3 < 10), false); [line 174]\n " shape="invhouse"] "g8.c98b82371573afc08575815d90f5eac4_15" -> "g8.c98b82371573afc08575815d90f5eac4_8" ; @@ -972,11 +972,11 @@ digraph iCFG { "g8.c98b82371573afc08575815d90f5eac4_17" -> "g8.c98b82371573afc08575815d90f5eac4_18" ; "g8.c98b82371573afc08575815d90f5eac4_17" -> "g8.c98b82371573afc08575815d90f5eac4_19" ; -"g8.c98b82371573afc08575815d90f5eac4_18" [label="18: Prune (true branch) \n PRUNE(((n$4 < 10) != 0), true); [line 175]\n " shape="invhouse"] +"g8.c98b82371573afc08575815d90f5eac4_18" [label="18: Prune (true branch) \n PRUNE((n$4 < 10), true); [line 175]\n " shape="invhouse"] "g8.c98b82371573afc08575815d90f5eac4_18" -> "g8.c98b82371573afc08575815d90f5eac4_26" ; -"g8.c98b82371573afc08575815d90f5eac4_19" [label="19: Prune (false branch) \n PRUNE(((n$4 < 10) == 0), false); [line 175]\n " shape="invhouse"] +"g8.c98b82371573afc08575815d90f5eac4_19" [label="19: Prune (false branch) \n PRUNE(!(n$4 < 10), false); [line 175]\n " shape="invhouse"] "g8.c98b82371573afc08575815d90f5eac4_19" -> "g8.c98b82371573afc08575815d90f5eac4_12" ; @@ -989,11 +989,11 @@ digraph iCFG { "g8.c98b82371573afc08575815d90f5eac4_21" -> "g8.c98b82371573afc08575815d90f5eac4_22" ; "g8.c98b82371573afc08575815d90f5eac4_21" -> "g8.c98b82371573afc08575815d90f5eac4_23" ; -"g8.c98b82371573afc08575815d90f5eac4_22" [label="22: Prune (true branch) \n PRUNE(((n$5 >= 15) != 0), true); [line 177]\n " shape="invhouse"] +"g8.c98b82371573afc08575815d90f5eac4_22" [label="22: Prune (true branch) \n PRUNE((n$5 >= 15), true); [line 177]\n " shape="invhouse"] "g8.c98b82371573afc08575815d90f5eac4_22" -> "g8.c98b82371573afc08575815d90f5eac4_25" ; -"g8.c98b82371573afc08575815d90f5eac4_23" [label="23: Prune (false branch) \n PRUNE(((n$5 >= 15) == 0), false); [line 177]\n " shape="invhouse"] +"g8.c98b82371573afc08575815d90f5eac4_23" [label="23: Prune (false branch) \n PRUNE(!(n$5 >= 15), false); [line 177]\n " shape="invhouse"] "g8.c98b82371573afc08575815d90f5eac4_23" -> "g8.c98b82371573afc08575815d90f5eac4_20" ; @@ -1013,11 +1013,11 @@ digraph iCFG { "g8.c98b82371573afc08575815d90f5eac4_27" -> "g8.c98b82371573afc08575815d90f5eac4_8" ; -"g8.c98b82371573afc08575815d90f5eac4_28" [label="28: Prune (true branch) \n n$10=*&q:int [line 171]\n PRUNE((n$10 != 0), true); [line 171]\n " shape="invhouse"] +"g8.c98b82371573afc08575815d90f5eac4_28" [label="28: Prune (true branch) \n n$10=*&q:int [line 171]\n PRUNE(n$10, true); [line 171]\n " shape="invhouse"] "g8.c98b82371573afc08575815d90f5eac4_28" -> "g8.c98b82371573afc08575815d90f5eac4_25" ; -"g8.c98b82371573afc08575815d90f5eac4_29" [label="29: Prune (false branch) \n n$10=*&q:int [line 171]\n PRUNE((n$10 == 0), false); [line 171]\n " shape="invhouse"] +"g8.c98b82371573afc08575815d90f5eac4_29" [label="29: Prune (false branch) \n n$10=*&q:int [line 171]\n PRUNE(!n$10, false); [line 171]\n " shape="invhouse"] "g8.c98b82371573afc08575815d90f5eac4_29" -> "g8.c98b82371573afc08575815d90f5eac4_27" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/do_while.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/do_while.c.dot index 77f7a5f51..b3a93fbc0 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/do_while.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/do_while.c.dot @@ -20,11 +20,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE(((n$0 < 20) != 0), true); [line 15]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE((n$0 < 20), true); [line 15]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE(((n$0 < 20) == 0), false); [line 15]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 < 20), false); [line 15]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/do_while_condition_side_effects.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/do_while_condition_side_effects.c.dot index 0b42157c2..1d72455c3 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/do_while_condition_side_effects.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/do_while_condition_side_effects.c.dot @@ -20,11 +20,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE((n$0 != 0), true); [line 15]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE(n$0, true); [line 15]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE((n$0 == 0), false); [line 15]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE(!n$0, false); [line 15]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/do_while_nested.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/do_while_nested.c.dot index e11be1aa9..a42687f8a 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/do_while_nested.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/do_while_nested.c.dot @@ -20,11 +20,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE(((n$0 < 20) != 0), true); [line 18]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE((n$0 < 20), true); [line 18]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE(((n$0 < 20) == 0), false); [line 18]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 < 20), false); [line 18]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; @@ -37,11 +37,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_9" -> "main.fad58de7366495db4650cfefac2fcd61_10" ; "main.fad58de7366495db4650cfefac2fcd61_9" -> "main.fad58de7366495db4650cfefac2fcd61_11" ; -"main.fad58de7366495db4650cfefac2fcd61_10" [label="10: Prune (true branch) \n PRUNE(((n$1 < 30) != 0), true); [line 17]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_10" [label="10: Prune (true branch) \n PRUNE((n$1 < 30), true); [line 17]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_10" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; -"main.fad58de7366495db4650cfefac2fcd61_11" [label="11: Prune (false branch) \n PRUNE(((n$1 < 30) == 0), false); [line 17]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_11" [label="11: Prune (false branch) \n PRUNE(!(n$1 < 30), false); [line 17]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_11" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_condition_side_effects.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/for_condition_side_effects.c.dot index 98d2d7efd..632c0bc77 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_condition_side_effects.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_condition_side_effects.c.dot @@ -28,11 +28,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_9" ; -"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Prune (true branch) \n PRUNE((n$1 != 0), true); [line 13]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Prune (true branch) \n PRUNE(n$1, true); [line 13]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_10" ; -"main.fad58de7366495db4650cfefac2fcd61_9" [label="9: Prune (false branch) \n PRUNE((n$1 == 0), false); [line 13]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_9" [label="9: Prune (false branch) \n PRUNE(!n$1, false); [line 13]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_9" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_nested.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/for_nested.c.dot index f0a8c52fd..b7b4da79f 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_nested.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_nested.c.dot @@ -28,11 +28,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_9" ; -"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Prune (true branch) \n PRUNE(((n$2 < 10) != 0), true); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Prune (true branch) \n PRUNE((n$2 < 10), true); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_11" ; -"main.fad58de7366495db4650cfefac2fcd61_9" [label="9: Prune (false branch) \n PRUNE(((n$2 < 10) == 0), false); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_9" [label="9: Prune (false branch) \n PRUNE(!(n$2 < 10), false); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_9" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; @@ -53,11 +53,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_13" -> "main.fad58de7366495db4650cfefac2fcd61_14" ; "main.fad58de7366495db4650cfefac2fcd61_13" -> "main.fad58de7366495db4650cfefac2fcd61_15" ; -"main.fad58de7366495db4650cfefac2fcd61_14" [label="14: Prune (true branch) \n PRUNE(((n$4 < 10) != 0), true); [line 13]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_14" [label="14: Prune (true branch) \n PRUNE((n$4 < 10), true); [line 13]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_14" -> "main.fad58de7366495db4650cfefac2fcd61_16" ; -"main.fad58de7366495db4650cfefac2fcd61_15" [label="15: Prune (false branch) \n PRUNE(((n$4 < 10) == 0), false); [line 13]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_15" [label="15: Prune (false branch) \n PRUNE(!(n$4 < 10), false); [line 13]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_15" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition.c.dot index afd7b1fea..d9ae55ef8 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition.c.dot @@ -24,11 +24,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (true branch) \n PRUNE((1 != 0), true); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (true branch) \n PRUNE(1, true); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_9" ; -"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Prune (false branch) \n PRUNE((1 == 0), false); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Prune (false branch) \n PRUNE(!1, false); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr.c.dot index aa9221ee8..c63d84cae 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr.c.dot @@ -20,11 +20,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE((1 != 0), true); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE(1, true); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE((1 == 0), false); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE(!1, false); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr_body.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr_body.c.dot index 8d8bb6cc0..bec874321 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr_body.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_no_condition_incr_body.c.dot @@ -20,11 +20,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE((1 != 0), true); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE(1, true); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE((1 == 0), false); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE(!1, false); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_only_body.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/for_only_body.c.dot index d3898a1d1..94047bae3 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_only_body.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_only_body.c.dot @@ -16,11 +16,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; -"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: Prune (true branch) \n PRUNE((1 != 0), true); [line 14]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: Prune (true branch) \n PRUNE(1, true); [line 14]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (false branch) \n PRUNE((1 == 0), false); [line 14]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (false branch) \n PRUNE(!1, false); [line 14]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_simple.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/for_simple.c.dot index 4ce2603e5..869efdf7e 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_simple.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_simple.c.dot @@ -28,11 +28,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_9" ; -"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Prune (true branch) \n PRUNE(((n$1 < 10) != 0), true); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Prune (true branch) \n PRUNE((n$1 < 10), true); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_10" ; -"main.fad58de7366495db4650cfefac2fcd61_9" [label="9: Prune (false branch) \n PRUNE(((n$1 < 10) == 0), false); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_9" [label="9: Prune (false branch) \n PRUNE(!(n$1 < 10), false); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_9" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/for_while_nested.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/for_while_nested.c.dot index cea49008d..bc5f805b3 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/for_while_nested.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/for_while_nested.c.dot @@ -28,11 +28,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_9" ; -"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Prune (true branch) \n PRUNE(((n$2 < 10) != 0), true); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: Prune (true branch) \n PRUNE((n$2 < 10), true); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_10" ; -"main.fad58de7366495db4650cfefac2fcd61_9" [label="9: Prune (false branch) \n PRUNE(((n$2 < 10) == 0), false); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_9" [label="9: Prune (false branch) \n PRUNE(!(n$2 < 10), false); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_9" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; @@ -45,11 +45,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_11" -> "main.fad58de7366495db4650cfefac2fcd61_12" ; "main.fad58de7366495db4650cfefac2fcd61_11" -> "main.fad58de7366495db4650cfefac2fcd61_13" ; -"main.fad58de7366495db4650cfefac2fcd61_12" [label="12: Prune (true branch) \n PRUNE(((n$3 < 10) != 0), true); [line 13]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_12" [label="12: Prune (true branch) \n PRUNE((n$3 < 10), true); [line 13]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_12" -> "main.fad58de7366495db4650cfefac2fcd61_14" ; -"main.fad58de7366495db4650cfefac2fcd61_13" [label="13: Prune (false branch) \n PRUNE(((n$3 < 10) == 0), false); [line 13]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_13" [label="13: Prune (false branch) \n PRUNE(!(n$3 < 10), false); [line 13]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_13" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/while.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/while.c.dot index db676c3b9..9e906ff79 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/while.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/while.c.dot @@ -20,11 +20,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE(((n$0 <= 10) != 0), true); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE((n$0 <= 10), true); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE(((n$0 <= 10) == 0), false); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 <= 10), false); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/while_condition_side_effects.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/while_condition_side_effects.c.dot index 6f8637f7c..99f8f96b6 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/while_condition_side_effects.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/while_condition_side_effects.c.dot @@ -20,11 +20,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE((n$0 != 0), true); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE(n$0, true); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE((n$0 == 0), false); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE(!n$0, false); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/while_nested.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/while_nested.c.dot index aead53cf3..dee02928c 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/while_nested.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/while_nested.c.dot @@ -20,11 +20,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE(((n$0 <= 10) != 0), true); [line 13]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE((n$0 <= 10), true); [line 13]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_9" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE(((n$0 <= 10) == 0), false); [line 13]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 <= 10), false); [line 13]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; @@ -41,11 +41,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_10" -> "main.fad58de7366495db4650cfefac2fcd61_11" ; "main.fad58de7366495db4650cfefac2fcd61_10" -> "main.fad58de7366495db4650cfefac2fcd61_12" ; -"main.fad58de7366495db4650cfefac2fcd61_11" [label="11: Prune (true branch) \n PRUNE(((n$2 <= 5) != 0), true); [line 14]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_11" [label="11: Prune (true branch) \n PRUNE((n$2 <= 5), true); [line 14]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_11" -> "main.fad58de7366495db4650cfefac2fcd61_13" ; -"main.fad58de7366495db4650cfefac2fcd61_12" [label="12: Prune (false branch) \n PRUNE(((n$2 <= 5) == 0), false); [line 14]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_12" [label="12: Prune (false branch) \n PRUNE(!(n$2 <= 5), false); [line 14]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_12" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/while_no_body.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/while_no_body.c.dot index f3ce9eda7..c4ee3759e 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/while_no_body.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/while_no_body.c.dot @@ -16,11 +16,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; -"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: Prune (true branch) \n PRUNE((1 != 0), true); [line 11]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: Prune (true branch) \n PRUNE(1, true); [line 11]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (false branch) \n PRUNE((1 == 0), false); [line 11]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (false branch) \n PRUNE(!1, false); [line 11]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; diff --git a/infer/tests/codetoanalyze/c/frontend/loops/while_with_continue_and_break.c.dot b/infer/tests/codetoanalyze/c/frontend/loops/while_with_continue_and_break.c.dot index c83b3cd07..4d604a5a1 100644 --- a/infer/tests/codetoanalyze/c/frontend/loops/while_with_continue_and_break.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/loops/while_with_continue_and_break.c.dot @@ -16,11 +16,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_5" ; "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; -"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: Prune (true branch) \n PRUNE((1 != 0), true); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: Prune (true branch) \n PRUNE(1, true); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_11" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (false branch) \n PRUNE((1 == 0), false); [line 12]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (false branch) \n PRUNE(!1, false); [line 12]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; @@ -33,11 +33,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_9" ; "main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_10" ; -"main.fad58de7366495db4650cfefac2fcd61_9" [label="9: Prune (true branch) \n PRUNE(((n$0 == 2) != 0), true); [line 19]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_9" [label="9: Prune (true branch) \n PRUNE((n$0 == 2), true); [line 19]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_9" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; -"main.fad58de7366495db4650cfefac2fcd61_10" [label="10: Prune (false branch) \n PRUNE(((n$0 == 2) == 0), false); [line 19]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_10" [label="10: Prune (false branch) \n PRUNE(!(n$0 == 2), false); [line 19]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_10" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; @@ -46,11 +46,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_11" -> "main.fad58de7366495db4650cfefac2fcd61_12" ; "main.fad58de7366495db4650cfefac2fcd61_11" -> "main.fad58de7366495db4650cfefac2fcd61_13" ; -"main.fad58de7366495db4650cfefac2fcd61_12" [label="12: Prune (true branch) \n PRUNE((2 != 0), true); [line 13]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_12" [label="12: Prune (true branch) \n PRUNE(2, true); [line 13]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_12" -> "main.fad58de7366495db4650cfefac2fcd61_18" ; -"main.fad58de7366495db4650cfefac2fcd61_13" [label="13: Prune (false branch) \n PRUNE((2 == 0), false); [line 13]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_13" [label="13: Prune (false branch) \n PRUNE(!2, false); [line 13]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_13" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; @@ -63,11 +63,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_15" -> "main.fad58de7366495db4650cfefac2fcd61_16" ; "main.fad58de7366495db4650cfefac2fcd61_15" -> "main.fad58de7366495db4650cfefac2fcd61_17" ; -"main.fad58de7366495db4650cfefac2fcd61_16" [label="16: Prune (true branch) \n PRUNE(((n$1 > 5) != 0), true); [line 15]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_16" [label="16: Prune (true branch) \n PRUNE((n$1 > 5), true); [line 15]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_16" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; -"main.fad58de7366495db4650cfefac2fcd61_17" [label="17: Prune (false branch) \n PRUNE(((n$1 > 5) == 0), false); [line 15]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_17" [label="17: Prune (false branch) \n PRUNE(!(n$1 > 5), false); [line 15]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_17" -> "main.fad58de7366495db4650cfefac2fcd61_14" ; diff --git a/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_in_condition.c.dot b/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_in_condition.c.dot index 8df9a5733..3e906eca3 100644 --- a/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_in_condition.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/nestedoperators/assign_in_condition.c.dot @@ -20,11 +20,11 @@ digraph iCFG { "foo.acbd18db4cc2f85cedef654fccc4a4d8_5" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_6" ; "foo.acbd18db4cc2f85cedef654fccc4a4d8_5" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_7" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_6" [label="6: Prune (true branch) \n PRUNE((n$1 != 0), true); [line 11]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_6" [label="6: Prune (true branch) \n PRUNE(n$1, true); [line 11]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_6" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_8" ; -"foo.acbd18db4cc2f85cedef654fccc4a4d8_7" [label="7: Prune (false branch) \n PRUNE((n$1 == 0), false); [line 11]\n " shape="invhouse"] +"foo.acbd18db4cc2f85cedef654fccc4a4d8_7" [label="7: Prune (false branch) \n PRUNE(!n$1, false); [line 11]\n " shape="invhouse"] "foo.acbd18db4cc2f85cedef654fccc4a4d8_7" -> "foo.acbd18db4cc2f85cedef654fccc4a4d8_4" ; diff --git a/infer/tests/codetoanalyze/c/frontend/nestedoperators/gnuexpr.c.dot b/infer/tests/codetoanalyze/c/frontend/nestedoperators/gnuexpr.c.dot index 68250a718..e51e20270 100644 --- a/infer/tests/codetoanalyze/c/frontend/nestedoperators/gnuexpr.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/nestedoperators/gnuexpr.c.dot @@ -61,11 +61,11 @@ digraph iCFG { "with_conditional.c7f3381cc5bd6cfe19bc60c013ae8f1c_3" -> "with_conditional.c7f3381cc5bd6cfe19bc60c013ae8f1c_8" ; -"with_conditional.c7f3381cc5bd6cfe19bc60c013ae8f1c_4" [label="4: Prune (true branch) \n n$1=*&p:int* [line 31]\n PRUNE((n$1 != 0), true); [line 31]\n " shape="invhouse"] +"with_conditional.c7f3381cc5bd6cfe19bc60c013ae8f1c_4" [label="4: Prune (true branch) \n n$1=*&p:int* [line 31]\n PRUNE(n$1, true); [line 31]\n " shape="invhouse"] "with_conditional.c7f3381cc5bd6cfe19bc60c013ae8f1c_4" -> "with_conditional.c7f3381cc5bd6cfe19bc60c013ae8f1c_6" ; -"with_conditional.c7f3381cc5bd6cfe19bc60c013ae8f1c_5" [label="5: Prune (false branch) \n n$1=*&p:int* [line 31]\n PRUNE((n$1 == 0), false); [line 31]\n " shape="invhouse"] +"with_conditional.c7f3381cc5bd6cfe19bc60c013ae8f1c_5" [label="5: Prune (false branch) \n n$1=*&p:int* [line 31]\n PRUNE(!n$1, false); [line 31]\n " shape="invhouse"] "with_conditional.c7f3381cc5bd6cfe19bc60c013ae8f1c_5" -> "with_conditional.c7f3381cc5bd6cfe19bc60c013ae8f1c_7" ; diff --git a/infer/tests/codetoanalyze/c/frontend/offsetof_expr/offsetof_expr.c.dot b/infer/tests/codetoanalyze/c/frontend/offsetof_expr/offsetof_expr.c.dot index fb9c2ee5a..6412a7540 100644 --- a/infer/tests/codetoanalyze/c/frontend/offsetof_expr/offsetof_expr.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/offsetof_expr/offsetof_expr.c.dot @@ -20,11 +20,11 @@ digraph iCFG { "test_offsetof_expr.8f3e634fd0f68dff5e4bfedc8f65a55f_5" -> "test_offsetof_expr.8f3e634fd0f68dff5e4bfedc8f65a55f_6" ; "test_offsetof_expr.8f3e634fd0f68dff5e4bfedc8f65a55f_5" -> "test_offsetof_expr.8f3e634fd0f68dff5e4bfedc8f65a55f_7" ; -"test_offsetof_expr.8f3e634fd0f68dff5e4bfedc8f65a55f_6" [label="6: Prune (true branch) \n PRUNE(((n$0 == 9) != 0), true); [line 20]\n " shape="invhouse"] +"test_offsetof_expr.8f3e634fd0f68dff5e4bfedc8f65a55f_6" [label="6: Prune (true branch) \n PRUNE((n$0 == 9), true); [line 20]\n " shape="invhouse"] "test_offsetof_expr.8f3e634fd0f68dff5e4bfedc8f65a55f_6" -> "test_offsetof_expr.8f3e634fd0f68dff5e4bfedc8f65a55f_8" ; -"test_offsetof_expr.8f3e634fd0f68dff5e4bfedc8f65a55f_7" [label="7: Prune (false branch) \n PRUNE(((n$0 == 9) == 0), false); [line 20]\n " shape="invhouse"] +"test_offsetof_expr.8f3e634fd0f68dff5e4bfedc8f65a55f_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 == 9), false); [line 20]\n " shape="invhouse"] "test_offsetof_expr.8f3e634fd0f68dff5e4bfedc8f65a55f_7" -> "test_offsetof_expr.8f3e634fd0f68dff5e4bfedc8f65a55f_9" ; diff --git a/infer/tests/codetoanalyze/c/frontend/switchstmt/switch.c.dot b/infer/tests/codetoanalyze/c/frontend/switchstmt/switch.c.dot index f656571c3..3df84f61f 100644 --- a/infer/tests/codetoanalyze/c/frontend/switchstmt/switch.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/switchstmt/switch.c.dot @@ -20,11 +20,11 @@ digraph iCFG { "m1.ae7be26cdaa742ca148068d5ac90eaca_5" -> "m1.ae7be26cdaa742ca148068d5ac90eaca_6" ; "m1.ae7be26cdaa742ca148068d5ac90eaca_5" -> "m1.ae7be26cdaa742ca148068d5ac90eaca_7" ; -"m1.ae7be26cdaa742ca148068d5ac90eaca_6" [label="6: Prune (true branch) \n PRUNE(((n$0 < 10) != 0), true); [line 14]\n " shape="invhouse"] +"m1.ae7be26cdaa742ca148068d5ac90eaca_6" [label="6: Prune (true branch) \n PRUNE((n$0 < 10), true); [line 14]\n " shape="invhouse"] "m1.ae7be26cdaa742ca148068d5ac90eaca_6" -> "m1.ae7be26cdaa742ca148068d5ac90eaca_9" ; -"m1.ae7be26cdaa742ca148068d5ac90eaca_7" [label="7: Prune (false branch) \n PRUNE(((n$0 < 10) == 0), false); [line 14]\n " shape="invhouse"] +"m1.ae7be26cdaa742ca148068d5ac90eaca_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 < 10), false); [line 14]\n " shape="invhouse"] "m1.ae7be26cdaa742ca148068d5ac90eaca_7" -> "m1.ae7be26cdaa742ca148068d5ac90eaca_3" ; @@ -45,11 +45,11 @@ digraph iCFG { "m1.ae7be26cdaa742ca148068d5ac90eaca_11" -> "m1.ae7be26cdaa742ca148068d5ac90eaca_4" ; -"m1.ae7be26cdaa742ca148068d5ac90eaca_12" [label="12: Prune (true branch) \n PRUNE(((n$2 == 2) != 0), true); [line 25]\n " shape="invhouse"] +"m1.ae7be26cdaa742ca148068d5ac90eaca_12" [label="12: Prune (true branch) \n PRUNE((n$2 == 2), true); [line 25]\n " shape="invhouse"] "m1.ae7be26cdaa742ca148068d5ac90eaca_12" -> "m1.ae7be26cdaa742ca148068d5ac90eaca_11" ; -"m1.ae7be26cdaa742ca148068d5ac90eaca_13" [label="13: Prune (false branch) \n PRUNE(((n$2 == 2) == 0), false); [line 25]\n " shape="invhouse"] +"m1.ae7be26cdaa742ca148068d5ac90eaca_13" [label="13: Prune (false branch) \n PRUNE(!(n$2 == 2), false); [line 25]\n " shape="invhouse"] "m1.ae7be26cdaa742ca148068d5ac90eaca_13" -> "m1.ae7be26cdaa742ca148068d5ac90eaca_10" ; @@ -57,11 +57,11 @@ digraph iCFG { "m1.ae7be26cdaa742ca148068d5ac90eaca_14" -> "m1.ae7be26cdaa742ca148068d5ac90eaca_4" ; -"m1.ae7be26cdaa742ca148068d5ac90eaca_15" [label="15: Prune (true branch) \n PRUNE(((n$2 == 1) != 0), true); [line 22]\n " shape="invhouse"] +"m1.ae7be26cdaa742ca148068d5ac90eaca_15" [label="15: Prune (true branch) \n PRUNE((n$2 == 1), true); [line 22]\n " shape="invhouse"] "m1.ae7be26cdaa742ca148068d5ac90eaca_15" -> "m1.ae7be26cdaa742ca148068d5ac90eaca_14" ; -"m1.ae7be26cdaa742ca148068d5ac90eaca_16" [label="16: Prune (false branch) \n PRUNE(((n$2 == 1) == 0), false); [line 22]\n " shape="invhouse"] +"m1.ae7be26cdaa742ca148068d5ac90eaca_16" [label="16: Prune (false branch) \n PRUNE(!(n$2 == 1), false); [line 22]\n " shape="invhouse"] "m1.ae7be26cdaa742ca148068d5ac90eaca_16" -> "m1.ae7be26cdaa742ca148068d5ac90eaca_12" ; @@ -70,11 +70,11 @@ digraph iCFG { "m1.ae7be26cdaa742ca148068d5ac90eaca_17" -> "m1.ae7be26cdaa742ca148068d5ac90eaca_8" ; -"m1.ae7be26cdaa742ca148068d5ac90eaca_18" [label="18: Prune (true branch) \n PRUNE(((n$2 == 0) != 0), true); [line 19]\n " shape="invhouse"] +"m1.ae7be26cdaa742ca148068d5ac90eaca_18" [label="18: Prune (true branch) \n PRUNE((n$2 == 0), true); [line 19]\n " shape="invhouse"] "m1.ae7be26cdaa742ca148068d5ac90eaca_18" -> "m1.ae7be26cdaa742ca148068d5ac90eaca_17" ; -"m1.ae7be26cdaa742ca148068d5ac90eaca_19" [label="19: Prune (false branch) \n PRUNE(((n$2 == 0) == 0), false); [line 19]\n " shape="invhouse"] +"m1.ae7be26cdaa742ca148068d5ac90eaca_19" [label="19: Prune (false branch) \n PRUNE(!(n$2 == 0), false); [line 19]\n " shape="invhouse"] "m1.ae7be26cdaa742ca148068d5ac90eaca_19" -> "m1.ae7be26cdaa742ca148068d5ac90eaca_15" ; @@ -115,19 +115,19 @@ digraph iCFG { "m2.aaf2f89992379705dac844c0a2a1d45f_5" -> "m2.aaf2f89992379705dac844c0a2a1d45f_12" ; -"m2.aaf2f89992379705dac844c0a2a1d45f_6" [label="6: Prune (true branch) \n PRUNE(((n$0 == 3) != 0), true); [line 54]\n " shape="invhouse"] +"m2.aaf2f89992379705dac844c0a2a1d45f_6" [label="6: Prune (true branch) \n PRUNE((n$0 == 3), true); [line 54]\n " shape="invhouse"] "m2.aaf2f89992379705dac844c0a2a1d45f_6" -> "m2.aaf2f89992379705dac844c0a2a1d45f_3" ; -"m2.aaf2f89992379705dac844c0a2a1d45f_7" [label="7: Prune (false branch) \n PRUNE(((n$0 == 3) == 0), false); [line 54]\n " shape="invhouse"] +"m2.aaf2f89992379705dac844c0a2a1d45f_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 == 3), false); [line 54]\n " shape="invhouse"] "m2.aaf2f89992379705dac844c0a2a1d45f_7" -> "m2.aaf2f89992379705dac844c0a2a1d45f_5" ; -"m2.aaf2f89992379705dac844c0a2a1d45f_8" [label="8: Prune (true branch) \n PRUNE(((n$0 == 2) != 0), true); [line 53]\n " shape="invhouse"] +"m2.aaf2f89992379705dac844c0a2a1d45f_8" [label="8: Prune (true branch) \n PRUNE((n$0 == 2), true); [line 53]\n " shape="invhouse"] "m2.aaf2f89992379705dac844c0a2a1d45f_8" -> "m2.aaf2f89992379705dac844c0a2a1d45f_3" ; -"m2.aaf2f89992379705dac844c0a2a1d45f_9" [label="9: Prune (false branch) \n PRUNE(((n$0 == 2) == 0), false); [line 53]\n " shape="invhouse"] +"m2.aaf2f89992379705dac844c0a2a1d45f_9" [label="9: Prune (false branch) \n PRUNE(!(n$0 == 2), false); [line 53]\n " shape="invhouse"] "m2.aaf2f89992379705dac844c0a2a1d45f_9" -> "m2.aaf2f89992379705dac844c0a2a1d45f_6" ; @@ -144,11 +144,11 @@ digraph iCFG { "m2.aaf2f89992379705dac844c0a2a1d45f_12" -> "m2.aaf2f89992379705dac844c0a2a1d45f_11" ; -"m2.aaf2f89992379705dac844c0a2a1d45f_13" [label="13: Prune (true branch) \n PRUNE(((n$0 == 1) != 0), true); [line 47]\n " shape="invhouse"] +"m2.aaf2f89992379705dac844c0a2a1d45f_13" [label="13: Prune (true branch) \n PRUNE((n$0 == 1), true); [line 47]\n " shape="invhouse"] "m2.aaf2f89992379705dac844c0a2a1d45f_13" -> "m2.aaf2f89992379705dac844c0a2a1d45f_12" ; -"m2.aaf2f89992379705dac844c0a2a1d45f_14" [label="14: Prune (false branch) \n PRUNE(((n$0 == 1) == 0), false); [line 47]\n " shape="invhouse"] +"m2.aaf2f89992379705dac844c0a2a1d45f_14" [label="14: Prune (false branch) \n PRUNE(!(n$0 == 1), false); [line 47]\n " shape="invhouse"] "m2.aaf2f89992379705dac844c0a2a1d45f_14" -> "m2.aaf2f89992379705dac844c0a2a1d45f_8" ; @@ -161,11 +161,11 @@ digraph iCFG { "m2.aaf2f89992379705dac844c0a2a1d45f_16" -> "m2.aaf2f89992379705dac844c0a2a1d45f_3" ; -"m2.aaf2f89992379705dac844c0a2a1d45f_17" [label="17: Prune (true branch) \n PRUNE(((n$0 == 0) != 0), true); [line 41]\n " shape="invhouse"] +"m2.aaf2f89992379705dac844c0a2a1d45f_17" [label="17: Prune (true branch) \n PRUNE((n$0 == 0), true); [line 41]\n " shape="invhouse"] "m2.aaf2f89992379705dac844c0a2a1d45f_17" -> "m2.aaf2f89992379705dac844c0a2a1d45f_16" ; -"m2.aaf2f89992379705dac844c0a2a1d45f_18" [label="18: Prune (false branch) \n PRUNE(((n$0 == 0) == 0), false); [line 41]\n " shape="invhouse"] +"m2.aaf2f89992379705dac844c0a2a1d45f_18" [label="18: Prune (false branch) \n PRUNE(!(n$0 == 0), false); [line 41]\n " shape="invhouse"] "m2.aaf2f89992379705dac844c0a2a1d45f_18" -> "m2.aaf2f89992379705dac844c0a2a1d45f_13" ; @@ -202,19 +202,19 @@ digraph iCFG { "m3.9678f7a7939f457fa0d9353761e189c7_4" -> "m3.9678f7a7939f457fa0d9353761e189c7_15" ; "m3.9678f7a7939f457fa0d9353761e189c7_4" -> "m3.9678f7a7939f457fa0d9353761e189c7_16" ; -"m3.9678f7a7939f457fa0d9353761e189c7_5" [label="5: Prune (true branch) \n PRUNE(((n$0 == 3) != 0), true); [line 72]\n " shape="invhouse"] +"m3.9678f7a7939f457fa0d9353761e189c7_5" [label="5: Prune (true branch) \n PRUNE((n$0 == 3), true); [line 72]\n " shape="invhouse"] "m3.9678f7a7939f457fa0d9353761e189c7_5" -> "m3.9678f7a7939f457fa0d9353761e189c7_3" ; -"m3.9678f7a7939f457fa0d9353761e189c7_6" [label="6: Prune (false branch) \n PRUNE(((n$0 == 3) == 0), false); [line 72]\n " shape="invhouse"] +"m3.9678f7a7939f457fa0d9353761e189c7_6" [label="6: Prune (false branch) \n PRUNE(!(n$0 == 3), false); [line 72]\n " shape="invhouse"] "m3.9678f7a7939f457fa0d9353761e189c7_6" -> "m3.9678f7a7939f457fa0d9353761e189c7_3" ; -"m3.9678f7a7939f457fa0d9353761e189c7_7" [label="7: Prune (true branch) \n PRUNE(((n$0 == 2) != 0), true); [line 71]\n " shape="invhouse"] +"m3.9678f7a7939f457fa0d9353761e189c7_7" [label="7: Prune (true branch) \n PRUNE((n$0 == 2), true); [line 71]\n " shape="invhouse"] "m3.9678f7a7939f457fa0d9353761e189c7_7" -> "m3.9678f7a7939f457fa0d9353761e189c7_3" ; -"m3.9678f7a7939f457fa0d9353761e189c7_8" [label="8: Prune (false branch) \n PRUNE(((n$0 == 2) == 0), false); [line 71]\n " shape="invhouse"] +"m3.9678f7a7939f457fa0d9353761e189c7_8" [label="8: Prune (false branch) \n PRUNE(!(n$0 == 2), false); [line 71]\n " shape="invhouse"] "m3.9678f7a7939f457fa0d9353761e189c7_8" -> "m3.9678f7a7939f457fa0d9353761e189c7_5" ; @@ -231,11 +231,11 @@ digraph iCFG { "m3.9678f7a7939f457fa0d9353761e189c7_11" -> "m3.9678f7a7939f457fa0d9353761e189c7_10" ; -"m3.9678f7a7939f457fa0d9353761e189c7_12" [label="12: Prune (true branch) \n PRUNE(((n$0 == 1) != 0), true); [line 66]\n " shape="invhouse"] +"m3.9678f7a7939f457fa0d9353761e189c7_12" [label="12: Prune (true branch) \n PRUNE((n$0 == 1), true); [line 66]\n " shape="invhouse"] "m3.9678f7a7939f457fa0d9353761e189c7_12" -> "m3.9678f7a7939f457fa0d9353761e189c7_11" ; -"m3.9678f7a7939f457fa0d9353761e189c7_13" [label="13: Prune (false branch) \n PRUNE(((n$0 == 1) == 0), false); [line 66]\n " shape="invhouse"] +"m3.9678f7a7939f457fa0d9353761e189c7_13" [label="13: Prune (false branch) \n PRUNE(!(n$0 == 1), false); [line 66]\n " shape="invhouse"] "m3.9678f7a7939f457fa0d9353761e189c7_13" -> "m3.9678f7a7939f457fa0d9353761e189c7_7" ; @@ -244,11 +244,11 @@ digraph iCFG { "m3.9678f7a7939f457fa0d9353761e189c7_14" -> "m3.9678f7a7939f457fa0d9353761e189c7_3" ; -"m3.9678f7a7939f457fa0d9353761e189c7_15" [label="15: Prune (true branch) \n PRUNE(((n$0 == 0) != 0), true); [line 63]\n " shape="invhouse"] +"m3.9678f7a7939f457fa0d9353761e189c7_15" [label="15: Prune (true branch) \n PRUNE((n$0 == 0), true); [line 63]\n " shape="invhouse"] "m3.9678f7a7939f457fa0d9353761e189c7_15" -> "m3.9678f7a7939f457fa0d9353761e189c7_14" ; -"m3.9678f7a7939f457fa0d9353761e189c7_16" [label="16: Prune (false branch) \n PRUNE(((n$0 == 0) == 0), false); [line 63]\n " shape="invhouse"] +"m3.9678f7a7939f457fa0d9353761e189c7_16" [label="16: Prune (false branch) \n PRUNE(!(n$0 == 0), false); [line 63]\n " shape="invhouse"] "m3.9678f7a7939f457fa0d9353761e189c7_16" -> "m3.9678f7a7939f457fa0d9353761e189c7_12" ; @@ -277,19 +277,19 @@ digraph iCFG { "m4.fd6b6fc9220b72d21683ae8e4f50a210_5" -> "m4.fd6b6fc9220b72d21683ae8e4f50a210_12" ; -"m4.fd6b6fc9220b72d21683ae8e4f50a210_6" [label="6: Prune (true branch) \n PRUNE(((n$0 == 3) != 0), true); [line 97]\n " shape="invhouse"] +"m4.fd6b6fc9220b72d21683ae8e4f50a210_6" [label="6: Prune (true branch) \n PRUNE((n$0 == 3), true); [line 97]\n " shape="invhouse"] "m4.fd6b6fc9220b72d21683ae8e4f50a210_6" -> "m4.fd6b6fc9220b72d21683ae8e4f50a210_3" ; -"m4.fd6b6fc9220b72d21683ae8e4f50a210_7" [label="7: Prune (false branch) \n PRUNE(((n$0 == 3) == 0), false); [line 97]\n " shape="invhouse"] +"m4.fd6b6fc9220b72d21683ae8e4f50a210_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 == 3), false); [line 97]\n " shape="invhouse"] "m4.fd6b6fc9220b72d21683ae8e4f50a210_7" -> "m4.fd6b6fc9220b72d21683ae8e4f50a210_5" ; -"m4.fd6b6fc9220b72d21683ae8e4f50a210_8" [label="8: Prune (true branch) \n PRUNE(((n$0 == 2) != 0), true); [line 96]\n " shape="invhouse"] +"m4.fd6b6fc9220b72d21683ae8e4f50a210_8" [label="8: Prune (true branch) \n PRUNE((n$0 == 2), true); [line 96]\n " shape="invhouse"] "m4.fd6b6fc9220b72d21683ae8e4f50a210_8" -> "m4.fd6b6fc9220b72d21683ae8e4f50a210_3" ; -"m4.fd6b6fc9220b72d21683ae8e4f50a210_9" [label="9: Prune (false branch) \n PRUNE(((n$0 == 2) == 0), false); [line 96]\n " shape="invhouse"] +"m4.fd6b6fc9220b72d21683ae8e4f50a210_9" [label="9: Prune (false branch) \n PRUNE(!(n$0 == 2), false); [line 96]\n " shape="invhouse"] "m4.fd6b6fc9220b72d21683ae8e4f50a210_9" -> "m4.fd6b6fc9220b72d21683ae8e4f50a210_6" ; @@ -306,11 +306,11 @@ digraph iCFG { "m4.fd6b6fc9220b72d21683ae8e4f50a210_12" -> "m4.fd6b6fc9220b72d21683ae8e4f50a210_11" ; -"m4.fd6b6fc9220b72d21683ae8e4f50a210_13" [label="13: Prune (true branch) \n PRUNE(((n$0 == 1) != 0), true); [line 90]\n " shape="invhouse"] +"m4.fd6b6fc9220b72d21683ae8e4f50a210_13" [label="13: Prune (true branch) \n PRUNE((n$0 == 1), true); [line 90]\n " shape="invhouse"] "m4.fd6b6fc9220b72d21683ae8e4f50a210_13" -> "m4.fd6b6fc9220b72d21683ae8e4f50a210_12" ; -"m4.fd6b6fc9220b72d21683ae8e4f50a210_14" [label="14: Prune (false branch) \n PRUNE(((n$0 == 1) == 0), false); [line 90]\n " shape="invhouse"] +"m4.fd6b6fc9220b72d21683ae8e4f50a210_14" [label="14: Prune (false branch) \n PRUNE(!(n$0 == 1), false); [line 90]\n " shape="invhouse"] "m4.fd6b6fc9220b72d21683ae8e4f50a210_14" -> "m4.fd6b6fc9220b72d21683ae8e4f50a210_8" ; @@ -323,11 +323,11 @@ digraph iCFG { "m4.fd6b6fc9220b72d21683ae8e4f50a210_16" -> "m4.fd6b6fc9220b72d21683ae8e4f50a210_3" ; -"m4.fd6b6fc9220b72d21683ae8e4f50a210_17" [label="17: Prune (true branch) \n PRUNE(((n$0 == 0) != 0), true); [line 84]\n " shape="invhouse"] +"m4.fd6b6fc9220b72d21683ae8e4f50a210_17" [label="17: Prune (true branch) \n PRUNE((n$0 == 0), true); [line 84]\n " shape="invhouse"] "m4.fd6b6fc9220b72d21683ae8e4f50a210_17" -> "m4.fd6b6fc9220b72d21683ae8e4f50a210_16" ; -"m4.fd6b6fc9220b72d21683ae8e4f50a210_18" [label="18: Prune (false branch) \n PRUNE(((n$0 == 0) == 0), false); [line 84]\n " shape="invhouse"] +"m4.fd6b6fc9220b72d21683ae8e4f50a210_18" [label="18: Prune (false branch) \n PRUNE(!(n$0 == 0), false); [line 84]\n " shape="invhouse"] "m4.fd6b6fc9220b72d21683ae8e4f50a210_18" -> "m4.fd6b6fc9220b72d21683ae8e4f50a210_13" ; @@ -368,11 +368,11 @@ digraph iCFG { "m5.7b1f6dff14d8c2dfeb7da9487be0612d_5" -> "m5.7b1f6dff14d8c2dfeb7da9487be0612d_6" ; "m5.7b1f6dff14d8c2dfeb7da9487be0612d_5" -> "m5.7b1f6dff14d8c2dfeb7da9487be0612d_7" ; -"m5.7b1f6dff14d8c2dfeb7da9487be0612d_6" [label="6: Prune (true branch) \n PRUNE(((n$0 < 10) != 0), true); [line 105]\n " shape="invhouse"] +"m5.7b1f6dff14d8c2dfeb7da9487be0612d_6" [label="6: Prune (true branch) \n PRUNE((n$0 < 10), true); [line 105]\n " shape="invhouse"] "m5.7b1f6dff14d8c2dfeb7da9487be0612d_6" -> "m5.7b1f6dff14d8c2dfeb7da9487be0612d_8" ; -"m5.7b1f6dff14d8c2dfeb7da9487be0612d_7" [label="7: Prune (false branch) \n PRUNE(((n$0 < 10) == 0), false); [line 105]\n " shape="invhouse"] +"m5.7b1f6dff14d8c2dfeb7da9487be0612d_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 < 10), false); [line 105]\n " shape="invhouse"] "m5.7b1f6dff14d8c2dfeb7da9487be0612d_7" -> "m5.7b1f6dff14d8c2dfeb7da9487be0612d_3" ; @@ -385,11 +385,11 @@ digraph iCFG { "m5.7b1f6dff14d8c2dfeb7da9487be0612d_9" -> "m5.7b1f6dff14d8c2dfeb7da9487be0612d_4" ; -"m5.7b1f6dff14d8c2dfeb7da9487be0612d_10" [label="10: Prune (true branch) \n PRUNE(((n$1 == 0) != 0), true); [line 111]\n " shape="invhouse"] +"m5.7b1f6dff14d8c2dfeb7da9487be0612d_10" [label="10: Prune (true branch) \n PRUNE((n$1 == 0), true); [line 111]\n " shape="invhouse"] "m5.7b1f6dff14d8c2dfeb7da9487be0612d_10" -> "m5.7b1f6dff14d8c2dfeb7da9487be0612d_9" ; -"m5.7b1f6dff14d8c2dfeb7da9487be0612d_11" [label="11: Prune (false branch) \n PRUNE(((n$1 == 0) == 0), false); [line 111]\n " shape="invhouse"] +"m5.7b1f6dff14d8c2dfeb7da9487be0612d_11" [label="11: Prune (false branch) \n PRUNE(!(n$1 == 0), false); [line 111]\n " shape="invhouse"] "m5.7b1f6dff14d8c2dfeb7da9487be0612d_11" -> "m5.7b1f6dff14d8c2dfeb7da9487be0612d_4" ; @@ -429,11 +429,11 @@ digraph iCFG { "m6.36604411a85db2bd9e97e22bfb5b692d_5" -> "m6.36604411a85db2bd9e97e22bfb5b692d_6" ; "m6.36604411a85db2bd9e97e22bfb5b692d_5" -> "m6.36604411a85db2bd9e97e22bfb5b692d_7" ; -"m6.36604411a85db2bd9e97e22bfb5b692d_6" [label="6: Prune (true branch) \n PRUNE(((n$1 > 0) != 0), true); [line 121]\n " shape="invhouse"] +"m6.36604411a85db2bd9e97e22bfb5b692d_6" [label="6: Prune (true branch) \n PRUNE((n$1 > 0), true); [line 121]\n " shape="invhouse"] "m6.36604411a85db2bd9e97e22bfb5b692d_6" -> "m6.36604411a85db2bd9e97e22bfb5b692d_8" ; -"m6.36604411a85db2bd9e97e22bfb5b692d_7" [label="7: Prune (false branch) \n PRUNE(((n$1 > 0) == 0), false); [line 121]\n " shape="invhouse"] +"m6.36604411a85db2bd9e97e22bfb5b692d_7" [label="7: Prune (false branch) \n PRUNE(!(n$1 > 0), false); [line 121]\n " shape="invhouse"] "m6.36604411a85db2bd9e97e22bfb5b692d_7" -> "m6.36604411a85db2bd9e97e22bfb5b692d_9" ; @@ -450,19 +450,19 @@ digraph iCFG { "m6.36604411a85db2bd9e97e22bfb5b692d_10" -> "m6.36604411a85db2bd9e97e22bfb5b692d_21" ; "m6.36604411a85db2bd9e97e22bfb5b692d_10" -> "m6.36604411a85db2bd9e97e22bfb5b692d_22" ; -"m6.36604411a85db2bd9e97e22bfb5b692d_11" [label="11: Prune (true branch) \n PRUNE(((n$2 == 3) != 0), true); [line 131]\n " shape="invhouse"] +"m6.36604411a85db2bd9e97e22bfb5b692d_11" [label="11: Prune (true branch) \n PRUNE((n$2 == 3), true); [line 131]\n " shape="invhouse"] "m6.36604411a85db2bd9e97e22bfb5b692d_11" -> "m6.36604411a85db2bd9e97e22bfb5b692d_3" ; -"m6.36604411a85db2bd9e97e22bfb5b692d_12" [label="12: Prune (false branch) \n PRUNE(((n$2 == 3) == 0), false); [line 131]\n " shape="invhouse"] +"m6.36604411a85db2bd9e97e22bfb5b692d_12" [label="12: Prune (false branch) \n PRUNE(!(n$2 == 3), false); [line 131]\n " shape="invhouse"] "m6.36604411a85db2bd9e97e22bfb5b692d_12" -> "m6.36604411a85db2bd9e97e22bfb5b692d_3" ; -"m6.36604411a85db2bd9e97e22bfb5b692d_13" [label="13: Prune (true branch) \n PRUNE(((n$2 == 2) != 0), true); [line 130]\n " shape="invhouse"] +"m6.36604411a85db2bd9e97e22bfb5b692d_13" [label="13: Prune (true branch) \n PRUNE((n$2 == 2), true); [line 130]\n " shape="invhouse"] "m6.36604411a85db2bd9e97e22bfb5b692d_13" -> "m6.36604411a85db2bd9e97e22bfb5b692d_3" ; -"m6.36604411a85db2bd9e97e22bfb5b692d_14" [label="14: Prune (false branch) \n PRUNE(((n$2 == 2) == 0), false); [line 130]\n " shape="invhouse"] +"m6.36604411a85db2bd9e97e22bfb5b692d_14" [label="14: Prune (false branch) \n PRUNE(!(n$2 == 2), false); [line 130]\n " shape="invhouse"] "m6.36604411a85db2bd9e97e22bfb5b692d_14" -> "m6.36604411a85db2bd9e97e22bfb5b692d_11" ; @@ -479,11 +479,11 @@ digraph iCFG { "m6.36604411a85db2bd9e97e22bfb5b692d_17" -> "m6.36604411a85db2bd9e97e22bfb5b692d_16" ; -"m6.36604411a85db2bd9e97e22bfb5b692d_18" [label="18: Prune (true branch) \n PRUNE(((n$2 == 1) != 0), true); [line 125]\n " shape="invhouse"] +"m6.36604411a85db2bd9e97e22bfb5b692d_18" [label="18: Prune (true branch) \n PRUNE((n$2 == 1), true); [line 125]\n " shape="invhouse"] "m6.36604411a85db2bd9e97e22bfb5b692d_18" -> "m6.36604411a85db2bd9e97e22bfb5b692d_17" ; -"m6.36604411a85db2bd9e97e22bfb5b692d_19" [label="19: Prune (false branch) \n PRUNE(((n$2 == 1) == 0), false); [line 125]\n " shape="invhouse"] +"m6.36604411a85db2bd9e97e22bfb5b692d_19" [label="19: Prune (false branch) \n PRUNE(!(n$2 == 1), false); [line 125]\n " shape="invhouse"] "m6.36604411a85db2bd9e97e22bfb5b692d_19" -> "m6.36604411a85db2bd9e97e22bfb5b692d_13" ; @@ -492,11 +492,11 @@ digraph iCFG { "m6.36604411a85db2bd9e97e22bfb5b692d_20" -> "m6.36604411a85db2bd9e97e22bfb5b692d_3" ; -"m6.36604411a85db2bd9e97e22bfb5b692d_21" [label="21: Prune (true branch) \n PRUNE(((n$2 == 0) != 0), true); [line 122]\n " shape="invhouse"] +"m6.36604411a85db2bd9e97e22bfb5b692d_21" [label="21: Prune (true branch) \n PRUNE((n$2 == 0), true); [line 122]\n " shape="invhouse"] "m6.36604411a85db2bd9e97e22bfb5b692d_21" -> "m6.36604411a85db2bd9e97e22bfb5b692d_20" ; -"m6.36604411a85db2bd9e97e22bfb5b692d_22" [label="22: Prune (false branch) \n PRUNE(((n$2 == 0) == 0), false); [line 122]\n " shape="invhouse"] +"m6.36604411a85db2bd9e97e22bfb5b692d_22" [label="22: Prune (false branch) \n PRUNE(!(n$2 == 0), false); [line 122]\n " shape="invhouse"] "m6.36604411a85db2bd9e97e22bfb5b692d_22" -> "m6.36604411a85db2bd9e97e22bfb5b692d_18" ; @@ -532,19 +532,19 @@ digraph iCFG { "m7.0449904fbf32607bf8ce5c26823dbc29_4" -> "m7.0449904fbf32607bf8ce5c26823dbc29_15" ; "m7.0449904fbf32607bf8ce5c26823dbc29_4" -> "m7.0449904fbf32607bf8ce5c26823dbc29_16" ; -"m7.0449904fbf32607bf8ce5c26823dbc29_5" [label="5: Prune (true branch) \n PRUNE(((n$0 == 3) != 0), true); [line 151]\n " shape="invhouse"] +"m7.0449904fbf32607bf8ce5c26823dbc29_5" [label="5: Prune (true branch) \n PRUNE((n$0 == 3), true); [line 151]\n " shape="invhouse"] "m7.0449904fbf32607bf8ce5c26823dbc29_5" -> "m7.0449904fbf32607bf8ce5c26823dbc29_3" ; -"m7.0449904fbf32607bf8ce5c26823dbc29_6" [label="6: Prune (false branch) \n PRUNE(((n$0 == 3) == 0), false); [line 151]\n " shape="invhouse"] +"m7.0449904fbf32607bf8ce5c26823dbc29_6" [label="6: Prune (false branch) \n PRUNE(!(n$0 == 3), false); [line 151]\n " shape="invhouse"] "m7.0449904fbf32607bf8ce5c26823dbc29_6" -> "m7.0449904fbf32607bf8ce5c26823dbc29_3" ; -"m7.0449904fbf32607bf8ce5c26823dbc29_7" [label="7: Prune (true branch) \n PRUNE(((n$0 == 2) != 0), true); [line 150]\n " shape="invhouse"] +"m7.0449904fbf32607bf8ce5c26823dbc29_7" [label="7: Prune (true branch) \n PRUNE((n$0 == 2), true); [line 150]\n " shape="invhouse"] "m7.0449904fbf32607bf8ce5c26823dbc29_7" -> "m7.0449904fbf32607bf8ce5c26823dbc29_3" ; -"m7.0449904fbf32607bf8ce5c26823dbc29_8" [label="8: Prune (false branch) \n PRUNE(((n$0 == 2) == 0), false); [line 150]\n " shape="invhouse"] +"m7.0449904fbf32607bf8ce5c26823dbc29_8" [label="8: Prune (false branch) \n PRUNE(!(n$0 == 2), false); [line 150]\n " shape="invhouse"] "m7.0449904fbf32607bf8ce5c26823dbc29_8" -> "m7.0449904fbf32607bf8ce5c26823dbc29_5" ; @@ -561,11 +561,11 @@ digraph iCFG { "m7.0449904fbf32607bf8ce5c26823dbc29_11" -> "m7.0449904fbf32607bf8ce5c26823dbc29_10" ; -"m7.0449904fbf32607bf8ce5c26823dbc29_12" [label="12: Prune (true branch) \n PRUNE(((n$0 == 1) != 0), true); [line 145]\n " shape="invhouse"] +"m7.0449904fbf32607bf8ce5c26823dbc29_12" [label="12: Prune (true branch) \n PRUNE((n$0 == 1), true); [line 145]\n " shape="invhouse"] "m7.0449904fbf32607bf8ce5c26823dbc29_12" -> "m7.0449904fbf32607bf8ce5c26823dbc29_11" ; -"m7.0449904fbf32607bf8ce5c26823dbc29_13" [label="13: Prune (false branch) \n PRUNE(((n$0 == 1) == 0), false); [line 145]\n " shape="invhouse"] +"m7.0449904fbf32607bf8ce5c26823dbc29_13" [label="13: Prune (false branch) \n PRUNE(!(n$0 == 1), false); [line 145]\n " shape="invhouse"] "m7.0449904fbf32607bf8ce5c26823dbc29_13" -> "m7.0449904fbf32607bf8ce5c26823dbc29_7" ; @@ -574,11 +574,11 @@ digraph iCFG { "m7.0449904fbf32607bf8ce5c26823dbc29_14" -> "m7.0449904fbf32607bf8ce5c26823dbc29_3" ; -"m7.0449904fbf32607bf8ce5c26823dbc29_15" [label="15: Prune (true branch) \n PRUNE(((n$0 == 0) != 0), true); [line 142]\n " shape="invhouse"] +"m7.0449904fbf32607bf8ce5c26823dbc29_15" [label="15: Prune (true branch) \n PRUNE((n$0 == 0), true); [line 142]\n " shape="invhouse"] "m7.0449904fbf32607bf8ce5c26823dbc29_15" -> "m7.0449904fbf32607bf8ce5c26823dbc29_14" ; -"m7.0449904fbf32607bf8ce5c26823dbc29_16" [label="16: Prune (false branch) \n PRUNE(((n$0 == 0) == 0), false); [line 142]\n " shape="invhouse"] +"m7.0449904fbf32607bf8ce5c26823dbc29_16" [label="16: Prune (false branch) \n PRUNE(!(n$0 == 0), false); [line 142]\n " shape="invhouse"] "m7.0449904fbf32607bf8ce5c26823dbc29_16" -> "m7.0449904fbf32607bf8ce5c26823dbc29_12" ; @@ -607,11 +607,11 @@ digraph iCFG { "m8.980b79c2a71b9bcc117e08a990b5b332_5" -> "m8.980b79c2a71b9bcc117e08a990b5b332_6" ; "m8.980b79c2a71b9bcc117e08a990b5b332_5" -> "m8.980b79c2a71b9bcc117e08a990b5b332_7" ; -"m8.980b79c2a71b9bcc117e08a990b5b332_6" [label="6: Prune (true branch) \n PRUNE(((n$0 < 10) != 0), true); [line 159]\n " shape="invhouse"] +"m8.980b79c2a71b9bcc117e08a990b5b332_6" [label="6: Prune (true branch) \n PRUNE((n$0 < 10), true); [line 159]\n " shape="invhouse"] "m8.980b79c2a71b9bcc117e08a990b5b332_6" -> "m8.980b79c2a71b9bcc117e08a990b5b332_10" ; -"m8.980b79c2a71b9bcc117e08a990b5b332_7" [label="7: Prune (false branch) \n PRUNE(((n$0 < 10) == 0), false); [line 159]\n " shape="invhouse"] +"m8.980b79c2a71b9bcc117e08a990b5b332_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 < 10), false); [line 159]\n " shape="invhouse"] "m8.980b79c2a71b9bcc117e08a990b5b332_7" -> "m8.980b79c2a71b9bcc117e08a990b5b332_3" ; @@ -628,11 +628,11 @@ digraph iCFG { "m8.980b79c2a71b9bcc117e08a990b5b332_10" -> "m8.980b79c2a71b9bcc117e08a990b5b332_11" ; "m8.980b79c2a71b9bcc117e08a990b5b332_10" -> "m8.980b79c2a71b9bcc117e08a990b5b332_12" ; -"m8.980b79c2a71b9bcc117e08a990b5b332_11" [label="11: Prune (true branch) \n PRUNE(((n$2 == 0) != 0), true); [line 160]\n " shape="invhouse"] +"m8.980b79c2a71b9bcc117e08a990b5b332_11" [label="11: Prune (true branch) \n PRUNE((n$2 == 0), true); [line 160]\n " shape="invhouse"] "m8.980b79c2a71b9bcc117e08a990b5b332_11" -> "m8.980b79c2a71b9bcc117e08a990b5b332_13" ; -"m8.980b79c2a71b9bcc117e08a990b5b332_12" [label="12: Prune (false branch) \n PRUNE(((n$2 == 0) == 0), false); [line 160]\n " shape="invhouse"] +"m8.980b79c2a71b9bcc117e08a990b5b332_12" [label="12: Prune (false branch) \n PRUNE(!(n$2 == 0), false); [line 160]\n " shape="invhouse"] "m8.980b79c2a71b9bcc117e08a990b5b332_12" -> "m8.980b79c2a71b9bcc117e08a990b5b332_14" ; @@ -649,19 +649,19 @@ digraph iCFG { "m8.980b79c2a71b9bcc117e08a990b5b332_15" -> "m8.980b79c2a71b9bcc117e08a990b5b332_27" ; "m8.980b79c2a71b9bcc117e08a990b5b332_15" -> "m8.980b79c2a71b9bcc117e08a990b5b332_28" ; -"m8.980b79c2a71b9bcc117e08a990b5b332_16" [label="16: Prune (true branch) \n PRUNE(((n$3 == 3) != 0), true); [line 171]\n " shape="invhouse"] +"m8.980b79c2a71b9bcc117e08a990b5b332_16" [label="16: Prune (true branch) \n PRUNE((n$3 == 3), true); [line 171]\n " shape="invhouse"] "m8.980b79c2a71b9bcc117e08a990b5b332_16" -> "m8.980b79c2a71b9bcc117e08a990b5b332_8" ; -"m8.980b79c2a71b9bcc117e08a990b5b332_17" [label="17: Prune (false branch) \n PRUNE(((n$3 == 3) == 0), false); [line 171]\n " shape="invhouse"] +"m8.980b79c2a71b9bcc117e08a990b5b332_17" [label="17: Prune (false branch) \n PRUNE(!(n$3 == 3), false); [line 171]\n " shape="invhouse"] "m8.980b79c2a71b9bcc117e08a990b5b332_17" -> "m8.980b79c2a71b9bcc117e08a990b5b332_8" ; -"m8.980b79c2a71b9bcc117e08a990b5b332_18" [label="18: Prune (true branch) \n PRUNE(((n$3 == 2) != 0), true); [line 170]\n " shape="invhouse"] +"m8.980b79c2a71b9bcc117e08a990b5b332_18" [label="18: Prune (true branch) \n PRUNE((n$3 == 2), true); [line 170]\n " shape="invhouse"] "m8.980b79c2a71b9bcc117e08a990b5b332_18" -> "m8.980b79c2a71b9bcc117e08a990b5b332_8" ; -"m8.980b79c2a71b9bcc117e08a990b5b332_19" [label="19: Prune (false branch) \n PRUNE(((n$3 == 2) == 0), false); [line 170]\n " shape="invhouse"] +"m8.980b79c2a71b9bcc117e08a990b5b332_19" [label="19: Prune (false branch) \n PRUNE(!(n$3 == 2), false); [line 170]\n " shape="invhouse"] "m8.980b79c2a71b9bcc117e08a990b5b332_19" -> "m8.980b79c2a71b9bcc117e08a990b5b332_16" ; @@ -678,11 +678,11 @@ digraph iCFG { "m8.980b79c2a71b9bcc117e08a990b5b332_22" -> "m8.980b79c2a71b9bcc117e08a990b5b332_21" ; -"m8.980b79c2a71b9bcc117e08a990b5b332_23" [label="23: Prune (true branch) \n PRUNE(((n$3 == 1) != 0), true); [line 164]\n " shape="invhouse"] +"m8.980b79c2a71b9bcc117e08a990b5b332_23" [label="23: Prune (true branch) \n PRUNE((n$3 == 1), true); [line 164]\n " shape="invhouse"] "m8.980b79c2a71b9bcc117e08a990b5b332_23" -> "m8.980b79c2a71b9bcc117e08a990b5b332_22" ; -"m8.980b79c2a71b9bcc117e08a990b5b332_24" [label="24: Prune (false branch) \n PRUNE(((n$3 == 1) == 0), false); [line 164]\n " shape="invhouse"] +"m8.980b79c2a71b9bcc117e08a990b5b332_24" [label="24: Prune (false branch) \n PRUNE(!(n$3 == 1), false); [line 164]\n " shape="invhouse"] "m8.980b79c2a71b9bcc117e08a990b5b332_24" -> "m8.980b79c2a71b9bcc117e08a990b5b332_18" ; @@ -695,11 +695,11 @@ digraph iCFG { "m8.980b79c2a71b9bcc117e08a990b5b332_26" -> "m8.980b79c2a71b9bcc117e08a990b5b332_25" ; -"m8.980b79c2a71b9bcc117e08a990b5b332_27" [label="27: Prune (true branch) \n PRUNE(((n$3 == 0) != 0), true); [line 161]\n " shape="invhouse"] +"m8.980b79c2a71b9bcc117e08a990b5b332_27" [label="27: Prune (true branch) \n PRUNE((n$3 == 0), true); [line 161]\n " shape="invhouse"] "m8.980b79c2a71b9bcc117e08a990b5b332_27" -> "m8.980b79c2a71b9bcc117e08a990b5b332_26" ; -"m8.980b79c2a71b9bcc117e08a990b5b332_28" [label="28: Prune (false branch) \n PRUNE(((n$3 == 0) == 0), false); [line 161]\n " shape="invhouse"] +"m8.980b79c2a71b9bcc117e08a990b5b332_28" [label="28: Prune (false branch) \n PRUNE(!(n$3 == 0), false); [line 161]\n " shape="invhouse"] "m8.980b79c2a71b9bcc117e08a990b5b332_28" -> "m8.980b79c2a71b9bcc117e08a990b5b332_23" ; @@ -766,11 +766,11 @@ digraph iCFG { "m11.c4534fe0ca256b331e9a3f14fe17229d_5" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_6" ; "m11.c4534fe0ca256b331e9a3f14fe17229d_5" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_7" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_6" [label="6: Prune (true branch) \n PRUNE(((n$1 == 0) != 0), true); [line 193]\n " shape="invhouse"] +"m11.c4534fe0ca256b331e9a3f14fe17229d_6" [label="6: Prune (true branch) \n PRUNE((n$1 == 0), true); [line 193]\n " shape="invhouse"] "m11.c4534fe0ca256b331e9a3f14fe17229d_6" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_8" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_7" [label="7: Prune (false branch) \n PRUNE(((n$1 == 0) == 0), false); [line 193]\n " shape="invhouse"] +"m11.c4534fe0ca256b331e9a3f14fe17229d_7" [label="7: Prune (false branch) \n PRUNE(!(n$1 == 0), false); [line 193]\n " shape="invhouse"] "m11.c4534fe0ca256b331e9a3f14fe17229d_7" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_9" ; @@ -791,11 +791,11 @@ digraph iCFG { "m11.c4534fe0ca256b331e9a3f14fe17229d_11" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_3" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_12" [label="12: Prune (true branch) \n PRUNE(((n$3 == 0) != 0), true); [line 194]\n " shape="invhouse"] +"m11.c4534fe0ca256b331e9a3f14fe17229d_12" [label="12: Prune (true branch) \n PRUNE((n$3 == 0), true); [line 194]\n " shape="invhouse"] "m11.c4534fe0ca256b331e9a3f14fe17229d_12" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_11" ; -"m11.c4534fe0ca256b331e9a3f14fe17229d_13" [label="13: Prune (false branch) \n PRUNE(((n$3 == 0) == 0), false); [line 194]\n " shape="invhouse"] +"m11.c4534fe0ca256b331e9a3f14fe17229d_13" [label="13: Prune (false branch) \n PRUNE(!(n$3 == 0), false); [line 194]\n " shape="invhouse"] "m11.c4534fe0ca256b331e9a3f14fe17229d_13" -> "m11.c4534fe0ca256b331e9a3f14fe17229d_3" ; diff --git a/infer/tests/codetoanalyze/c/frontend/vaarg_expr/vaarg_expr.c.dot b/infer/tests/codetoanalyze/c/frontend/vaarg_expr/vaarg_expr.c.dot index 8e0b4c48d..11ccc711d 100644 --- a/infer/tests/codetoanalyze/c/frontend/vaarg_expr/vaarg_expr.c.dot +++ b/infer/tests/codetoanalyze/c/frontend/vaarg_expr/vaarg_expr.c.dot @@ -24,11 +24,11 @@ digraph iCFG { "vaarg_foo.73af1e8d32c2d09f7488c5fea173b853_6" -> "vaarg_foo.73af1e8d32c2d09f7488c5fea173b853_7" ; "vaarg_foo.73af1e8d32c2d09f7488c5fea173b853_6" -> "vaarg_foo.73af1e8d32c2d09f7488c5fea173b853_8" ; -"vaarg_foo.73af1e8d32c2d09f7488c5fea173b853_7" [label="7: Prune (true branch) \n PRUNE(((n$1 == 9) != 0), true); [line 17]\n " shape="invhouse"] +"vaarg_foo.73af1e8d32c2d09f7488c5fea173b853_7" [label="7: Prune (true branch) \n PRUNE((n$1 == 9), true); [line 17]\n " shape="invhouse"] "vaarg_foo.73af1e8d32c2d09f7488c5fea173b853_7" -> "vaarg_foo.73af1e8d32c2d09f7488c5fea173b853_9" ; -"vaarg_foo.73af1e8d32c2d09f7488c5fea173b853_8" [label="8: Prune (false branch) \n PRUNE(((n$1 == 9) == 0), false); [line 17]\n " shape="invhouse"] +"vaarg_foo.73af1e8d32c2d09f7488c5fea173b853_8" [label="8: Prune (false branch) \n PRUNE(!(n$1 == 9), false); [line 17]\n " shape="invhouse"] "vaarg_foo.73af1e8d32c2d09f7488c5fea173b853_8" -> "vaarg_foo.73af1e8d32c2d09f7488c5fea173b853_10" ; diff --git a/infer/tests/codetoanalyze/cpp/frontend/attributes/clang_fallthrough.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/attributes/clang_fallthrough.cpp.dot index 24769d40a..cd877b040 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/attributes/clang_fallthrough.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/attributes/clang_fallthrough.cpp.dot @@ -42,37 +42,37 @@ digraph iCFG { "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_5" -> "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_3" ; -"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_6" [label="6: Prune (true branch) \n PRUNE(((n$1 == 77) != 0), true); [line 20]\n " shape="invhouse"] +"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_6" [label="6: Prune (true branch) \n PRUNE((n$1 == 77), true); [line 20]\n " shape="invhouse"] "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_6" -> "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_5" ; -"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_7" [label="7: Prune (false branch) \n PRUNE(((n$1 == 77) == 0), false); [line 20]\n " shape="invhouse"] +"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_7" [label="7: Prune (false branch) \n PRUNE(!(n$1 == 77), false); [line 20]\n " shape="invhouse"] "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_7" -> "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_3" ; -"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_8" [label="8: Prune (true branch) \n PRUNE(((n$1 == 66) != 0), true); [line 18]\n " shape="invhouse"] +"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_8" [label="8: Prune (true branch) \n PRUNE((n$1 == 66), true); [line 18]\n " shape="invhouse"] "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_8" -> "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_5" ; -"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_9" [label="9: Prune (false branch) \n PRUNE(((n$1 == 66) == 0), false); [line 18]\n " shape="invhouse"] +"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_9" [label="9: Prune (false branch) \n PRUNE(!(n$1 == 66), false); [line 18]\n " shape="invhouse"] "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_9" -> "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_6" ; "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_9" -> "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_7" ; -"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_10" [label="10: Prune (true branch) \n PRUNE(((n$1 == 33) != 0), true); [line 16]\n " shape="invhouse"] +"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_10" [label="10: Prune (true branch) \n PRUNE((n$1 == 33), true); [line 16]\n " shape="invhouse"] "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_10" -> "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_5" ; -"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_11" [label="11: Prune (false branch) \n PRUNE(((n$1 == 33) == 0), false); [line 16]\n " shape="invhouse"] +"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_11" [label="11: Prune (false branch) \n PRUNE(!(n$1 == 33), false); [line 16]\n " shape="invhouse"] "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_11" -> "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_8" ; "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_11" -> "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_9" ; -"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_12" [label="12: Prune (true branch) \n PRUNE(((n$1 == 22) != 0), true); [line 15]\n " shape="invhouse"] +"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_12" [label="12: Prune (true branch) \n PRUNE((n$1 == 22), true); [line 15]\n " shape="invhouse"] "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_12" -> "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_5" ; -"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_13" [label="13: Prune (false branch) \n PRUNE(((n$1 == 22) == 0), false); [line 15]\n " shape="invhouse"] +"switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_13" [label="13: Prune (false branch) \n PRUNE(!(n$1 == 22), false); [line 15]\n " shape="invhouse"] "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_13" -> "switch_with_fallthrough#_Z23switch_with_fallthroughi.a8428fe9fad520407badf5284d08e756_10" ; diff --git a/infer/tests/codetoanalyze/cpp/frontend/destructors/break_scope.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/destructors/break_scope.cpp.dot index 52b63405c..845a4e52b 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/destructors/break_scope.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/destructors/break_scope.cpp.dot @@ -16,12 +16,12 @@ digraph iCFG { "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_4" -> "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_5" ; "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_4" -> "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_6" ; -"test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_5" [label="5: Prune (true branch) \n n$1=*&a:_Bool [line 70]\n PRUNE((n$1 != 0), true); [line 70]\n " shape="invhouse"] +"test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_5" [label="5: Prune (true branch) \n n$1=*&a:_Bool [line 70]\n PRUNE(n$1, true); [line 70]\n " shape="invhouse"] "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_5" -> "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_8" ; "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_5" -> "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_9" ; -"test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_6" [label="6: Prune (false branch) \n n$1=*&a:_Bool [line 70]\n PRUNE((n$1 == 0), false); [line 70]\n " shape="invhouse"] +"test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_6" [label="6: Prune (false branch) \n n$1=*&a:_Bool [line 70]\n PRUNE(!n$1, false); [line 70]\n " shape="invhouse"] "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_6" -> "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_3" ; @@ -29,11 +29,11 @@ digraph iCFG { "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_7" -> "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_4" ; -"test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_8" [label="8: Prune (true branch) \n n$2=*&b:_Bool [line 71]\n PRUNE((n$2 != 0), true); [line 71]\n " shape="invhouse"] +"test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_8" [label="8: Prune (true branch) \n n$2=*&b:_Bool [line 71]\n PRUNE(n$2, true); [line 71]\n " shape="invhouse"] "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_8" -> "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_12" ; -"test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_9" [label="9: Prune (false branch) \n n$2=*&b:_Bool [line 71]\n PRUNE((n$2 == 0), false); [line 71]\n " shape="invhouse"] +"test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_9" [label="9: Prune (false branch) \n n$2=*&b:_Bool [line 71]\n PRUNE(!n$2, false); [line 71]\n " shape="invhouse"] "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_9" -> "test_while1#break_scope#_ZN11break_scope11test_while1Ebb.87234e85e70cb0cc1aa3913b17181871_14" ; @@ -76,11 +76,11 @@ digraph iCFG { "test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_4" -> "test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_16" ; -"test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_5" [label="5: Prune (true branch) \n n$1=*&a:_Bool [line 90]\n PRUNE((n$1 != 0), true); [line 90]\n " shape="invhouse"] +"test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_5" [label="5: Prune (true branch) \n n$1=*&a:_Bool [line 90]\n PRUNE(n$1, true); [line 90]\n " shape="invhouse"] "test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_5" -> "test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_4" ; -"test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_6" [label="6: Prune (false branch) \n n$1=*&a:_Bool [line 90]\n PRUNE((n$1 == 0), false); [line 90]\n " shape="invhouse"] +"test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_6" [label="6: Prune (false branch) \n n$1=*&a:_Bool [line 90]\n PRUNE(!n$1, false); [line 90]\n " shape="invhouse"] "test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_6" -> "test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_3" ; @@ -93,11 +93,11 @@ digraph iCFG { "test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_8" -> "test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_7" ; -"test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_9" [label="9: Prune (true branch) \n n$3=*&b:_Bool [line 84]\n PRUNE((n$3 != 0), true); [line 84]\n " shape="invhouse"] +"test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_9" [label="9: Prune (true branch) \n n$3=*&b:_Bool [line 84]\n PRUNE(n$3, true); [line 84]\n " shape="invhouse"] "test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_9" -> "test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_13" ; -"test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_10" [label="10: Prune (false branch) \n n$3=*&b:_Bool [line 84]\n PRUNE((n$3 == 0), false); [line 84]\n " shape="invhouse"] +"test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_10" [label="10: Prune (false branch) \n n$3=*&b:_Bool [line 84]\n PRUNE(!n$3, false); [line 84]\n " shape="invhouse"] "test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_10" -> "test_do_while#break_scope#_ZN11break_scope13test_do_whileEbb.ac867a723153cd864495ab1a123b5fbf_15" ; @@ -146,11 +146,11 @@ digraph iCFG { "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_4" -> "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_5" ; "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_4" -> "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_6" ; -"test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_5" [label="5: Prune (true branch) \n n$1=*&a:_Bool [line 95]\n PRUNE((n$1 != 0), true); [line 95]\n " shape="invhouse"] +"test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_5" [label="5: Prune (true branch) \n n$1=*&a:_Bool [line 95]\n PRUNE(n$1, true); [line 95]\n " shape="invhouse"] "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_5" -> "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_14" ; -"test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_6" [label="6: Prune (false branch) \n n$1=*&a:_Bool [line 95]\n PRUNE((n$1 == 0), false); [line 95]\n " shape="invhouse"] +"test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_6" [label="6: Prune (false branch) \n n$1=*&a:_Bool [line 95]\n PRUNE(!n$1, false); [line 95]\n " shape="invhouse"] "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_6" -> "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_3" ; @@ -163,11 +163,11 @@ digraph iCFG { "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_8" -> "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_9" ; "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_8" -> "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_10" ; -"test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_9" [label="9: Prune (true branch) \n n$3=*&b:_Bool [line 97]\n PRUNE((n$3 != 0), true); [line 97]\n " shape="invhouse"] +"test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_9" [label="9: Prune (true branch) \n n$3=*&b:_Bool [line 97]\n PRUNE(n$3, true); [line 97]\n " shape="invhouse"] "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_9" -> "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_13" ; -"test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_10" [label="10: Prune (false branch) \n n$3=*&b:_Bool [line 97]\n PRUNE((n$3 == 0), false); [line 97]\n " shape="invhouse"] +"test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_10" [label="10: Prune (false branch) \n n$3=*&b:_Bool [line 97]\n PRUNE(!n$3, false); [line 97]\n " shape="invhouse"] "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_10" -> "test_while2#break_scope#_ZN11break_scope11test_while2Ebb.93a3742c6f6f3cb77337b80b2e23fbaa_7" ; @@ -211,11 +211,11 @@ digraph iCFG { "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_5" -> "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_6" ; "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_5" -> "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_7" ; -"test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_6" [label="6: Prune (true branch) \n n$2=*&a:_Bool [line 106]\n PRUNE((n$2 != 0), true); [line 106]\n " shape="invhouse"] +"test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_6" [label="6: Prune (true branch) \n n$2=*&a:_Bool [line 106]\n PRUNE(n$2, true); [line 106]\n " shape="invhouse"] "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_6" -> "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_12" ; -"test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_7" [label="7: Prune (false branch) \n n$2=*&a:_Bool [line 106]\n PRUNE((n$2 == 0), false); [line 106]\n " shape="invhouse"] +"test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_7" [label="7: Prune (false branch) \n n$2=*&a:_Bool [line 106]\n PRUNE(!n$2, false); [line 106]\n " shape="invhouse"] "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_7" -> "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_4" ; @@ -228,11 +228,11 @@ digraph iCFG { "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_9" -> "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_10" ; "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_9" -> "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_11" ; -"test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_10" [label="10: Prune (true branch) \n n$4=*&b:_Bool [line 108]\n PRUNE((n$4 != 0), true); [line 108]\n " shape="invhouse"] +"test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_10" [label="10: Prune (true branch) \n n$4=*&b:_Bool [line 108]\n PRUNE(n$4, true); [line 108]\n " shape="invhouse"] "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_10" -> "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_8" ; -"test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_11" [label="11: Prune (false branch) \n n$4=*&b:_Bool [line 108]\n PRUNE((n$4 == 0), false); [line 108]\n " shape="invhouse"] +"test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_11" [label="11: Prune (false branch) \n n$4=*&b:_Bool [line 108]\n PRUNE(!n$4, false); [line 108]\n " shape="invhouse"] "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_11" -> "test_while3#break_scope#_ZN11break_scope11test_while3Ebb.816f0f6b0e9672402973ccf27843e9f2_8" ; @@ -276,11 +276,11 @@ digraph iCFG { "test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_8" -> "test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_9" ; "test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_8" -> "test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_10" ; -"test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_9" [label="9: Prune (true branch) \n PRUNE((n$12 != 0), true); [line 49]\n " shape="invhouse"] +"test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_9" [label="9: Prune (true branch) \n PRUNE(n$12, true); [line 49]\n " shape="invhouse"] "test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_9" -> "test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_17" ; -"test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_10" [label="10: Prune (false branch) \n PRUNE((n$12 == 0), false); [line 49]\n " shape="invhouse"] +"test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_10" [label="10: Prune (false branch) \n PRUNE(!n$12, false); [line 49]\n " shape="invhouse"] "test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_10" -> "test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_3" ; @@ -288,11 +288,11 @@ digraph iCFG { "test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_11" -> "test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_7" ; -"test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_12" [label="12: Prune (true branch) \n n$13=*&b:_Bool [line 50]\n PRUNE((n$13 != 0), true); [line 50]\n " shape="invhouse"] +"test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_12" [label="12: Prune (true branch) \n n$13=*&b:_Bool [line 50]\n PRUNE(n$13, true); [line 50]\n " shape="invhouse"] "test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_12" -> "test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_16" ; -"test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_13" [label="13: Prune (false branch) \n n$13=*&b:_Bool [line 50]\n PRUNE((n$13 == 0), false); [line 50]\n " shape="invhouse"] +"test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_13" [label="13: Prune (false branch) \n n$13=*&b:_Bool [line 50]\n PRUNE(!n$13, false); [line 50]\n " shape="invhouse"] "test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_13" -> "test_for_range#break_scope#_ZN11break_scope14test_for_rangeEb.a82df87d502190ce4b0145f61f38178e_11" ; @@ -357,12 +357,12 @@ digraph iCFG { "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_8" -> "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_9" ; "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_8" -> "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_10" ; -"test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_9" [label="9: Prune (true branch) \n PRUNE((n$10 != 0), true); [line 59]\n " shape="invhouse"] +"test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_9" [label="9: Prune (true branch) \n PRUNE(n$10, true); [line 59]\n " shape="invhouse"] "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_9" -> "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_12" ; "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_9" -> "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_13" ; -"test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_10" [label="10: Prune (false branch) \n PRUNE((n$10 == 0), false); [line 59]\n " shape="invhouse"] +"test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_10" [label="10: Prune (false branch) \n PRUNE(!n$10, false); [line 59]\n " shape="invhouse"] "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_10" -> "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_4" ; @@ -370,11 +370,11 @@ digraph iCFG { "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_11" -> "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_7" ; -"test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_12" [label="12: Prune (true branch) \n n$11=*&b:_Bool [line 60]\n PRUNE((n$11 != 0), true); [line 60]\n " shape="invhouse"] +"test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_12" [label="12: Prune (true branch) \n n$11=*&b:_Bool [line 60]\n PRUNE(n$11, true); [line 60]\n " shape="invhouse"] "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_12" -> "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_16" ; -"test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_13" [label="13: Prune (false branch) \n n$11=*&b:_Bool [line 60]\n PRUNE((n$11 == 0), false); [line 60]\n " shape="invhouse"] +"test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_13" [label="13: Prune (false branch) \n n$11=*&b:_Bool [line 60]\n PRUNE(!n$11, false); [line 60]\n " shape="invhouse"] "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_13" -> "test_for#break_scope#_ZN11break_scope8test_forEb.48a8fc76815c8ffdf17a13ca35665eab_11" ; @@ -422,11 +422,11 @@ digraph iCFG { "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_7" -> "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_6" ; -"test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_8" [label="8: Prune (true branch) \n PRUNE(((n$2 == 3) != 0), true); [line 125]\n " shape="invhouse"] +"test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_8" [label="8: Prune (true branch) \n PRUNE((n$2 == 3), true); [line 125]\n " shape="invhouse"] "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_8" -> "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_7" ; -"test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_9" [label="9: Prune (false branch) \n PRUNE(((n$2 == 3) == 0), false); [line 125]\n " shape="invhouse"] +"test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_9" [label="9: Prune (false branch) \n PRUNE(!(n$2 == 3), false); [line 125]\n " shape="invhouse"] "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_9" -> "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_4" ; @@ -442,11 +442,11 @@ digraph iCFG { "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_12" -> "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_11" ; -"test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_13" [label="13: Prune (true branch) \n PRUNE(((n$2 == 2) != 0), true); [line 121]\n " shape="invhouse"] +"test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_13" [label="13: Prune (true branch) \n PRUNE((n$2 == 2), true); [line 121]\n " shape="invhouse"] "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_13" -> "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_12" ; -"test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_14" [label="14: Prune (false branch) \n PRUNE(((n$2 == 2) == 0), false); [line 121]\n " shape="invhouse"] +"test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_14" [label="14: Prune (false branch) \n PRUNE(!(n$2 == 2), false); [line 121]\n " shape="invhouse"] "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_14" -> "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_8" ; @@ -459,11 +459,11 @@ digraph iCFG { "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_16" -> "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_15" ; -"test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_17" [label="17: Prune (true branch) \n PRUNE(((n$2 == 1) != 0), true); [line 118]\n " shape="invhouse"] +"test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_17" [label="17: Prune (true branch) \n PRUNE((n$2 == 1), true); [line 118]\n " shape="invhouse"] "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_17" -> "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_16" ; -"test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_18" [label="18: Prune (false branch) \n PRUNE(((n$2 == 1) == 0), false); [line 118]\n " shape="invhouse"] +"test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_18" [label="18: Prune (false branch) \n PRUNE(!(n$2 == 1), false); [line 118]\n " shape="invhouse"] "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_18" -> "test_switch#break_scope#_ZN11break_scope11test_switchEi.ba6acc7c74c8feaa80e2cb25d3074678_13" ; @@ -576,11 +576,11 @@ digraph iCFG { "operator!=#iterator#break_scope#(_ZN11break_scope8iteratorneERKS0_).f09ab1c2847188a3508d156b5037e2e3_4" -> "operator!=#iterator#break_scope#(_ZN11break_scope8iteratorneERKS0_).f09ab1c2847188a3508d156b5037e2e3_5" ; "operator!=#iterator#break_scope#(_ZN11break_scope8iteratorneERKS0_).f09ab1c2847188a3508d156b5037e2e3_4" -> "operator!=#iterator#break_scope#(_ZN11break_scope8iteratorneERKS0_).f09ab1c2847188a3508d156b5037e2e3_6" ; -"operator!=#iterator#break_scope#(_ZN11break_scope8iteratorneERKS0_).f09ab1c2847188a3508d156b5037e2e3_5" [label="5: Prune (true branch) \n PRUNE(((n$2 != n$4) != 0), true); [line 29]\n " shape="invhouse"] +"operator!=#iterator#break_scope#(_ZN11break_scope8iteratorneERKS0_).f09ab1c2847188a3508d156b5037e2e3_5" [label="5: Prune (true branch) \n PRUNE((n$2 != n$4), true); [line 29]\n " shape="invhouse"] "operator!=#iterator#break_scope#(_ZN11break_scope8iteratorneERKS0_).f09ab1c2847188a3508d156b5037e2e3_5" -> "operator!=#iterator#break_scope#(_ZN11break_scope8iteratorneERKS0_).f09ab1c2847188a3508d156b5037e2e3_7" ; -"operator!=#iterator#break_scope#(_ZN11break_scope8iteratorneERKS0_).f09ab1c2847188a3508d156b5037e2e3_6" [label="6: Prune (false branch) \n PRUNE(((n$2 != n$4) == 0), false); [line 29]\n " shape="invhouse"] +"operator!=#iterator#break_scope#(_ZN11break_scope8iteratorneERKS0_).f09ab1c2847188a3508d156b5037e2e3_6" [label="6: Prune (false branch) \n PRUNE(!(n$2 != n$4), false); [line 29]\n " shape="invhouse"] "operator!=#iterator#break_scope#(_ZN11break_scope8iteratorneERKS0_).f09ab1c2847188a3508d156b5037e2e3_6" -> "operator!=#iterator#break_scope#(_ZN11break_scope8iteratorneERKS0_).f09ab1c2847188a3508d156b5037e2e3_8" ; diff --git a/infer/tests/codetoanalyze/cpp/frontend/destructors/continue_scope.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/destructors/continue_scope.cpp.dot index e1c3b8bf9..a230934d2 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/destructors/continue_scope.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/destructors/continue_scope.cpp.dot @@ -16,12 +16,12 @@ digraph iCFG { "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_4" -> "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_5" ; "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_4" -> "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_6" ; -"test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_5" [label="5: Prune (true branch) \n n$1=*&a:_Bool [line 70]\n PRUNE((n$1 != 0), true); [line 70]\n " shape="invhouse"] +"test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_5" [label="5: Prune (true branch) \n n$1=*&a:_Bool [line 70]\n PRUNE(n$1, true); [line 70]\n " shape="invhouse"] "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_5" -> "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_8" ; "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_5" -> "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_9" ; -"test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_6" [label="6: Prune (false branch) \n n$1=*&a:_Bool [line 70]\n PRUNE((n$1 == 0), false); [line 70]\n " shape="invhouse"] +"test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_6" [label="6: Prune (false branch) \n n$1=*&a:_Bool [line 70]\n PRUNE(!n$1, false); [line 70]\n " shape="invhouse"] "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_6" -> "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_3" ; @@ -29,11 +29,11 @@ digraph iCFG { "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_7" -> "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_4" ; -"test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_8" [label="8: Prune (true branch) \n n$2=*&b:_Bool [line 71]\n PRUNE((n$2 != 0), true); [line 71]\n " shape="invhouse"] +"test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_8" [label="8: Prune (true branch) \n n$2=*&b:_Bool [line 71]\n PRUNE(n$2, true); [line 71]\n " shape="invhouse"] "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_8" -> "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_12" ; -"test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_9" [label="9: Prune (false branch) \n n$2=*&b:_Bool [line 71]\n PRUNE((n$2 == 0), false); [line 71]\n " shape="invhouse"] +"test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_9" [label="9: Prune (false branch) \n n$2=*&b:_Bool [line 71]\n PRUNE(!n$2, false); [line 71]\n " shape="invhouse"] "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_9" -> "test_while1#continue_scope#_ZN14continue_scope11test_while1Ebb.2647248dd2590100c84021825adda28b_14" ; @@ -76,11 +76,11 @@ digraph iCFG { "test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_4" -> "test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_16" ; -"test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_5" [label="5: Prune (true branch) \n n$1=*&a:_Bool [line 90]\n PRUNE((n$1 != 0), true); [line 90]\n " shape="invhouse"] +"test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_5" [label="5: Prune (true branch) \n n$1=*&a:_Bool [line 90]\n PRUNE(n$1, true); [line 90]\n " shape="invhouse"] "test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_5" -> "test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_4" ; -"test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_6" [label="6: Prune (false branch) \n n$1=*&a:_Bool [line 90]\n PRUNE((n$1 == 0), false); [line 90]\n " shape="invhouse"] +"test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_6" [label="6: Prune (false branch) \n n$1=*&a:_Bool [line 90]\n PRUNE(!n$1, false); [line 90]\n " shape="invhouse"] "test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_6" -> "test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_3" ; @@ -93,11 +93,11 @@ digraph iCFG { "test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_8" -> "test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_7" ; -"test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_9" [label="9: Prune (true branch) \n n$3=*&b:_Bool [line 84]\n PRUNE((n$3 != 0), true); [line 84]\n " shape="invhouse"] +"test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_9" [label="9: Prune (true branch) \n n$3=*&b:_Bool [line 84]\n PRUNE(n$3, true); [line 84]\n " shape="invhouse"] "test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_9" -> "test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_13" ; -"test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_10" [label="10: Prune (false branch) \n n$3=*&b:_Bool [line 84]\n PRUNE((n$3 == 0), false); [line 84]\n " shape="invhouse"] +"test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_10" [label="10: Prune (false branch) \n n$3=*&b:_Bool [line 84]\n PRUNE(!n$3, false); [line 84]\n " shape="invhouse"] "test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_10" -> "test_do_while#continue_scope#_ZN14continue_scope13test_do_whileEbb.35f8514137abd3d6c6866635aecc2664_15" ; @@ -147,11 +147,11 @@ digraph iCFG { "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_4" -> "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_5" ; "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_4" -> "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_6" ; -"test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_5" [label="5: Prune (true branch) \n n$1=*&a:_Bool [line 95]\n PRUNE((n$1 != 0), true); [line 95]\n " shape="invhouse"] +"test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_5" [label="5: Prune (true branch) \n n$1=*&a:_Bool [line 95]\n PRUNE(n$1, true); [line 95]\n " shape="invhouse"] "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_5" -> "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_14" ; -"test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_6" [label="6: Prune (false branch) \n n$1=*&a:_Bool [line 95]\n PRUNE((n$1 == 0), false); [line 95]\n " shape="invhouse"] +"test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_6" [label="6: Prune (false branch) \n n$1=*&a:_Bool [line 95]\n PRUNE(!n$1, false); [line 95]\n " shape="invhouse"] "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_6" -> "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_3" ; @@ -164,11 +164,11 @@ digraph iCFG { "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_8" -> "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_9" ; "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_8" -> "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_10" ; -"test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_9" [label="9: Prune (true branch) \n n$3=*&b:_Bool [line 97]\n PRUNE((n$3 != 0), true); [line 97]\n " shape="invhouse"] +"test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_9" [label="9: Prune (true branch) \n n$3=*&b:_Bool [line 97]\n PRUNE(n$3, true); [line 97]\n " shape="invhouse"] "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_9" -> "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_13" ; -"test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_10" [label="10: Prune (false branch) \n n$3=*&b:_Bool [line 97]\n PRUNE((n$3 == 0), false); [line 97]\n " shape="invhouse"] +"test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_10" [label="10: Prune (false branch) \n n$3=*&b:_Bool [line 97]\n PRUNE(!n$3, false); [line 97]\n " shape="invhouse"] "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_10" -> "test_while2#continue_scope#_ZN14continue_scope11test_while2Ebb.6e275b014a6a7ad01c7f8528e642344c_7" ; @@ -212,11 +212,11 @@ digraph iCFG { "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_5" -> "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_6" ; "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_5" -> "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_7" ; -"test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_6" [label="6: Prune (true branch) \n n$2=*&a:_Bool [line 106]\n PRUNE((n$2 != 0), true); [line 106]\n " shape="invhouse"] +"test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_6" [label="6: Prune (true branch) \n n$2=*&a:_Bool [line 106]\n PRUNE(n$2, true); [line 106]\n " shape="invhouse"] "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_6" -> "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_12" ; -"test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_7" [label="7: Prune (false branch) \n n$2=*&a:_Bool [line 106]\n PRUNE((n$2 == 0), false); [line 106]\n " shape="invhouse"] +"test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_7" [label="7: Prune (false branch) \n n$2=*&a:_Bool [line 106]\n PRUNE(!n$2, false); [line 106]\n " shape="invhouse"] "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_7" -> "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_4" ; @@ -229,11 +229,11 @@ digraph iCFG { "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_9" -> "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_10" ; "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_9" -> "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_11" ; -"test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_10" [label="10: Prune (true branch) \n n$4=*&b:_Bool [line 108]\n PRUNE((n$4 != 0), true); [line 108]\n " shape="invhouse"] +"test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_10" [label="10: Prune (true branch) \n n$4=*&b:_Bool [line 108]\n PRUNE(n$4, true); [line 108]\n " shape="invhouse"] "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_10" -> "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_9" ; -"test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_11" [label="11: Prune (false branch) \n n$4=*&b:_Bool [line 108]\n PRUNE((n$4 == 0), false); [line 108]\n " shape="invhouse"] +"test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_11" [label="11: Prune (false branch) \n n$4=*&b:_Bool [line 108]\n PRUNE(!n$4, false); [line 108]\n " shape="invhouse"] "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_11" -> "test_while3#continue_scope#_ZN14continue_scope11test_while3Ebb.8fe4f14b4af2e5252251447ae4a01693_8" ; @@ -277,11 +277,11 @@ digraph iCFG { "test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_8" -> "test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_9" ; "test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_8" -> "test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_10" ; -"test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_9" [label="9: Prune (true branch) \n PRUNE((n$12 != 0), true); [line 49]\n " shape="invhouse"] +"test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_9" [label="9: Prune (true branch) \n PRUNE(n$12, true); [line 49]\n " shape="invhouse"] "test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_9" -> "test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_17" ; -"test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_10" [label="10: Prune (false branch) \n PRUNE((n$12 == 0), false); [line 49]\n " shape="invhouse"] +"test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_10" [label="10: Prune (false branch) \n PRUNE(!n$12, false); [line 49]\n " shape="invhouse"] "test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_10" -> "test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_3" ; @@ -289,11 +289,11 @@ digraph iCFG { "test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_11" -> "test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_7" ; -"test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_12" [label="12: Prune (true branch) \n n$13=*&b:_Bool [line 50]\n PRUNE((n$13 != 0), true); [line 50]\n " shape="invhouse"] +"test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_12" [label="12: Prune (true branch) \n n$13=*&b:_Bool [line 50]\n PRUNE(n$13, true); [line 50]\n " shape="invhouse"] "test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_12" -> "test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_16" ; -"test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_13" [label="13: Prune (false branch) \n n$13=*&b:_Bool [line 50]\n PRUNE((n$13 == 0), false); [line 50]\n " shape="invhouse"] +"test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_13" [label="13: Prune (false branch) \n n$13=*&b:_Bool [line 50]\n PRUNE(!n$13, false); [line 50]\n " shape="invhouse"] "test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_13" -> "test_for_range#continue_scope#_ZN14continue_scope14test_for_rangeEb.e3d99059447506eff642a176aeb89ab7_11" ; @@ -358,12 +358,12 @@ digraph iCFG { "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_8" -> "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_9" ; "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_8" -> "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_10" ; -"test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_9" [label="9: Prune (true branch) \n PRUNE((n$10 != 0), true); [line 59]\n " shape="invhouse"] +"test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_9" [label="9: Prune (true branch) \n PRUNE(n$10, true); [line 59]\n " shape="invhouse"] "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_9" -> "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_12" ; "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_9" -> "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_13" ; -"test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_10" [label="10: Prune (false branch) \n PRUNE((n$10 == 0), false); [line 59]\n " shape="invhouse"] +"test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_10" [label="10: Prune (false branch) \n PRUNE(!n$10, false); [line 59]\n " shape="invhouse"] "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_10" -> "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_4" ; @@ -371,11 +371,11 @@ digraph iCFG { "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_11" -> "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_7" ; -"test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_12" [label="12: Prune (true branch) \n n$11=*&b:_Bool [line 60]\n PRUNE((n$11 != 0), true); [line 60]\n " shape="invhouse"] +"test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_12" [label="12: Prune (true branch) \n n$11=*&b:_Bool [line 60]\n PRUNE(n$11, true); [line 60]\n " shape="invhouse"] "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_12" -> "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_16" ; -"test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_13" [label="13: Prune (false branch) \n n$11=*&b:_Bool [line 60]\n PRUNE((n$11 == 0), false); [line 60]\n " shape="invhouse"] +"test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_13" [label="13: Prune (false branch) \n n$11=*&b:_Bool [line 60]\n PRUNE(!n$11, false); [line 60]\n " shape="invhouse"] "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_13" -> "test_for#continue_scope#_ZN14continue_scope8test_forEb.1f488ff50039e18100dde661db9984b5_11" ; @@ -499,11 +499,11 @@ digraph iCFG { "operator!=#iterator#continue_scope#(_ZN14continue_scope8iteratorneERKS0_).1a8ac8e892f06e2dc2215bfba7c3a3f6_4" -> "operator!=#iterator#continue_scope#(_ZN14continue_scope8iteratorneERKS0_).1a8ac8e892f06e2dc2215bfba7c3a3f6_5" ; "operator!=#iterator#continue_scope#(_ZN14continue_scope8iteratorneERKS0_).1a8ac8e892f06e2dc2215bfba7c3a3f6_4" -> "operator!=#iterator#continue_scope#(_ZN14continue_scope8iteratorneERKS0_).1a8ac8e892f06e2dc2215bfba7c3a3f6_6" ; -"operator!=#iterator#continue_scope#(_ZN14continue_scope8iteratorneERKS0_).1a8ac8e892f06e2dc2215bfba7c3a3f6_5" [label="5: Prune (true branch) \n PRUNE(((n$2 != n$4) != 0), true); [line 29]\n " shape="invhouse"] +"operator!=#iterator#continue_scope#(_ZN14continue_scope8iteratorneERKS0_).1a8ac8e892f06e2dc2215bfba7c3a3f6_5" [label="5: Prune (true branch) \n PRUNE((n$2 != n$4), true); [line 29]\n " shape="invhouse"] "operator!=#iterator#continue_scope#(_ZN14continue_scope8iteratorneERKS0_).1a8ac8e892f06e2dc2215bfba7c3a3f6_5" -> "operator!=#iterator#continue_scope#(_ZN14continue_scope8iteratorneERKS0_).1a8ac8e892f06e2dc2215bfba7c3a3f6_7" ; -"operator!=#iterator#continue_scope#(_ZN14continue_scope8iteratorneERKS0_).1a8ac8e892f06e2dc2215bfba7c3a3f6_6" [label="6: Prune (false branch) \n PRUNE(((n$2 != n$4) == 0), false); [line 29]\n " shape="invhouse"] +"operator!=#iterator#continue_scope#(_ZN14continue_scope8iteratorneERKS0_).1a8ac8e892f06e2dc2215bfba7c3a3f6_6" [label="6: Prune (false branch) \n PRUNE(!(n$2 != n$4), false); [line 29]\n " shape="invhouse"] "operator!=#iterator#continue_scope#(_ZN14continue_scope8iteratorneERKS0_).1a8ac8e892f06e2dc2215bfba7c3a3f6_6" -> "operator!=#iterator#continue_scope#(_ZN14continue_scope8iteratorneERKS0_).1a8ac8e892f06e2dc2215bfba7c3a3f6_8" ; diff --git a/infer/tests/codetoanalyze/cpp/frontend/destructors/scope.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/destructors/scope.cpp.dot index 1812ed5f9..e248e1149 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/destructors/scope.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/destructors/scope.cpp.dot @@ -56,11 +56,11 @@ digraph iCFG { "test2#destructor_scope#_ZN16destructor_scope5test2Eb.098ed11854422e6a46c509b82dd7020a_4" -> "test2#destructor_scope#_ZN16destructor_scope5test2Eb.098ed11854422e6a46c509b82dd7020a_3" ; -"test2#destructor_scope#_ZN16destructor_scope5test2Eb.098ed11854422e6a46c509b82dd7020a_5" [label="5: Prune (true branch) \n n$1=*&a:_Bool [line 61]\n PRUNE((n$1 != 0), true); [line 61]\n " shape="invhouse"] +"test2#destructor_scope#_ZN16destructor_scope5test2Eb.098ed11854422e6a46c509b82dd7020a_5" [label="5: Prune (true branch) \n n$1=*&a:_Bool [line 61]\n PRUNE(n$1, true); [line 61]\n " shape="invhouse"] "test2#destructor_scope#_ZN16destructor_scope5test2Eb.098ed11854422e6a46c509b82dd7020a_5" -> "test2#destructor_scope#_ZN16destructor_scope5test2Eb.098ed11854422e6a46c509b82dd7020a_8" ; -"test2#destructor_scope#_ZN16destructor_scope5test2Eb.098ed11854422e6a46c509b82dd7020a_6" [label="6: Prune (false branch) \n n$1=*&a:_Bool [line 61]\n PRUNE((n$1 == 0), false); [line 61]\n " shape="invhouse"] +"test2#destructor_scope#_ZN16destructor_scope5test2Eb.098ed11854422e6a46c509b82dd7020a_6" [label="6: Prune (false branch) \n n$1=*&a:_Bool [line 61]\n PRUNE(!n$1, false); [line 61]\n " shape="invhouse"] "test2#destructor_scope#_ZN16destructor_scope5test2Eb.098ed11854422e6a46c509b82dd7020a_6" -> "test2#destructor_scope#_ZN16destructor_scope5test2Eb.098ed11854422e6a46c509b82dd7020a_10" ; @@ -120,11 +120,11 @@ digraph iCFG { "test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_9" -> "test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_8" ; -"test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_10" [label="10: Prune (true branch) \n n$7=*&b:_Bool [line 50]\n PRUNE((n$7 != 0), true); [line 50]\n " shape="invhouse"] +"test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_10" [label="10: Prune (true branch) \n n$7=*&b:_Bool [line 50]\n PRUNE(n$7, true); [line 50]\n " shape="invhouse"] "test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_10" -> "test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_12" ; -"test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_11" [label="11: Prune (false branch) \n n$7=*&b:_Bool [line 50]\n PRUNE((n$7 == 0), false); [line 50]\n " shape="invhouse"] +"test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_11" [label="11: Prune (false branch) \n n$7=*&b:_Bool [line 50]\n PRUNE(!n$7, false); [line 50]\n " shape="invhouse"] "test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_11" -> "test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_9" ; @@ -141,11 +141,11 @@ digraph iCFG { "test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_14" -> "test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_13" ; -"test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_15" [label="15: Prune (true branch) \n n$13=*&a:_Bool [line 45]\n PRUNE((n$13 != 0), true); [line 45]\n " shape="invhouse"] +"test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_15" [label="15: Prune (true branch) \n n$13=*&a:_Bool [line 45]\n PRUNE(n$13, true); [line 45]\n " shape="invhouse"] "test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_15" -> "test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_17" ; -"test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_16" [label="16: Prune (false branch) \n n$13=*&a:_Bool [line 45]\n PRUNE((n$13 == 0), false); [line 45]\n " shape="invhouse"] +"test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_16" [label="16: Prune (false branch) \n n$13=*&a:_Bool [line 45]\n PRUNE(!n$13, false); [line 45]\n " shape="invhouse"] "test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_16" -> "test1#destructor_scope#_ZN16destructor_scope5test1Ebb.fea2570de1bd37fe2fd8c1bd9766c861_14" ; @@ -237,11 +237,11 @@ digraph iCFG { "__infer_inner_destructor_~W#W#destructor_scope#(_ZN16destructor_scope1WD0Ev).37a82ed518652a47d87bdadb9b9382b3_6" -> "__infer_inner_destructor_~W#W#destructor_scope#(_ZN16destructor_scope1WD0Ev).37a82ed518652a47d87bdadb9b9382b3_5" ; -"__infer_inner_destructor_~W#W#destructor_scope#(_ZN16destructor_scope1WD0Ev).37a82ed518652a47d87bdadb9b9382b3_7" [label="7: Prune (true branch) \n n$6=*&this:destructor_scope::W* [line 33]\n n$7=*n$6.b:_Bool [line 33]\n PRUNE((n$7 != 0), true); [line 33]\n " shape="invhouse"] +"__infer_inner_destructor_~W#W#destructor_scope#(_ZN16destructor_scope1WD0Ev).37a82ed518652a47d87bdadb9b9382b3_7" [label="7: Prune (true branch) \n n$6=*&this:destructor_scope::W* [line 33]\n n$7=*n$6.b:_Bool [line 33]\n PRUNE(n$7, true); [line 33]\n " shape="invhouse"] "__infer_inner_destructor_~W#W#destructor_scope#(_ZN16destructor_scope1WD0Ev).37a82ed518652a47d87bdadb9b9382b3_7" -> "__infer_inner_destructor_~W#W#destructor_scope#(_ZN16destructor_scope1WD0Ev).37a82ed518652a47d87bdadb9b9382b3_9" ; -"__infer_inner_destructor_~W#W#destructor_scope#(_ZN16destructor_scope1WD0Ev).37a82ed518652a47d87bdadb9b9382b3_8" [label="8: Prune (false branch) \n n$6=*&this:destructor_scope::W* [line 33]\n n$7=*n$6.b:_Bool [line 33]\n PRUNE((n$7 == 0), false); [line 33]\n " shape="invhouse"] +"__infer_inner_destructor_~W#W#destructor_scope#(_ZN16destructor_scope1WD0Ev).37a82ed518652a47d87bdadb9b9382b3_8" [label="8: Prune (false branch) \n n$6=*&this:destructor_scope::W* [line 33]\n n$7=*n$6.b:_Bool [line 33]\n PRUNE(!n$7, false); [line 33]\n " shape="invhouse"] "__infer_inner_destructor_~W#W#destructor_scope#(_ZN16destructor_scope1WD0Ev).37a82ed518652a47d87bdadb9b9382b3_8" -> "__infer_inner_destructor_~W#W#destructor_scope#(_ZN16destructor_scope1WD0Ev).37a82ed518652a47d87bdadb9b9382b3_6" ; diff --git a/infer/tests/codetoanalyze/cpp/frontend/globals/global_const2.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/globals/global_const2.cpp.dot index b45fb71ec..d871c16f3 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/globals/global_const2.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/globals/global_const2.cpp.dot @@ -12,11 +12,11 @@ digraph iCFG { "__infer_globals_initializer_global.bdc08c089842ce08b974b22a75daf78e_3" -> "__infer_globals_initializer_global.bdc08c089842ce08b974b22a75daf78e_8" ; -"__infer_globals_initializer_global.bdc08c089842ce08b974b22a75daf78e_4" [label="4: Prune (true branch) \n PRUNE((1 != 0), true); [line 10]\n " shape="invhouse"] +"__infer_globals_initializer_global.bdc08c089842ce08b974b22a75daf78e_4" [label="4: Prune (true branch) \n PRUNE(1, true); [line 10]\n " shape="invhouse"] "__infer_globals_initializer_global.bdc08c089842ce08b974b22a75daf78e_4" -> "__infer_globals_initializer_global.bdc08c089842ce08b974b22a75daf78e_6" ; -"__infer_globals_initializer_global.bdc08c089842ce08b974b22a75daf78e_5" [label="5: Prune (false branch) \n PRUNE((1 == 0), false); [line 10]\n " shape="invhouse"] +"__infer_globals_initializer_global.bdc08c089842ce08b974b22a75daf78e_5" [label="5: Prune (false branch) \n PRUNE(!1, false); [line 10]\n " shape="invhouse"] "__infer_globals_initializer_global.bdc08c089842ce08b974b22a75daf78e_5" -> "__infer_globals_initializer_global.bdc08c089842ce08b974b22a75daf78e_7" ; diff --git a/infer/tests/codetoanalyze/cpp/frontend/loops/do_while.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/loops/do_while.cpp.dot index afc7e2f9b..a8c628071 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/loops/do_while.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/loops/do_while.cpp.dot @@ -15,11 +15,11 @@ digraph iCFG { "test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_4" -> "test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_13" ; -"test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_5" [label="5: Prune (true branch) \n n$1=*&b:_Bool [line 21]\n PRUNE((n$1 != 0), true); [line 21]\n " shape="invhouse"] +"test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_5" [label="5: Prune (true branch) \n n$1=*&b:_Bool [line 21]\n PRUNE(n$1, true); [line 21]\n " shape="invhouse"] "test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_5" -> "test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_4" ; -"test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_6" [label="6: Prune (false branch) \n n$1=*&b:_Bool [line 21]\n PRUNE((n$1 == 0), false); [line 21]\n " shape="invhouse"] +"test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_6" [label="6: Prune (false branch) \n n$1=*&b:_Bool [line 21]\n PRUNE(!n$1, false); [line 21]\n " shape="invhouse"] "test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_6" -> "test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_3" ; @@ -32,11 +32,11 @@ digraph iCFG { "test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_8" -> "test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_7" ; -"test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_9" [label="9: Prune (true branch) \n n$3=*&a:_Bool [line 14]\n PRUNE((n$3 != 0), true); [line 14]\n " shape="invhouse"] +"test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_9" [label="9: Prune (true branch) \n n$3=*&a:_Bool [line 14]\n PRUNE(n$3, true); [line 14]\n " shape="invhouse"] "test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_9" -> "test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_11" ; -"test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_10" [label="10: Prune (false branch) \n n$3=*&a:_Bool [line 14]\n PRUNE((n$3 == 0), false); [line 14]\n " shape="invhouse"] +"test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_10" [label="10: Prune (false branch) \n n$3=*&a:_Bool [line 14]\n PRUNE(!n$3, false); [line 14]\n " shape="invhouse"] "test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_10" -> "test1#_Z5test1bb.7b4b302df017dfac2074bf17bf65ca2c_12" ; diff --git a/infer/tests/codetoanalyze/cpp/frontend/loops/foreach1.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/loops/foreach1.cpp.dot index 202a17196..e85d9839b 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/loops/foreach1.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/loops/foreach1.cpp.dot @@ -28,11 +28,11 @@ digraph iCFG { "test#_Z4testv.1b928d988491fdd2fa78fcb048d46e8c_7" -> "test#_Z4testv.1b928d988491fdd2fa78fcb048d46e8c_8" ; "test#_Z4testv.1b928d988491fdd2fa78fcb048d46e8c_7" -> "test#_Z4testv.1b928d988491fdd2fa78fcb048d46e8c_9" ; -"test#_Z4testv.1b928d988491fdd2fa78fcb048d46e8c_8" [label="8: Prune (true branch) \n PRUNE((n$12 != 0), true); [line 37]\n " shape="invhouse"] +"test#_Z4testv.1b928d988491fdd2fa78fcb048d46e8c_8" [label="8: Prune (true branch) \n PRUNE(n$12, true); [line 37]\n " shape="invhouse"] "test#_Z4testv.1b928d988491fdd2fa78fcb048d46e8c_8" -> "test#_Z4testv.1b928d988491fdd2fa78fcb048d46e8c_11" ; -"test#_Z4testv.1b928d988491fdd2fa78fcb048d46e8c_9" [label="9: Prune (false branch) \n PRUNE((n$12 == 0), false); [line 37]\n " shape="invhouse"] +"test#_Z4testv.1b928d988491fdd2fa78fcb048d46e8c_9" [label="9: Prune (false branch) \n PRUNE(!n$12, false); [line 37]\n " shape="invhouse"] "test#_Z4testv.1b928d988491fdd2fa78fcb048d46e8c_9" -> "test#_Z4testv.1b928d988491fdd2fa78fcb048d46e8c_2" ; @@ -68,11 +68,11 @@ digraph iCFG { "operator!=#_Zne8iteratorS_.497d6549b2907c91697671b3c62dc141_4" -> "operator!=#_Zne8iteratorS_.497d6549b2907c91697671b3c62dc141_5" ; "operator!=#_Zne8iteratorS_.497d6549b2907c91697671b3c62dc141_4" -> "operator!=#_Zne8iteratorS_.497d6549b2907c91697671b3c62dc141_6" ; -"operator!=#_Zne8iteratorS_.497d6549b2907c91697671b3c62dc141_5" [label="5: Prune (true branch) \n PRUNE(((n$2 != n$4) != 0), true); [line 21]\n " shape="invhouse"] +"operator!=#_Zne8iteratorS_.497d6549b2907c91697671b3c62dc141_5" [label="5: Prune (true branch) \n PRUNE((n$2 != n$4), true); [line 21]\n " shape="invhouse"] "operator!=#_Zne8iteratorS_.497d6549b2907c91697671b3c62dc141_5" -> "operator!=#_Zne8iteratorS_.497d6549b2907c91697671b3c62dc141_7" ; -"operator!=#_Zne8iteratorS_.497d6549b2907c91697671b3c62dc141_6" [label="6: Prune (false branch) \n PRUNE(((n$2 != n$4) == 0), false); [line 21]\n " shape="invhouse"] +"operator!=#_Zne8iteratorS_.497d6549b2907c91697671b3c62dc141_6" [label="6: Prune (false branch) \n PRUNE(!(n$2 != n$4), false); [line 21]\n " shape="invhouse"] "operator!=#_Zne8iteratorS_.497d6549b2907c91697671b3c62dc141_6" -> "operator!=#_Zne8iteratorS_.497d6549b2907c91697671b3c62dc141_8" ; diff --git a/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/assign_in_condition.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/assign_in_condition.cpp.dot index c97ddb701..25185d5ca 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/assign_in_condition.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/nestedoperators/assign_in_condition.cpp.dot @@ -20,11 +20,11 @@ digraph iCFG { "foo#_Z3fooPi.30cd597e78990b062da4cbfe00a5800f_5" -> "foo#_Z3fooPi.30cd597e78990b062da4cbfe00a5800f_6" ; "foo#_Z3fooPi.30cd597e78990b062da4cbfe00a5800f_5" -> "foo#_Z3fooPi.30cd597e78990b062da4cbfe00a5800f_7" ; -"foo#_Z3fooPi.30cd597e78990b062da4cbfe00a5800f_6" [label="6: Prune (true branch) \n n$1=*n$0:int [line 11]\n PRUNE((n$1 != 0), true); [line 11]\n " shape="invhouse"] +"foo#_Z3fooPi.30cd597e78990b062da4cbfe00a5800f_6" [label="6: Prune (true branch) \n n$1=*n$0:int [line 11]\n PRUNE(n$1, true); [line 11]\n " shape="invhouse"] "foo#_Z3fooPi.30cd597e78990b062da4cbfe00a5800f_6" -> "foo#_Z3fooPi.30cd597e78990b062da4cbfe00a5800f_8" ; -"foo#_Z3fooPi.30cd597e78990b062da4cbfe00a5800f_7" [label="7: Prune (false branch) \n n$1=*n$0:int [line 11]\n PRUNE((n$1 == 0), false); [line 11]\n " shape="invhouse"] +"foo#_Z3fooPi.30cd597e78990b062da4cbfe00a5800f_7" [label="7: Prune (false branch) \n n$1=*n$0:int [line 11]\n PRUNE(!n$1, false); [line 11]\n " shape="invhouse"] "foo#_Z3fooPi.30cd597e78990b062da4cbfe00a5800f_7" -> "foo#_Z3fooPi.30cd597e78990b062da4cbfe00a5800f_4" ; diff --git a/infer/tests/codetoanalyze/cpp/shared/conditional/binary_conditional.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/conditional/binary_conditional.cpp.dot index cbf9a914a..3fc4ea74c 100644 --- a/infer/tests/codetoanalyze/cpp/shared/conditional/binary_conditional.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/conditional/binary_conditional.cpp.dot @@ -16,11 +16,11 @@ digraph iCFG { "binaryConditional#binary_conditional#_ZN18binary_conditional17binaryConditionalEv.af42c001c0ee2314f76b0516127756f0_4" -> "binaryConditional#binary_conditional#_ZN18binary_conditional17binaryConditionalEv.af42c001c0ee2314f76b0516127756f0_5" ; "binaryConditional#binary_conditional#_ZN18binary_conditional17binaryConditionalEv.af42c001c0ee2314f76b0516127756f0_4" -> "binaryConditional#binary_conditional#_ZN18binary_conditional17binaryConditionalEv.af42c001c0ee2314f76b0516127756f0_6" ; -"binaryConditional#binary_conditional#_ZN18binary_conditional17binaryConditionalEv.af42c001c0ee2314f76b0516127756f0_5" [label="5: Prune (true branch) \n PRUNE((n$3 != 0), true); [line 24]\n " shape="invhouse"] +"binaryConditional#binary_conditional#_ZN18binary_conditional17binaryConditionalEv.af42c001c0ee2314f76b0516127756f0_5" [label="5: Prune (true branch) \n PRUNE(n$3, true); [line 24]\n " shape="invhouse"] "binaryConditional#binary_conditional#_ZN18binary_conditional17binaryConditionalEv.af42c001c0ee2314f76b0516127756f0_5" -> "binaryConditional#binary_conditional#_ZN18binary_conditional17binaryConditionalEv.af42c001c0ee2314f76b0516127756f0_7" ; -"binaryConditional#binary_conditional#_ZN18binary_conditional17binaryConditionalEv.af42c001c0ee2314f76b0516127756f0_6" [label="6: Prune (false branch) \n PRUNE((n$3 == 0), false); [line 24]\n " shape="invhouse"] +"binaryConditional#binary_conditional#_ZN18binary_conditional17binaryConditionalEv.af42c001c0ee2314f76b0516127756f0_6" [label="6: Prune (false branch) \n PRUNE(!n$3, false); [line 24]\n " shape="invhouse"] "binaryConditional#binary_conditional#_ZN18binary_conditional17binaryConditionalEv.af42c001c0ee2314f76b0516127756f0_6" -> "binaryConditional#binary_conditional#_ZN18binary_conditional17binaryConditionalEv.af42c001c0ee2314f76b0516127756f0_8" ; @@ -60,11 +60,11 @@ digraph iCFG { "conditional#binary_conditional#_ZN18binary_conditional11conditionalEv.4759b8a979477773442be7ef925c905c_4" -> "conditional#binary_conditional#_ZN18binary_conditional11conditionalEv.4759b8a979477773442be7ef925c905c_5" ; "conditional#binary_conditional#_ZN18binary_conditional11conditionalEv.4759b8a979477773442be7ef925c905c_4" -> "conditional#binary_conditional#_ZN18binary_conditional11conditionalEv.4759b8a979477773442be7ef925c905c_6" ; -"conditional#binary_conditional#_ZN18binary_conditional11conditionalEv.4759b8a979477773442be7ef925c905c_5" [label="5: Prune (true branch) \n PRUNE((n$4 != 0), true); [line 29]\n " shape="invhouse"] +"conditional#binary_conditional#_ZN18binary_conditional11conditionalEv.4759b8a979477773442be7ef925c905c_5" [label="5: Prune (true branch) \n PRUNE(n$4, true); [line 29]\n " shape="invhouse"] "conditional#binary_conditional#_ZN18binary_conditional11conditionalEv.4759b8a979477773442be7ef925c905c_5" -> "conditional#binary_conditional#_ZN18binary_conditional11conditionalEv.4759b8a979477773442be7ef925c905c_7" ; -"conditional#binary_conditional#_ZN18binary_conditional11conditionalEv.4759b8a979477773442be7ef925c905c_6" [label="6: Prune (false branch) \n PRUNE((n$4 == 0), false); [line 29]\n " shape="invhouse"] +"conditional#binary_conditional#_ZN18binary_conditional11conditionalEv.4759b8a979477773442be7ef925c905c_6" [label="6: Prune (false branch) \n PRUNE(!n$4, false); [line 29]\n " shape="invhouse"] "conditional#binary_conditional#_ZN18binary_conditional11conditionalEv.4759b8a979477773442be7ef925c905c_6" -> "conditional#binary_conditional#_ZN18binary_conditional11conditionalEv.4759b8a979477773442be7ef925c905c_8" ; diff --git a/infer/tests/codetoanalyze/cpp/shared/conditional/lvalue_conditional.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/conditional/lvalue_conditional.cpp.dot index 267e498e8..687386c9e 100644 --- a/infer/tests/codetoanalyze/cpp/shared/conditional/lvalue_conditional.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/conditional/lvalue_conditional.cpp.dot @@ -103,11 +103,11 @@ digraph iCFG { "choose_lvalue#_Z13choose_lvaluei.e50643c0ec34e2924847510b64d58ec0_4" -> "choose_lvalue#_Z13choose_lvaluei.e50643c0ec34e2924847510b64d58ec0_9" ; -"choose_lvalue#_Z13choose_lvaluei.e50643c0ec34e2924847510b64d58ec0_5" [label="5: Prune (true branch) \n n$2=*&a:int [line 12]\n PRUNE((n$2 != 0), true); [line 12]\n " shape="invhouse"] +"choose_lvalue#_Z13choose_lvaluei.e50643c0ec34e2924847510b64d58ec0_5" [label="5: Prune (true branch) \n n$2=*&a:int [line 12]\n PRUNE(n$2, true); [line 12]\n " shape="invhouse"] "choose_lvalue#_Z13choose_lvaluei.e50643c0ec34e2924847510b64d58ec0_5" -> "choose_lvalue#_Z13choose_lvaluei.e50643c0ec34e2924847510b64d58ec0_7" ; -"choose_lvalue#_Z13choose_lvaluei.e50643c0ec34e2924847510b64d58ec0_6" [label="6: Prune (false branch) \n n$2=*&a:int [line 12]\n PRUNE((n$2 == 0), false); [line 12]\n " shape="invhouse"] +"choose_lvalue#_Z13choose_lvaluei.e50643c0ec34e2924847510b64d58ec0_6" [label="6: Prune (false branch) \n n$2=*&a:int [line 12]\n PRUNE(!n$2, false); [line 12]\n " shape="invhouse"] "choose_lvalue#_Z13choose_lvaluei.e50643c0ec34e2924847510b64d58ec0_6" -> "choose_lvalue#_Z13choose_lvaluei.e50643c0ec34e2924847510b64d58ec0_8" ; @@ -147,11 +147,11 @@ digraph iCFG { "choose_rvalue#_Z13choose_rvaluei.56b8cb566e6801c5c492f60b4e88e983_4" -> "choose_rvalue#_Z13choose_rvaluei.56b8cb566e6801c5c492f60b4e88e983_9" ; -"choose_rvalue#_Z13choose_rvaluei.56b8cb566e6801c5c492f60b4e88e983_5" [label="5: Prune (true branch) \n n$2=*&a:int [line 18]\n PRUNE((n$2 != 0), true); [line 18]\n " shape="invhouse"] +"choose_rvalue#_Z13choose_rvaluei.56b8cb566e6801c5c492f60b4e88e983_5" [label="5: Prune (true branch) \n n$2=*&a:int [line 18]\n PRUNE(n$2, true); [line 18]\n " shape="invhouse"] "choose_rvalue#_Z13choose_rvaluei.56b8cb566e6801c5c492f60b4e88e983_5" -> "choose_rvalue#_Z13choose_rvaluei.56b8cb566e6801c5c492f60b4e88e983_7" ; -"choose_rvalue#_Z13choose_rvaluei.56b8cb566e6801c5c492f60b4e88e983_6" [label="6: Prune (false branch) \n n$2=*&a:int [line 18]\n PRUNE((n$2 == 0), false); [line 18]\n " shape="invhouse"] +"choose_rvalue#_Z13choose_rvaluei.56b8cb566e6801c5c492f60b4e88e983_6" [label="6: Prune (false branch) \n n$2=*&a:int [line 18]\n PRUNE(!n$2, false); [line 18]\n " shape="invhouse"] "choose_rvalue#_Z13choose_rvaluei.56b8cb566e6801c5c492f60b4e88e983_6" -> "choose_rvalue#_Z13choose_rvaluei.56b8cb566e6801c5c492f60b4e88e983_8" ; @@ -187,11 +187,11 @@ digraph iCFG { "assign_conditional#_Z18assign_conditionali.1be7ef126568d5983b2ac2b3145799a8_4" -> "assign_conditional#_Z18assign_conditionali.1be7ef126568d5983b2ac2b3145799a8_9" ; -"assign_conditional#_Z18assign_conditionali.1be7ef126568d5983b2ac2b3145799a8_5" [label="5: Prune (true branch) \n n$2=*&a:int [line 24]\n PRUNE((n$2 != 0), true); [line 24]\n " shape="invhouse"] +"assign_conditional#_Z18assign_conditionali.1be7ef126568d5983b2ac2b3145799a8_5" [label="5: Prune (true branch) \n n$2=*&a:int [line 24]\n PRUNE(n$2, true); [line 24]\n " shape="invhouse"] "assign_conditional#_Z18assign_conditionali.1be7ef126568d5983b2ac2b3145799a8_5" -> "assign_conditional#_Z18assign_conditionali.1be7ef126568d5983b2ac2b3145799a8_7" ; -"assign_conditional#_Z18assign_conditionali.1be7ef126568d5983b2ac2b3145799a8_6" [label="6: Prune (false branch) \n n$2=*&a:int [line 24]\n PRUNE((n$2 == 0), false); [line 24]\n " shape="invhouse"] +"assign_conditional#_Z18assign_conditionali.1be7ef126568d5983b2ac2b3145799a8_6" [label="6: Prune (false branch) \n n$2=*&a:int [line 24]\n PRUNE(!n$2, false); [line 24]\n " shape="invhouse"] "assign_conditional#_Z18assign_conditionali.1be7ef126568d5983b2ac2b3145799a8_6" -> "assign_conditional#_Z18assign_conditionali.1be7ef126568d5983b2ac2b3145799a8_8" ; @@ -232,11 +232,11 @@ digraph iCFG { "div_temp_lvalue#_Z15div_temp_lvalueii.4a86aab3ba0c7c218d2756113db6c5ee_4" -> "div_temp_lvalue#_Z15div_temp_lvalueii.4a86aab3ba0c7c218d2756113db6c5ee_9" ; -"div_temp_lvalue#_Z15div_temp_lvalueii.4a86aab3ba0c7c218d2756113db6c5ee_5" [label="5: Prune (true branch) \n n$4=*&a:int [line 29]\n PRUNE((n$4 != 0), true); [line 29]\n " shape="invhouse"] +"div_temp_lvalue#_Z15div_temp_lvalueii.4a86aab3ba0c7c218d2756113db6c5ee_5" [label="5: Prune (true branch) \n n$4=*&a:int [line 29]\n PRUNE(n$4, true); [line 29]\n " shape="invhouse"] "div_temp_lvalue#_Z15div_temp_lvalueii.4a86aab3ba0c7c218d2756113db6c5ee_5" -> "div_temp_lvalue#_Z15div_temp_lvalueii.4a86aab3ba0c7c218d2756113db6c5ee_7" ; -"div_temp_lvalue#_Z15div_temp_lvalueii.4a86aab3ba0c7c218d2756113db6c5ee_6" [label="6: Prune (false branch) \n n$4=*&a:int [line 29]\n PRUNE((n$4 == 0), false); [line 29]\n " shape="invhouse"] +"div_temp_lvalue#_Z15div_temp_lvalueii.4a86aab3ba0c7c218d2756113db6c5ee_6" [label="6: Prune (false branch) \n n$4=*&a:int [line 29]\n PRUNE(!n$4, false); [line 29]\n " shape="invhouse"] "div_temp_lvalue#_Z15div_temp_lvalueii.4a86aab3ba0c7c218d2756113db6c5ee_6" -> "div_temp_lvalue#_Z15div_temp_lvalueii.4a86aab3ba0c7c218d2756113db6c5ee_8" ; diff --git a/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_new.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_new.cpp.dot index 4940d2b65..d1130b4ee 100644 --- a/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_new.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_new.cpp.dot @@ -125,11 +125,11 @@ digraph iCFG { "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_5" -> "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_6" ; "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_5" -> "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_7" ; -"int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_6" [label="6: Prune (true branch) \n PRUNE((n$3 != 0), true); [line 67]\n " shape="invhouse"] +"int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_6" [label="6: Prune (true branch) \n PRUNE(n$3, true); [line 67]\n " shape="invhouse"] "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_6" -> "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_8" ; -"int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_7" [label="7: Prune (false branch) \n PRUNE((n$3 == 0), false); [line 67]\n " shape="invhouse"] +"int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_7" [label="7: Prune (false branch) \n PRUNE(!n$3, false); [line 67]\n " shape="invhouse"] "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_7" -> "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_9" ; @@ -150,11 +150,11 @@ digraph iCFG { "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_11" -> "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_12" ; "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_11" -> "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_13" ; -"int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_12" [label="12: Prune (true branch) \n PRUNE((n$10 != 0), true); [line 67]\n " shape="invhouse"] +"int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_12" [label="12: Prune (true branch) \n PRUNE(n$10, true); [line 67]\n " shape="invhouse"] "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_12" -> "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_14" ; -"int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_13" [label="13: Prune (false branch) \n PRUNE((n$10 == 0), false); [line 67]\n " shape="invhouse"] +"int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_13" [label="13: Prune (false branch) \n PRUNE(!n$10, false); [line 67]\n " shape="invhouse"] "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_13" -> "int_init_nodes#constructor_new#_ZN15constructor_new14int_init_nodesEv.858899e8400ad728f4d32816a5f41567_15" ; @@ -198,11 +198,11 @@ digraph iCFG { "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_5" -> "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_6" ; "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_5" -> "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_7" ; -"constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_6" [label="6: Prune (true branch) \n PRUNE((n$4 != 0), true); [line 73]\n " shape="invhouse"] +"constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_6" [label="6: Prune (true branch) \n PRUNE(n$4, true); [line 73]\n " shape="invhouse"] "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_6" -> "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_8" ; -"constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_7" [label="7: Prune (false branch) \n PRUNE((n$4 == 0), false); [line 73]\n " shape="invhouse"] +"constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_7" [label="7: Prune (false branch) \n PRUNE(!n$4, false); [line 73]\n " shape="invhouse"] "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_7" -> "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_9" ; @@ -223,11 +223,11 @@ digraph iCFG { "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_11" -> "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_12" ; "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_11" -> "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_13" ; -"constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_12" [label="12: Prune (true branch) \n PRUNE((n$10 != 0), true); [line 73]\n " shape="invhouse"] +"constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_12" [label="12: Prune (true branch) \n PRUNE(n$10, true); [line 73]\n " shape="invhouse"] "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_12" -> "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_14" ; -"constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_13" [label="13: Prune (false branch) \n PRUNE((n$10 == 0), false); [line 73]\n " shape="invhouse"] +"constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_13" [label="13: Prune (false branch) \n PRUNE(!n$10, false); [line 73]\n " shape="invhouse"] "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_13" -> "constructor_nodes#constructor_new#_ZN15constructor_new17constructor_nodesEv.5507b612f713c15c069700c4572bd706_15" ; @@ -275,11 +275,11 @@ digraph iCFG { "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_7" -> "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_8" ; "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_7" -> "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_9" ; -"int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_8" [label="8: Prune (true branch) \n PRUNE((n$7 != 0), true); [line 78]\n " shape="invhouse"] +"int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_8" [label="8: Prune (true branch) \n PRUNE(n$7, true); [line 78]\n " shape="invhouse"] "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_8" -> "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_10" ; -"int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_9" [label="9: Prune (false branch) \n PRUNE((n$7 == 0), false); [line 78]\n " shape="invhouse"] +"int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_9" [label="9: Prune (false branch) \n PRUNE(!n$7, false); [line 78]\n " shape="invhouse"] "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_9" -> "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_11" ; @@ -300,11 +300,11 @@ digraph iCFG { "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_13" -> "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_14" ; "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_13" -> "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_15" ; -"int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_14" [label="14: Prune (true branch) \n PRUNE((n$11 != 0), true); [line 78]\n " shape="invhouse"] +"int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_14" [label="14: Prune (true branch) \n PRUNE(n$11, true); [line 78]\n " shape="invhouse"] "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_14" -> "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_16" ; -"int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_15" [label="15: Prune (false branch) \n PRUNE((n$11 == 0), false); [line 78]\n " shape="invhouse"] +"int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_15" [label="15: Prune (false branch) \n PRUNE(!n$11, false); [line 78]\n " shape="invhouse"] "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_15" -> "int_array#constructor_new#_ZN15constructor_new9int_arrayEv.a50200812a1b313e9b04a48becffcace_17" ; @@ -335,11 +335,11 @@ digraph iCFG { "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_4" -> "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_5" ; "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_4" -> "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_6" ; -"array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_5" [label="5: Prune (true branch) \n PRUNE(((n$2 == 5) != 0), true); [line 91]\n " shape="invhouse"] +"array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_5" [label="5: Prune (true branch) \n PRUNE((n$2 == 5), true); [line 91]\n " shape="invhouse"] "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_5" -> "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_7" ; -"array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_6" [label="6: Prune (false branch) \n PRUNE(((n$2 == 5) == 0), false); [line 91]\n " shape="invhouse"] +"array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_6" [label="6: Prune (false branch) \n PRUNE(!(n$2 == 5), false); [line 91]\n " shape="invhouse"] "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_6" -> "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_8" ; @@ -360,11 +360,11 @@ digraph iCFG { "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_10" -> "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_11" ; "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_10" -> "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_12" ; -"array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_11" [label="11: Prune (true branch) \n PRUNE(((n$5 == 5) != 0), true); [line 91]\n " shape="invhouse"] +"array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_11" [label="11: Prune (true branch) \n PRUNE((n$5 == 5), true); [line 91]\n " shape="invhouse"] "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_11" -> "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_13" ; -"array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_12" [label="12: Prune (false branch) \n PRUNE(((n$5 == 5) == 0), false); [line 91]\n " shape="invhouse"] +"array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_12" [label="12: Prune (false branch) \n PRUNE(!(n$5 == 5), false); [line 91]\n " shape="invhouse"] "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_12" -> "array_of_class_with_not_constant_size#constructor_new#_ZN15constructor_new37array_of_class_with_not_.2dafa043eedc2a4cf36407ab92f39294_14" ; diff --git a/infer/tests/codetoanalyze/cpp/shared/constructors/std_init_list.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/constructors/std_init_list.cpp.dot index cb745d0af..748c9e0d6 100644 --- a/infer/tests/codetoanalyze/cpp/shared/constructors/std_init_list.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/constructors/std_init_list.cpp.dot @@ -35,11 +35,11 @@ digraph iCFG { "X#X#{_ZN1XC1ESt16initializer_listIiE}.778d0439d25462bdf7ed466490fcf946_6" -> "X#X#{_ZN1XC1ESt16initializer_listIiE}.778d0439d25462bdf7ed466490fcf946_7" ; "X#X#{_ZN1XC1ESt16initializer_listIiE}.778d0439d25462bdf7ed466490fcf946_6" -> "X#X#{_ZN1XC1ESt16initializer_listIiE}.778d0439d25462bdf7ed466490fcf946_8" ; -"X#X#{_ZN1XC1ESt16initializer_listIiE}.778d0439d25462bdf7ed466490fcf946_7" [label="7: Prune (true branch) \n PRUNE(((n$4 != n$7) != 0), true); [line 15]\n " shape="invhouse"] +"X#X#{_ZN1XC1ESt16initializer_listIiE}.778d0439d25462bdf7ed466490fcf946_7" [label="7: Prune (true branch) \n PRUNE((n$4 != n$7), true); [line 15]\n " shape="invhouse"] "X#X#{_ZN1XC1ESt16initializer_listIiE}.778d0439d25462bdf7ed466490fcf946_7" -> "X#X#{_ZN1XC1ESt16initializer_listIiE}.778d0439d25462bdf7ed466490fcf946_9" ; -"X#X#{_ZN1XC1ESt16initializer_listIiE}.778d0439d25462bdf7ed466490fcf946_8" [label="8: Prune (false branch) \n PRUNE(((n$4 != n$7) == 0), false); [line 15]\n " shape="invhouse"] +"X#X#{_ZN1XC1ESt16initializer_listIiE}.778d0439d25462bdf7ed466490fcf946_8" [label="8: Prune (false branch) \n PRUNE(!(n$4 != n$7), false); [line 15]\n " shape="invhouse"] "X#X#{_ZN1XC1ESt16initializer_listIiE}.778d0439d25462bdf7ed466490fcf946_8" -> "X#X#{_ZN1XC1ESt16initializer_listIiE}.778d0439d25462bdf7ed466490fcf946_2" ; diff --git a/infer/tests/codetoanalyze/cpp/shared/exceptions/Exceptions.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/exceptions/Exceptions.cpp.dot index 6105f7679..491f26635 100644 --- a/infer/tests/codetoanalyze/cpp/shared/exceptions/Exceptions.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/exceptions/Exceptions.cpp.dot @@ -42,11 +42,11 @@ digraph iCFG { "deref#_Z5derefPi.4795e142c647658d2d19ca83904cd96e_5" -> "deref#_Z5derefPi.4795e142c647658d2d19ca83904cd96e_6" ; "deref#_Z5derefPi.4795e142c647658d2d19ca83904cd96e_5" -> "deref#_Z5derefPi.4795e142c647658d2d19ca83904cd96e_7" ; -"deref#_Z5derefPi.4795e142c647658d2d19ca83904cd96e_6" [label="6: Prune (true branch) \n PRUNE(((n$2 == null) != 0), true); [line 11]\n " shape="invhouse"] +"deref#_Z5derefPi.4795e142c647658d2d19ca83904cd96e_6" [label="6: Prune (true branch) \n PRUNE((n$2 == null), true); [line 11]\n " shape="invhouse"] "deref#_Z5derefPi.4795e142c647658d2d19ca83904cd96e_6" -> "deref#_Z5derefPi.4795e142c647658d2d19ca83904cd96e_8" ; -"deref#_Z5derefPi.4795e142c647658d2d19ca83904cd96e_7" [label="7: Prune (false branch) \n PRUNE(((n$2 == null) == 0), false); [line 11]\n " shape="invhouse"] +"deref#_Z5derefPi.4795e142c647658d2d19ca83904cd96e_7" [label="7: Prune (false branch) \n PRUNE(!(n$2 == null), false); [line 11]\n " shape="invhouse"] "deref#_Z5derefPi.4795e142c647658d2d19ca83904cd96e_7" -> "deref#_Z5derefPi.4795e142c647658d2d19ca83904cd96e_4" ; diff --git a/infer/tests/codetoanalyze/cpp/shared/methods/conversion_operator.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/methods/conversion_operator.cpp.dot index bf13c44c2..1cfc4b35a 100644 --- a/infer/tests/codetoanalyze/cpp/shared/methods/conversion_operator.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/methods/conversion_operator.cpp.dot @@ -20,11 +20,11 @@ digraph iCFG { "branch_div0#conversion_operator#_ZN19conversion_operator11branch_div0Ev.7ac2fbad786f1d6a619b754c3edb7bda_5" -> "branch_div0#conversion_operator#_ZN19conversion_operator11branch_div0Ev.7ac2fbad786f1d6a619b754c3edb7bda_6" ; "branch_div0#conversion_operator#_ZN19conversion_operator11branch_div0Ev.7ac2fbad786f1d6a619b754c3edb7bda_5" -> "branch_div0#conversion_operator#_ZN19conversion_operator11branch_div0Ev.7ac2fbad786f1d6a619b754c3edb7bda_7" ; -"branch_div0#conversion_operator#_ZN19conversion_operator11branch_div0Ev.7ac2fbad786f1d6a619b754c3edb7bda_6" [label="6: Prune (true branch) \n PRUNE((n$3 != 0), true); [line 36]\n " shape="invhouse"] +"branch_div0#conversion_operator#_ZN19conversion_operator11branch_div0Ev.7ac2fbad786f1d6a619b754c3edb7bda_6" [label="6: Prune (true branch) \n PRUNE(n$3, true); [line 36]\n " shape="invhouse"] "branch_div0#conversion_operator#_ZN19conversion_operator11branch_div0Ev.7ac2fbad786f1d6a619b754c3edb7bda_6" -> "branch_div0#conversion_operator#_ZN19conversion_operator11branch_div0Ev.7ac2fbad786f1d6a619b754c3edb7bda_9" ; -"branch_div0#conversion_operator#_ZN19conversion_operator11branch_div0Ev.7ac2fbad786f1d6a619b754c3edb7bda_7" [label="7: Prune (false branch) \n PRUNE((n$3 == 0), false); [line 36]\n " shape="invhouse"] +"branch_div0#conversion_operator#_ZN19conversion_operator11branch_div0Ev.7ac2fbad786f1d6a619b754c3edb7bda_7" [label="7: Prune (false branch) \n PRUNE(!n$3, false); [line 36]\n " shape="invhouse"] "branch_div0#conversion_operator#_ZN19conversion_operator11branch_div0Ev.7ac2fbad786f1d6a619b754c3edb7bda_7" -> "branch_div0#conversion_operator#_ZN19conversion_operator11branch_div0Ev.7ac2fbad786f1d6a619b754c3edb7bda_4" ; @@ -60,11 +60,11 @@ digraph iCFG { "y_branch_div0#conversion_operator#_ZN19conversion_operator13y_branch_div0Ev.55b1d7191b07a83040d3d6f4f6c86612_5" -> "y_branch_div0#conversion_operator#_ZN19conversion_operator13y_branch_div0Ev.55b1d7191b07a83040d3d6f4f6c86612_6" ; "y_branch_div0#conversion_operator#_ZN19conversion_operator13y_branch_div0Ev.55b1d7191b07a83040d3d6f4f6c86612_5" -> "y_branch_div0#conversion_operator#_ZN19conversion_operator13y_branch_div0Ev.55b1d7191b07a83040d3d6f4f6c86612_7" ; -"y_branch_div0#conversion_operator#_ZN19conversion_operator13y_branch_div0Ev.55b1d7191b07a83040d3d6f4f6c86612_6" [label="6: Prune (true branch) \n PRUNE((n$9 != 0), true); [line 47]\n " shape="invhouse"] +"y_branch_div0#conversion_operator#_ZN19conversion_operator13y_branch_div0Ev.55b1d7191b07a83040d3d6f4f6c86612_6" [label="6: Prune (true branch) \n PRUNE(n$9, true); [line 47]\n " shape="invhouse"] "y_branch_div0#conversion_operator#_ZN19conversion_operator13y_branch_div0Ev.55b1d7191b07a83040d3d6f4f6c86612_6" -> "y_branch_div0#conversion_operator#_ZN19conversion_operator13y_branch_div0Ev.55b1d7191b07a83040d3d6f4f6c86612_9" ; -"y_branch_div0#conversion_operator#_ZN19conversion_operator13y_branch_div0Ev.55b1d7191b07a83040d3d6f4f6c86612_7" [label="7: Prune (false branch) \n PRUNE((n$9 == 0), false); [line 47]\n " shape="invhouse"] +"y_branch_div0#conversion_operator#_ZN19conversion_operator13y_branch_div0Ev.55b1d7191b07a83040d3d6f4f6c86612_7" [label="7: Prune (false branch) \n PRUNE(!n$9, false); [line 47]\n " shape="invhouse"] "y_branch_div0#conversion_operator#_ZN19conversion_operator13y_branch_div0Ev.55b1d7191b07a83040d3d6f4f6c86612_7" -> "y_branch_div0#conversion_operator#_ZN19conversion_operator13y_branch_div0Ev.55b1d7191b07a83040d3d6f4f6c86612_4" ; @@ -108,11 +108,11 @@ digraph iCFG { "branch_no_div#conversion_operator#_ZN19conversion_operator13branch_no_divEv.a0238eac9b6689e30d59d287a7b20301_5" -> "branch_no_div#conversion_operator#_ZN19conversion_operator13branch_no_divEv.a0238eac9b6689e30d59d287a7b20301_6" ; "branch_no_div#conversion_operator#_ZN19conversion_operator13branch_no_divEv.a0238eac9b6689e30d59d287a7b20301_5" -> "branch_no_div#conversion_operator#_ZN19conversion_operator13branch_no_divEv.a0238eac9b6689e30d59d287a7b20301_7" ; -"branch_no_div#conversion_operator#_ZN19conversion_operator13branch_no_divEv.a0238eac9b6689e30d59d287a7b20301_6" [label="6: Prune (true branch) \n PRUNE((n$3 != 0), true); [line 56]\n " shape="invhouse"] +"branch_no_div#conversion_operator#_ZN19conversion_operator13branch_no_divEv.a0238eac9b6689e30d59d287a7b20301_6" [label="6: Prune (true branch) \n PRUNE(n$3, true); [line 56]\n " shape="invhouse"] "branch_no_div#conversion_operator#_ZN19conversion_operator13branch_no_divEv.a0238eac9b6689e30d59d287a7b20301_6" -> "branch_no_div#conversion_operator#_ZN19conversion_operator13branch_no_divEv.a0238eac9b6689e30d59d287a7b20301_9" ; -"branch_no_div#conversion_operator#_ZN19conversion_operator13branch_no_divEv.a0238eac9b6689e30d59d287a7b20301_7" [label="7: Prune (false branch) \n PRUNE((n$3 == 0), false); [line 56]\n " shape="invhouse"] +"branch_no_div#conversion_operator#_ZN19conversion_operator13branch_no_divEv.a0238eac9b6689e30d59d287a7b20301_7" [label="7: Prune (false branch) \n PRUNE(!n$3, false); [line 56]\n " shape="invhouse"] "branch_no_div#conversion_operator#_ZN19conversion_operator13branch_no_divEv.a0238eac9b6689e30d59d287a7b20301_7" -> "branch_no_div#conversion_operator#_ZN19conversion_operator13branch_no_divEv.a0238eac9b6689e30d59d287a7b20301_4" ; @@ -148,11 +148,11 @@ digraph iCFG { "branch_div1#conversion_operator#_ZN19conversion_operator11branch_div1Ev.c9238a51dfce95d160a10844a88372f4_5" -> "branch_div1#conversion_operator#_ZN19conversion_operator11branch_div1Ev.c9238a51dfce95d160a10844a88372f4_6" ; "branch_div1#conversion_operator#_ZN19conversion_operator11branch_div1Ev.c9238a51dfce95d160a10844a88372f4_5" -> "branch_div1#conversion_operator#_ZN19conversion_operator11branch_div1Ev.c9238a51dfce95d160a10844a88372f4_7" ; -"branch_div1#conversion_operator#_ZN19conversion_operator11branch_div1Ev.c9238a51dfce95d160a10844a88372f4_6" [label="6: Prune (true branch) \n PRUNE((n$3 != 0), true); [line 65]\n " shape="invhouse"] +"branch_div1#conversion_operator#_ZN19conversion_operator11branch_div1Ev.c9238a51dfce95d160a10844a88372f4_6" [label="6: Prune (true branch) \n PRUNE(n$3, true); [line 65]\n " shape="invhouse"] "branch_div1#conversion_operator#_ZN19conversion_operator11branch_div1Ev.c9238a51dfce95d160a10844a88372f4_6" -> "branch_div1#conversion_operator#_ZN19conversion_operator11branch_div1Ev.c9238a51dfce95d160a10844a88372f4_9" ; -"branch_div1#conversion_operator#_ZN19conversion_operator11branch_div1Ev.c9238a51dfce95d160a10844a88372f4_7" [label="7: Prune (false branch) \n PRUNE((n$3 == 0), false); [line 65]\n " shape="invhouse"] +"branch_div1#conversion_operator#_ZN19conversion_operator11branch_div1Ev.c9238a51dfce95d160a10844a88372f4_7" [label="7: Prune (false branch) \n PRUNE(!n$3, false); [line 65]\n " shape="invhouse"] "branch_div1#conversion_operator#_ZN19conversion_operator11branch_div1Ev.c9238a51dfce95d160a10844a88372f4_7" -> "branch_div1#conversion_operator#_ZN19conversion_operator11branch_div1Ev.c9238a51dfce95d160a10844a88372f4_4" ; diff --git a/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_for.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_for.cpp.dot index 307f204fd..0d5c16cd5 100644 --- a/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_for.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_for.cpp.dot @@ -19,11 +19,11 @@ digraph iCFG { "simple_init#_Z11simple_initv.7176b81bfb31c9f0e80e4bf4b6e1e0c4_5" -> "simple_init#_Z11simple_initv.7176b81bfb31c9f0e80e4bf4b6e1e0c4_3" ; -"simple_init#_Z11simple_initv.7176b81bfb31c9f0e80e4bf4b6e1e0c4_6" [label="6: Prune (true branch) \n n$1=*&x:int [line 12]\n PRUNE((n$1 != 0), true); [line 12]\n " shape="invhouse"] +"simple_init#_Z11simple_initv.7176b81bfb31c9f0e80e4bf4b6e1e0c4_6" [label="6: Prune (true branch) \n n$1=*&x:int [line 12]\n PRUNE(n$1, true); [line 12]\n " shape="invhouse"] "simple_init#_Z11simple_initv.7176b81bfb31c9f0e80e4bf4b6e1e0c4_6" -> "simple_init#_Z11simple_initv.7176b81bfb31c9f0e80e4bf4b6e1e0c4_9" ; -"simple_init#_Z11simple_initv.7176b81bfb31c9f0e80e4bf4b6e1e0c4_7" [label="7: Prune (false branch) \n n$1=*&x:int [line 12]\n PRUNE((n$1 == 0), false); [line 12]\n " shape="invhouse"] +"simple_init#_Z11simple_initv.7176b81bfb31c9f0e80e4bf4b6e1e0c4_7" [label="7: Prune (false branch) \n n$1=*&x:int [line 12]\n PRUNE(!n$1, false); [line 12]\n " shape="invhouse"] "simple_init#_Z11simple_initv.7176b81bfb31c9f0e80e4bf4b6e1e0c4_7" -> "simple_init#_Z11simple_initv.7176b81bfb31c9f0e80e4bf4b6e1e0c4_2" ; @@ -59,11 +59,11 @@ digraph iCFG { "init_with_scoped_var#_Z20init_with_scoped_varv.d05db806da6f4e0759a7798d55b80e49_5" -> "init_with_scoped_var#_Z20init_with_scoped_varv.d05db806da6f4e0759a7798d55b80e49_3" ; -"init_with_scoped_var#_Z20init_with_scoped_varv.d05db806da6f4e0759a7798d55b80e49_6" [label="6: Prune (true branch) \n n$1=*&x:int [line 19]\n PRUNE((n$1 != 0), true); [line 19]\n " shape="invhouse"] +"init_with_scoped_var#_Z20init_with_scoped_varv.d05db806da6f4e0759a7798d55b80e49_6" [label="6: Prune (true branch) \n n$1=*&x:int [line 19]\n PRUNE(n$1, true); [line 19]\n " shape="invhouse"] "init_with_scoped_var#_Z20init_with_scoped_varv.d05db806da6f4e0759a7798d55b80e49_6" -> "init_with_scoped_var#_Z20init_with_scoped_varv.d05db806da6f4e0759a7798d55b80e49_9" ; -"init_with_scoped_var#_Z20init_with_scoped_varv.d05db806da6f4e0759a7798d55b80e49_7" [label="7: Prune (false branch) \n n$1=*&x:int [line 19]\n PRUNE((n$1 == 0), false); [line 19]\n " shape="invhouse"] +"init_with_scoped_var#_Z20init_with_scoped_varv.d05db806da6f4e0759a7798d55b80e49_7" [label="7: Prune (false branch) \n n$1=*&x:int [line 19]\n PRUNE(!n$1, false); [line 19]\n " shape="invhouse"] "init_with_scoped_var#_Z20init_with_scoped_varv.d05db806da6f4e0759a7798d55b80e49_7" -> "init_with_scoped_var#_Z20init_with_scoped_varv.d05db806da6f4e0759a7798d55b80e49_2" ; diff --git a/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_if.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_if.cpp.dot index d5b297e58..0ff848699 100644 --- a/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_if.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_if.cpp.dot @@ -15,11 +15,11 @@ digraph iCFG { "simple_init_div1#_Z16simple_init_div1v.71983e33b10f4541f47e1e84e765d541_4" -> "simple_init_div1#_Z16simple_init_div1v.71983e33b10f4541f47e1e84e765d541_2" ; -"simple_init_div1#_Z16simple_init_div1v.71983e33b10f4541f47e1e84e765d541_5" [label="5: Prune (true branch) \n n$0=*&a:int [line 11]\n PRUNE((n$0 != 0), true); [line 11]\n " shape="invhouse"] +"simple_init_div1#_Z16simple_init_div1v.71983e33b10f4541f47e1e84e765d541_5" [label="5: Prune (true branch) \n n$0=*&a:int [line 11]\n PRUNE(n$0, true); [line 11]\n " shape="invhouse"] "simple_init_div1#_Z16simple_init_div1v.71983e33b10f4541f47e1e84e765d541_5" -> "simple_init_div1#_Z16simple_init_div1v.71983e33b10f4541f47e1e84e765d541_8" ; -"simple_init_div1#_Z16simple_init_div1v.71983e33b10f4541f47e1e84e765d541_6" [label="6: Prune (false branch) \n n$0=*&a:int [line 11]\n PRUNE((n$0 == 0), false); [line 11]\n " shape="invhouse"] +"simple_init_div1#_Z16simple_init_div1v.71983e33b10f4541f47e1e84e765d541_6" [label="6: Prune (false branch) \n n$0=*&a:int [line 11]\n PRUNE(!n$0, false); [line 11]\n " shape="invhouse"] "simple_init_div1#_Z16simple_init_div1v.71983e33b10f4541f47e1e84e765d541_6" -> "simple_init_div1#_Z16simple_init_div1v.71983e33b10f4541f47e1e84e765d541_3" ; @@ -47,11 +47,11 @@ digraph iCFG { "simple_init_div0#_Z16simple_init_div0v.888e847bca66c46d7d8772ca91b8f93e_4" -> "simple_init_div0#_Z16simple_init_div0v.888e847bca66c46d7d8772ca91b8f93e_2" ; -"simple_init_div0#_Z16simple_init_div0v.888e847bca66c46d7d8772ca91b8f93e_5" [label="5: Prune (true branch) \n n$0=*&a:int [line 17]\n PRUNE((n$0 != 0), true); [line 17]\n " shape="invhouse"] +"simple_init_div0#_Z16simple_init_div0v.888e847bca66c46d7d8772ca91b8f93e_5" [label="5: Prune (true branch) \n n$0=*&a:int [line 17]\n PRUNE(n$0, true); [line 17]\n " shape="invhouse"] "simple_init_div0#_Z16simple_init_div0v.888e847bca66c46d7d8772ca91b8f93e_5" -> "simple_init_div0#_Z16simple_init_div0v.888e847bca66c46d7d8772ca91b8f93e_8" ; -"simple_init_div0#_Z16simple_init_div0v.888e847bca66c46d7d8772ca91b8f93e_6" [label="6: Prune (false branch) \n n$0=*&a:int [line 17]\n PRUNE((n$0 == 0), false); [line 17]\n " shape="invhouse"] +"simple_init_div0#_Z16simple_init_div0v.888e847bca66c46d7d8772ca91b8f93e_6" [label="6: Prune (false branch) \n n$0=*&a:int [line 17]\n PRUNE(!n$0, false); [line 17]\n " shape="invhouse"] "simple_init_div0#_Z16simple_init_div0v.888e847bca66c46d7d8772ca91b8f93e_6" -> "simple_init_div0#_Z16simple_init_div0v.888e847bca66c46d7d8772ca91b8f93e_9" ; @@ -83,11 +83,11 @@ digraph iCFG { "simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_4" -> "simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_2" ; -"simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_5" [label="5: Prune (true branch) \n n$0=*&a:int [line 25]\n PRUNE((n$0 != 0), true); [line 25]\n " shape="invhouse"] +"simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_5" [label="5: Prune (true branch) \n n$0=*&a:int [line 25]\n PRUNE(n$0, true); [line 25]\n " shape="invhouse"] "simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_5" -> "simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_8" ; -"simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_6" [label="6: Prune (false branch) \n n$0=*&a:int [line 25]\n PRUNE((n$0 == 0), false); [line 25]\n " shape="invhouse"] +"simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_6" [label="6: Prune (false branch) \n n$0=*&a:int [line 25]\n PRUNE(!n$0, false); [line 25]\n " shape="invhouse"] "simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_6" -> "simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_12" ; @@ -104,11 +104,11 @@ digraph iCFG { "simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_9" -> "simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_3" ; -"simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_10" [label="10: Prune (true branch) \n n$1=*&b:int [line 27]\n PRUNE((n$1 != 0), true); [line 27]\n " shape="invhouse"] +"simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_10" [label="10: Prune (true branch) \n n$1=*&b:int [line 27]\n PRUNE(n$1, true); [line 27]\n " shape="invhouse"] "simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_10" -> "simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_13" ; -"simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_11" [label="11: Prune (false branch) \n n$1=*&b:int [line 27]\n PRUNE((n$1 == 0), false); [line 27]\n " shape="invhouse"] +"simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_11" [label="11: Prune (false branch) \n n$1=*&b:int [line 27]\n PRUNE(!n$1, false); [line 27]\n " shape="invhouse"] "simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_11" -> "simple_inif_elseif_div0#_Z23simple_inif_elseif_div0v.88ddc6afa6e9fa024ac72c703f9de12f_14" ; @@ -151,11 +151,11 @@ digraph iCFG { "function_call_init_div0#_Z23function_call_init_div0v.c5b1156a9b411788293b1e06b27c17c3_4" -> "function_call_init_div0#_Z23function_call_init_div0v.c5b1156a9b411788293b1e06b27c17c3_2" ; -"function_call_init_div0#_Z23function_call_init_div0v.c5b1156a9b411788293b1e06b27c17c3_5" [label="5: Prune (true branch) \n n$0=*&a:int [line 37]\n PRUNE((n$0 != 0), true); [line 37]\n " shape="invhouse"] +"function_call_init_div0#_Z23function_call_init_div0v.c5b1156a9b411788293b1e06b27c17c3_5" [label="5: Prune (true branch) \n n$0=*&a:int [line 37]\n PRUNE(n$0, true); [line 37]\n " shape="invhouse"] "function_call_init_div0#_Z23function_call_init_div0v.c5b1156a9b411788293b1e06b27c17c3_5" -> "function_call_init_div0#_Z23function_call_init_div0v.c5b1156a9b411788293b1e06b27c17c3_8" ; -"function_call_init_div0#_Z23function_call_init_div0v.c5b1156a9b411788293b1e06b27c17c3_6" [label="6: Prune (false branch) \n n$0=*&a:int [line 37]\n PRUNE((n$0 == 0), false); [line 37]\n " shape="invhouse"] +"function_call_init_div0#_Z23function_call_init_div0v.c5b1156a9b411788293b1e06b27c17c3_6" [label="6: Prune (false branch) \n n$0=*&a:int [line 37]\n PRUNE(!n$0, false); [line 37]\n " shape="invhouse"] "function_call_init_div0#_Z23function_call_init_div0v.c5b1156a9b411788293b1e06b27c17c3_6" -> "function_call_init_div0#_Z23function_call_init_div0v.c5b1156a9b411788293b1e06b27c17c3_3" ; @@ -184,11 +184,11 @@ digraph iCFG { "conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_4" -> "conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_2" ; -"conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_5" [label="5: Prune (true branch) \n n$0=*&a:int [line 43]\n PRUNE((n$0 != 0), true); [line 43]\n " shape="invhouse"] +"conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_5" [label="5: Prune (true branch) \n n$0=*&a:int [line 43]\n PRUNE(n$0, true); [line 43]\n " shape="invhouse"] "conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_5" -> "conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_13" ; -"conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_6" [label="6: Prune (false branch) \n n$0=*&a:int [line 43]\n PRUNE((n$0 == 0), false); [line 43]\n " shape="invhouse"] +"conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_6" [label="6: Prune (false branch) \n n$0=*&a:int [line 43]\n PRUNE(!n$0, false); [line 43]\n " shape="invhouse"] "conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_6" -> "conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_3" ; @@ -196,11 +196,11 @@ digraph iCFG { "conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_7" -> "conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_12" ; -"conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_8" [label="8: Prune (true branch) \n PRUNE((1 != 0), true); [line 43]\n " shape="invhouse"] +"conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_8" [label="8: Prune (true branch) \n PRUNE(1, true); [line 43]\n " shape="invhouse"] "conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_8" -> "conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_10" ; -"conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_9" [label="9: Prune (false branch) \n PRUNE((1 == 0), false); [line 43]\n " shape="invhouse"] +"conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_9" [label="9: Prune (false branch) \n PRUNE(!1, false); [line 43]\n " shape="invhouse"] "conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_9" -> "conditional_init_div0#_Z21conditional_init_div0v.4d4f59aba89a663ca2cf90cff28186cf_11" ; @@ -236,11 +236,11 @@ digraph iCFG { "reference_init_div0#_Z19reference_init_div0v.420c69cf1326736562bfd6a403fcc71d_4" -> "reference_init_div0#_Z19reference_init_div0v.420c69cf1326736562bfd6a403fcc71d_3" ; -"reference_init_div0#_Z19reference_init_div0v.420c69cf1326736562bfd6a403fcc71d_5" [label="5: Prune (true branch) \n n$1=*&a:int& [line 50]\n n$2=*n$1:int [line 50]\n PRUNE((n$2 != 0), true); [line 50]\n " shape="invhouse"] +"reference_init_div0#_Z19reference_init_div0v.420c69cf1326736562bfd6a403fcc71d_5" [label="5: Prune (true branch) \n n$1=*&a:int& [line 50]\n n$2=*n$1:int [line 50]\n PRUNE(n$2, true); [line 50]\n " shape="invhouse"] "reference_init_div0#_Z19reference_init_div0v.420c69cf1326736562bfd6a403fcc71d_5" -> "reference_init_div0#_Z19reference_init_div0v.420c69cf1326736562bfd6a403fcc71d_8" ; -"reference_init_div0#_Z19reference_init_div0v.420c69cf1326736562bfd6a403fcc71d_6" [label="6: Prune (false branch) \n n$1=*&a:int& [line 50]\n n$2=*n$1:int [line 50]\n PRUNE((n$2 == 0), false); [line 50]\n " shape="invhouse"] +"reference_init_div0#_Z19reference_init_div0v.420c69cf1326736562bfd6a403fcc71d_6" [label="6: Prune (false branch) \n n$1=*&a:int& [line 50]\n n$2=*n$1:int [line 50]\n PRUNE(!n$2, false); [line 50]\n " shape="invhouse"] "reference_init_div0#_Z19reference_init_div0v.420c69cf1326736562bfd6a403fcc71d_6" -> "reference_init_div0#_Z19reference_init_div0v.420c69cf1326736562bfd6a403fcc71d_4" ; @@ -272,11 +272,11 @@ digraph iCFG { "simple_init_null_deref#_Z22simple_init_null_derefv.51237ff521b47073ad7ab901ba61265c_4" -> "simple_init_null_deref#_Z22simple_init_null_derefv.51237ff521b47073ad7ab901ba61265c_2" ; -"simple_init_null_deref#_Z22simple_init_null_derefv.51237ff521b47073ad7ab901ba61265c_5" [label="5: Prune (true branch) \n n$0=*&p:int* [line 57]\n PRUNE((n$0 != 0), true); [line 57]\n " shape="invhouse"] +"simple_init_null_deref#_Z22simple_init_null_derefv.51237ff521b47073ad7ab901ba61265c_5" [label="5: Prune (true branch) \n n$0=*&p:int* [line 57]\n PRUNE(n$0, true); [line 57]\n " shape="invhouse"] "simple_init_null_deref#_Z22simple_init_null_derefv.51237ff521b47073ad7ab901ba61265c_5" -> "simple_init_null_deref#_Z22simple_init_null_derefv.51237ff521b47073ad7ab901ba61265c_8" ; -"simple_init_null_deref#_Z22simple_init_null_derefv.51237ff521b47073ad7ab901ba61265c_6" [label="6: Prune (false branch) \n n$0=*&p:int* [line 57]\n PRUNE((n$0 == 0), false); [line 57]\n " shape="invhouse"] +"simple_init_null_deref#_Z22simple_init_null_derefv.51237ff521b47073ad7ab901ba61265c_6" [label="6: Prune (false branch) \n n$0=*&p:int* [line 57]\n PRUNE(!n$0, false); [line 57]\n " shape="invhouse"] "simple_init_null_deref#_Z22simple_init_null_derefv.51237ff521b47073ad7ab901ba61265c_6" -> "simple_init_null_deref#_Z22simple_init_null_derefv.51237ff521b47073ad7ab901ba61265c_9" ; diff --git a/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_switch.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_switch.cpp.dot index 2bbc59f9f..7d7724811 100644 --- a/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_switch.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_switch.cpp.dot @@ -28,11 +28,11 @@ digraph iCFG { "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_7" -> "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_2" ; -"get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_8" [label="8: Prune (true branch) \n PRUNE(((n$0 == 2) != 0), true); [line 15]\n " shape="invhouse"] +"get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_8" [label="8: Prune (true branch) \n PRUNE((n$0 == 2), true); [line 15]\n " shape="invhouse"] "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_8" -> "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_7" ; -"get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_9" [label="9: Prune (false branch) \n PRUNE(((n$0 == 2) == 0), false); [line 15]\n " shape="invhouse"] +"get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_9" [label="9: Prune (false branch) \n PRUNE(!(n$0 == 2), false); [line 15]\n " shape="invhouse"] "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_9" -> "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_5" ; @@ -40,20 +40,20 @@ digraph iCFG { "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_10" -> "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_2" ; -"get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_11" [label="11: Prune (true branch) \n PRUNE(((n$0 == 1) != 0), true); [line 13]\n " shape="invhouse"] +"get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_11" [label="11: Prune (true branch) \n PRUNE((n$0 == 1), true); [line 13]\n " shape="invhouse"] "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_11" -> "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_10" ; -"get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_12" [label="12: Prune (false branch) \n PRUNE(((n$0 == 1) == 0), false); [line 13]\n " shape="invhouse"] +"get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_12" [label="12: Prune (false branch) \n PRUNE(!(n$0 == 1), false); [line 13]\n " shape="invhouse"] "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_12" -> "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_8" ; "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_12" -> "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_9" ; -"get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_13" [label="13: Prune (true branch) \n PRUNE(((n$0 == 0) != 0), true); [line 12]\n " shape="invhouse"] +"get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_13" [label="13: Prune (true branch) \n PRUNE((n$0 == 0), true); [line 12]\n " shape="invhouse"] "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_13" -> "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_10" ; -"get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_14" [label="14: Prune (false branch) \n PRUNE(((n$0 == 0) == 0), false); [line 12]\n " shape="invhouse"] +"get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_14" [label="14: Prune (false branch) \n PRUNE(!(n$0 == 0), false); [line 12]\n " shape="invhouse"] "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_14" -> "get#_Z3geti.1d02298fe5ac75f9576d4cbc2d8c4b49_11" ; diff --git a/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_while.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_while.cpp.dot index e6910b101..8bf2f46e5 100644 --- a/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_while.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/nestedoperators/var_decl_inside_while.cpp.dot @@ -15,11 +15,11 @@ digraph iCFG { "simple_assignment#_Z17simple_assignmentv.b5d2147289c7db2be3b27c47edd33d63_4" -> "simple_assignment#_Z17simple_assignmentv.b5d2147289c7db2be3b27c47edd33d63_7" ; -"simple_assignment#_Z17simple_assignmentv.b5d2147289c7db2be3b27c47edd33d63_5" [label="5: Prune (true branch) \n n$0=*&a:int [line 13]\n PRUNE((n$0 != 0), true); [line 13]\n " shape="invhouse"] +"simple_assignment#_Z17simple_assignmentv.b5d2147289c7db2be3b27c47edd33d63_5" [label="5: Prune (true branch) \n n$0=*&a:int [line 13]\n PRUNE(n$0, true); [line 13]\n " shape="invhouse"] "simple_assignment#_Z17simple_assignmentv.b5d2147289c7db2be3b27c47edd33d63_5" -> "simple_assignment#_Z17simple_assignmentv.b5d2147289c7db2be3b27c47edd33d63_9" ; -"simple_assignment#_Z17simple_assignmentv.b5d2147289c7db2be3b27c47edd33d63_6" [label="6: Prune (false branch) \n n$0=*&a:int [line 13]\n PRUNE((n$0 == 0), false); [line 13]\n " shape="invhouse"] +"simple_assignment#_Z17simple_assignmentv.b5d2147289c7db2be3b27c47edd33d63_6" [label="6: Prune (false branch) \n n$0=*&a:int [line 13]\n PRUNE(!n$0, false); [line 13]\n " shape="invhouse"] "simple_assignment#_Z17simple_assignmentv.b5d2147289c7db2be3b27c47edd33d63_6" -> "simple_assignment#_Z17simple_assignmentv.b5d2147289c7db2be3b27c47edd33d63_3" ; @@ -59,11 +59,11 @@ digraph iCFG { "conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_4" -> "conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_8" ; -"conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_5" [label="5: Prune (true branch) \n n$0=*&a:int [line 23]\n PRUNE((n$0 != 0), true); [line 23]\n " shape="invhouse"] +"conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_5" [label="5: Prune (true branch) \n n$0=*&a:int [line 23]\n PRUNE(n$0, true); [line 23]\n " shape="invhouse"] "conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_5" -> "conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_15" ; -"conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_6" [label="6: Prune (false branch) \n n$0=*&a:int [line 23]\n PRUNE((n$0 == 0), false); [line 23]\n " shape="invhouse"] +"conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_6" [label="6: Prune (false branch) \n n$0=*&a:int [line 23]\n PRUNE(!n$0, false); [line 23]\n " shape="invhouse"] "conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_6" -> "conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_3" ; @@ -76,11 +76,11 @@ digraph iCFG { "conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_8" -> "conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_9" ; "conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_8" -> "conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_10" ; -"conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_9" [label="9: Prune (true branch) \n PRUNE(((n$2 > 0) != 0), true); [line 23]\n " shape="invhouse"] +"conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_9" [label="9: Prune (true branch) \n PRUNE((n$2 > 0), true); [line 23]\n " shape="invhouse"] "conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_9" -> "conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_11" ; -"conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_10" [label="10: Prune (false branch) \n PRUNE(((n$2 > 0) == 0), false); [line 23]\n " shape="invhouse"] +"conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_10" [label="10: Prune (false branch) \n PRUNE(!(n$2 > 0), false); [line 23]\n " shape="invhouse"] "conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_10" -> "conditional_assignment#_Z22conditional_assignmentv.1d3113923ffcc39af82bb9111373c02f_12" ; diff --git a/infer/tests/codetoanalyze/cpp/shared/reference/reference_struct_e2e.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/reference/reference_struct_e2e.cpp.dot index 046f51e5c..fc15de962 100644 --- a/infer/tests/codetoanalyze/cpp/shared/reference/reference_struct_e2e.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/reference/reference_struct_e2e.cpp.dot @@ -223,11 +223,11 @@ digraph iCFG { "method_div0_ptr#_Z15method_div0_ptrP1X.89748dda027601789e559d77df3bd502_4" -> "method_div0_ptr#_Z15method_div0_ptrP1X.89748dda027601789e559d77df3bd502_2" ; -"method_div0_ptr#_Z15method_div0_ptrP1X.89748dda027601789e559d77df3bd502_5" [label="5: Prune (true branch) \n n$0=*&x:X* [line 34]\n PRUNE((n$0 != 0), true); [line 34]\n " shape="invhouse"] +"method_div0_ptr#_Z15method_div0_ptrP1X.89748dda027601789e559d77df3bd502_5" [label="5: Prune (true branch) \n n$0=*&x:X* [line 34]\n PRUNE(n$0, true); [line 34]\n " shape="invhouse"] "method_div0_ptr#_Z15method_div0_ptrP1X.89748dda027601789e559d77df3bd502_5" -> "method_div0_ptr#_Z15method_div0_ptrP1X.89748dda027601789e559d77df3bd502_8" ; -"method_div0_ptr#_Z15method_div0_ptrP1X.89748dda027601789e559d77df3bd502_6" [label="6: Prune (false branch) \n n$0=*&x:X* [line 34]\n PRUNE((n$0 == 0), false); [line 34]\n " shape="invhouse"] +"method_div0_ptr#_Z15method_div0_ptrP1X.89748dda027601789e559d77df3bd502_6" [label="6: Prune (false branch) \n n$0=*&x:X* [line 34]\n PRUNE(!n$0, false); [line 34]\n " shape="invhouse"] "method_div0_ptr#_Z15method_div0_ptrP1X.89748dda027601789e559d77df3bd502_6" -> "method_div0_ptr#_Z15method_div0_ptrP1X.89748dda027601789e559d77df3bd502_3" ; @@ -255,11 +255,11 @@ digraph iCFG { "method_div1_ptr#_Z15method_div1_ptrP1X.bca763ecaac4ee9e4e051ad3a1a68639_4" -> "method_div1_ptr#_Z15method_div1_ptrP1X.bca763ecaac4ee9e4e051ad3a1a68639_2" ; -"method_div1_ptr#_Z15method_div1_ptrP1X.bca763ecaac4ee9e4e051ad3a1a68639_5" [label="5: Prune (true branch) \n n$0=*&x:X* [line 41]\n PRUNE((n$0 != 0), true); [line 41]\n " shape="invhouse"] +"method_div1_ptr#_Z15method_div1_ptrP1X.bca763ecaac4ee9e4e051ad3a1a68639_5" [label="5: Prune (true branch) \n n$0=*&x:X* [line 41]\n PRUNE(n$0, true); [line 41]\n " shape="invhouse"] "method_div1_ptr#_Z15method_div1_ptrP1X.bca763ecaac4ee9e4e051ad3a1a68639_5" -> "method_div1_ptr#_Z15method_div1_ptrP1X.bca763ecaac4ee9e4e051ad3a1a68639_8" ; -"method_div1_ptr#_Z15method_div1_ptrP1X.bca763ecaac4ee9e4e051ad3a1a68639_6" [label="6: Prune (false branch) \n n$0=*&x:X* [line 41]\n PRUNE((n$0 == 0), false); [line 41]\n " shape="invhouse"] +"method_div1_ptr#_Z15method_div1_ptrP1X.bca763ecaac4ee9e4e051ad3a1a68639_6" [label="6: Prune (false branch) \n n$0=*&x:X* [line 41]\n PRUNE(!n$0, false); [line 41]\n " shape="invhouse"] "method_div1_ptr#_Z15method_div1_ptrP1X.bca763ecaac4ee9e4e051ad3a1a68639_6" -> "method_div1_ptr#_Z15method_div1_ptrP1X.bca763ecaac4ee9e4e051ad3a1a68639_3" ; @@ -287,11 +287,11 @@ digraph iCFG { "field_div0_ptr#_Z14field_div0_ptrP1X.dd7817bc5e741382fd4c50ecc2b5232f_4" -> "field_div0_ptr#_Z14field_div0_ptrP1X.dd7817bc5e741382fd4c50ecc2b5232f_2" ; -"field_div0_ptr#_Z14field_div0_ptrP1X.dd7817bc5e741382fd4c50ecc2b5232f_5" [label="5: Prune (true branch) \n n$0=*&x:X* [line 48]\n PRUNE((n$0 != 0), true); [line 48]\n " shape="invhouse"] +"field_div0_ptr#_Z14field_div0_ptrP1X.dd7817bc5e741382fd4c50ecc2b5232f_5" [label="5: Prune (true branch) \n n$0=*&x:X* [line 48]\n PRUNE(n$0, true); [line 48]\n " shape="invhouse"] "field_div0_ptr#_Z14field_div0_ptrP1X.dd7817bc5e741382fd4c50ecc2b5232f_5" -> "field_div0_ptr#_Z14field_div0_ptrP1X.dd7817bc5e741382fd4c50ecc2b5232f_8" ; -"field_div0_ptr#_Z14field_div0_ptrP1X.dd7817bc5e741382fd4c50ecc2b5232f_6" [label="6: Prune (false branch) \n n$0=*&x:X* [line 48]\n PRUNE((n$0 == 0), false); [line 48]\n " shape="invhouse"] +"field_div0_ptr#_Z14field_div0_ptrP1X.dd7817bc5e741382fd4c50ecc2b5232f_6" [label="6: Prune (false branch) \n n$0=*&x:X* [line 48]\n PRUNE(!n$0, false); [line 48]\n " shape="invhouse"] "field_div0_ptr#_Z14field_div0_ptrP1X.dd7817bc5e741382fd4c50ecc2b5232f_6" -> "field_div0_ptr#_Z14field_div0_ptrP1X.dd7817bc5e741382fd4c50ecc2b5232f_3" ; @@ -319,11 +319,11 @@ digraph iCFG { "field_div1_ptr#_Z14field_div1_ptrP1X.815a8370627b5e78bb1fad6408d1711b_4" -> "field_div1_ptr#_Z14field_div1_ptrP1X.815a8370627b5e78bb1fad6408d1711b_2" ; -"field_div1_ptr#_Z14field_div1_ptrP1X.815a8370627b5e78bb1fad6408d1711b_5" [label="5: Prune (true branch) \n n$0=*&x:X* [line 55]\n PRUNE((n$0 != 0), true); [line 55]\n " shape="invhouse"] +"field_div1_ptr#_Z14field_div1_ptrP1X.815a8370627b5e78bb1fad6408d1711b_5" [label="5: Prune (true branch) \n n$0=*&x:X* [line 55]\n PRUNE(n$0, true); [line 55]\n " shape="invhouse"] "field_div1_ptr#_Z14field_div1_ptrP1X.815a8370627b5e78bb1fad6408d1711b_5" -> "field_div1_ptr#_Z14field_div1_ptrP1X.815a8370627b5e78bb1fad6408d1711b_8" ; -"field_div1_ptr#_Z14field_div1_ptrP1X.815a8370627b5e78bb1fad6408d1711b_6" [label="6: Prune (false branch) \n n$0=*&x:X* [line 55]\n PRUNE((n$0 == 0), false); [line 55]\n " shape="invhouse"] +"field_div1_ptr#_Z14field_div1_ptrP1X.815a8370627b5e78bb1fad6408d1711b_6" [label="6: Prune (false branch) \n n$0=*&x:X* [line 55]\n PRUNE(!n$0, false); [line 55]\n " shape="invhouse"] "field_div1_ptr#_Z14field_div1_ptrP1X.815a8370627b5e78bb1fad6408d1711b_6" -> "field_div1_ptr#_Z14field_div1_ptrP1X.815a8370627b5e78bb1fad6408d1711b_3" ; diff --git a/infer/tests/codetoanalyze/cpp/shared/templates/sizeof_pack.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/templates/sizeof_pack.cpp.dot index 5377556e2..73d0cd570 100644 --- a/infer/tests/codetoanalyze/cpp/shared/templates/sizeof_pack.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/templates/sizeof_pack.cpp.dot @@ -26,11 +26,11 @@ digraph iCFG { "hash_combine_generic#_Z20hash_combine_genericI8MyHasheriJiiEEiRKT0_DpRKT1_.3a83fee393c73f136d3b23cd9979468e_4" -> "hash_combine_generic#_Z20hash_combine_genericI8MyHasheriJiiEEiRKT0_DpRKT1_.3a83fee393c73f136d3b23cd9979468e_3" ; -"hash_combine_generic#_Z20hash_combine_genericI8MyHasheriJiiEEiRKT0_DpRKT1_.3a83fee393c73f136d3b23cd9979468e_5" [label="5: Prune (true branch) \n PRUNE(((_t$0 == 0) != 0), true); [line 17]\n " shape="invhouse"] +"hash_combine_generic#_Z20hash_combine_genericI8MyHasheriJiiEEiRKT0_DpRKT1_.3a83fee393c73f136d3b23cd9979468e_5" [label="5: Prune (true branch) \n PRUNE((_t$0 == 0), true); [line 17]\n " shape="invhouse"] "hash_combine_generic#_Z20hash_combine_genericI8MyHasheriJiiEEiRKT0_DpRKT1_.3a83fee393c73f136d3b23cd9979468e_5" -> "hash_combine_generic#_Z20hash_combine_genericI8MyHasheriJiiEEiRKT0_DpRKT1_.3a83fee393c73f136d3b23cd9979468e_7" ; -"hash_combine_generic#_Z20hash_combine_genericI8MyHasheriJiiEEiRKT0_DpRKT1_.3a83fee393c73f136d3b23cd9979468e_6" [label="6: Prune (false branch) \n PRUNE(((_t$0 == 0) == 0), false); [line 17]\n " shape="invhouse"] +"hash_combine_generic#_Z20hash_combine_genericI8MyHasheriJiiEEiRKT0_DpRKT1_.3a83fee393c73f136d3b23cd9979468e_6" [label="6: Prune (false branch) \n PRUNE(!(_t$0 == 0), false); [line 17]\n " shape="invhouse"] "hash_combine_generic#_Z20hash_combine_genericI8MyHasheriJiiEEiRKT0_DpRKT1_.3a83fee393c73f136d3b23cd9979468e_6" -> "hash_combine_generic#_Z20hash_combine_genericI8MyHasheriJiiEEiRKT0_DpRKT1_.3a83fee393c73f136d3b23cd9979468e_4" ; diff --git a/infer/tests/codetoanalyze/cpp/shared/types/struct_forward_declare.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/types/struct_forward_declare.cpp.dot index 8629c4e04..82a1ccabf 100644 --- a/infer/tests/codetoanalyze/cpp/shared/types/struct_forward_declare.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/types/struct_forward_declare.cpp.dot @@ -34,11 +34,11 @@ digraph iCFG { "X_Y_div0#struct_forward_declare#_ZN22struct_forward_declare8X_Y_div0Ev.bd1a4d8b7b32a118f7842bed79764012_4" -> "X_Y_div0#struct_forward_declare#_ZN22struct_forward_declare8X_Y_div0Ev.bd1a4d8b7b32a118f7842bed79764012_3" ; -"X_Y_div0#struct_forward_declare#_ZN22struct_forward_declare8X_Y_div0Ev.bd1a4d8b7b32a118f7842bed79764012_5" [label="5: Prune (true branch) \n n$2=*&x.y:struct_forward_declare::Y* [line 51]\n PRUNE((n$2 != 0), true); [line 51]\n " shape="invhouse"] +"X_Y_div0#struct_forward_declare#_ZN22struct_forward_declare8X_Y_div0Ev.bd1a4d8b7b32a118f7842bed79764012_5" [label="5: Prune (true branch) \n n$2=*&x.y:struct_forward_declare::Y* [line 51]\n PRUNE(n$2, true); [line 51]\n " shape="invhouse"] "X_Y_div0#struct_forward_declare#_ZN22struct_forward_declare8X_Y_div0Ev.bd1a4d8b7b32a118f7842bed79764012_5" -> "X_Y_div0#struct_forward_declare#_ZN22struct_forward_declare8X_Y_div0Ev.bd1a4d8b7b32a118f7842bed79764012_7" ; -"X_Y_div0#struct_forward_declare#_ZN22struct_forward_declare8X_Y_div0Ev.bd1a4d8b7b32a118f7842bed79764012_6" [label="6: Prune (false branch) \n n$2=*&x.y:struct_forward_declare::Y* [line 51]\n PRUNE((n$2 == 0), false); [line 51]\n " shape="invhouse"] +"X_Y_div0#struct_forward_declare#_ZN22struct_forward_declare8X_Y_div0Ev.bd1a4d8b7b32a118f7842bed79764012_6" [label="6: Prune (false branch) \n n$2=*&x.y:struct_forward_declare::Y* [line 51]\n PRUNE(!n$2, false); [line 51]\n " shape="invhouse"] "X_Y_div0#struct_forward_declare#_ZN22struct_forward_declare8X_Y_div0Ev.bd1a4d8b7b32a118f7842bed79764012_6" -> "X_Y_div0#struct_forward_declare#_ZN22struct_forward_declare8X_Y_div0Ev.bd1a4d8b7b32a118f7842bed79764012_4" ; diff --git a/infer/tests/codetoanalyze/objc/frontend/boxing/array.m.dot b/infer/tests/codetoanalyze/objc/frontend/boxing/array.m.dot index 1e242adf6..9f948d375 100644 --- a/infer/tests/codetoanalyze/objc/frontend/boxing/array.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/boxing/array.m.dot @@ -20,11 +20,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_6" ; "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_7" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE(((n$0 != null) != 0), true); [line 26]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch) \n PRUNE((n$0 != null), true); [line 26]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_9" ; -"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE(((n$0 != null) == 0), false); [line 26]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 != null), false); [line 26]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; diff --git a/infer/tests/codetoanalyze/objc/frontend/conditional_operation/ConditionalOperation.m.dot b/infer/tests/codetoanalyze/objc/frontend/conditional_operation/ConditionalOperation.m.dot index 493047a3f..9d7eae7fb 100644 --- a/infer/tests/codetoanalyze/objc/frontend/conditional_operation/ConditionalOperation.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/conditional_operation/ConditionalOperation.m.dot @@ -12,11 +12,11 @@ digraph iCFG { "test5:#A#instance.4d6ac42705853160b533ab46b444624a_3" -> "test5:#A#instance.4d6ac42705853160b533ab46b444624a_8" ; -"test5:#A#instance.4d6ac42705853160b533ab46b444624a_4" [label="4: Prune (true branch) \n n$3=*&b:_Bool [line 24]\n PRUNE((n$3 != 0), true); [line 24]\n " shape="invhouse"] +"test5:#A#instance.4d6ac42705853160b533ab46b444624a_4" [label="4: Prune (true branch) \n n$3=*&b:_Bool [line 24]\n PRUNE(n$3, true); [line 24]\n " shape="invhouse"] "test5:#A#instance.4d6ac42705853160b533ab46b444624a_4" -> "test5:#A#instance.4d6ac42705853160b533ab46b444624a_6" ; -"test5:#A#instance.4d6ac42705853160b533ab46b444624a_5" [label="5: Prune (false branch) \n n$3=*&b:_Bool [line 24]\n PRUNE((n$3 == 0), false); [line 24]\n " shape="invhouse"] +"test5:#A#instance.4d6ac42705853160b533ab46b444624a_5" [label="5: Prune (false branch) \n n$3=*&b:_Bool [line 24]\n PRUNE(!n$3, false); [line 24]\n " shape="invhouse"] "test5:#A#instance.4d6ac42705853160b533ab46b444624a_5" -> "test5:#A#instance.4d6ac42705853160b533ab46b444624a_7" ; diff --git a/infer/tests/codetoanalyze/objc/frontend/exceptions/ExceptionExample.m.dot b/infer/tests/codetoanalyze/objc/frontend/exceptions/ExceptionExample.m.dot index 9adf618ac..994a92104 100644 --- a/infer/tests/codetoanalyze/objc/frontend/exceptions/ExceptionExample.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/exceptions/ExceptionExample.m.dot @@ -30,11 +30,11 @@ digraph iCFG { "test1#ExceptionExample#instance.400b3bc567ff814f7f6788584460738f_4" -> "test1#ExceptionExample#instance.400b3bc567ff814f7f6788584460738f_2" ; -"test1#ExceptionExample#instance.400b3bc567ff814f7f6788584460738f_5" [label="5: Prune (true branch) \n n$3=*&s:NSString* [line 29]\n PRUNE((n$3 != 0), true); [line 29]\n " shape="invhouse"] +"test1#ExceptionExample#instance.400b3bc567ff814f7f6788584460738f_5" [label="5: Prune (true branch) \n n$3=*&s:NSString* [line 29]\n PRUNE(n$3, true); [line 29]\n " shape="invhouse"] "test1#ExceptionExample#instance.400b3bc567ff814f7f6788584460738f_5" -> "test1#ExceptionExample#instance.400b3bc567ff814f7f6788584460738f_7" ; -"test1#ExceptionExample#instance.400b3bc567ff814f7f6788584460738f_6" [label="6: Prune (false branch) \n n$3=*&s:NSString* [line 29]\n PRUNE((n$3 == 0), false); [line 29]\n " shape="invhouse"] +"test1#ExceptionExample#instance.400b3bc567ff814f7f6788584460738f_6" [label="6: Prune (false branch) \n n$3=*&s:NSString* [line 29]\n PRUNE(!n$3, false); [line 29]\n " shape="invhouse"] "test1#ExceptionExample#instance.400b3bc567ff814f7f6788584460738f_6" -> "test1#ExceptionExample#instance.400b3bc567ff814f7f6788584460738f_3" ; diff --git a/infer/tests/codetoanalyze/objc/frontend/fast_enumeration/Fast_enumeration.m.dot b/infer/tests/codetoanalyze/objc/frontend/fast_enumeration/Fast_enumeration.m.dot index a4e0f07c8..c63918652 100644 --- a/infer/tests/codetoanalyze/objc/frontend/fast_enumeration/Fast_enumeration.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/fast_enumeration/Fast_enumeration.m.dot @@ -20,11 +20,11 @@ digraph iCFG { "fast_loop:#A#instance.9cd800cb29c7a698fe4cc371a7448f6e_5" -> "fast_loop:#A#instance.9cd800cb29c7a698fe4cc371a7448f6e_6" ; "fast_loop:#A#instance.9cd800cb29c7a698fe4cc371a7448f6e_5" -> "fast_loop:#A#instance.9cd800cb29c7a698fe4cc371a7448f6e_7" ; -"fast_loop:#A#instance.9cd800cb29c7a698fe4cc371a7448f6e_6" [label="6: Prune (true branch) \n PRUNE(((n$1 != null) != 0), true); [line 19]\n " shape="invhouse"] +"fast_loop:#A#instance.9cd800cb29c7a698fe4cc371a7448f6e_6" [label="6: Prune (true branch) \n PRUNE((n$1 != null), true); [line 19]\n " shape="invhouse"] "fast_loop:#A#instance.9cd800cb29c7a698fe4cc371a7448f6e_6" -> "fast_loop:#A#instance.9cd800cb29c7a698fe4cc371a7448f6e_9" ; -"fast_loop:#A#instance.9cd800cb29c7a698fe4cc371a7448f6e_7" [label="7: Prune (false branch) \n PRUNE(((n$1 != null) == 0), false); [line 19]\n " shape="invhouse"] +"fast_loop:#A#instance.9cd800cb29c7a698fe4cc371a7448f6e_7" [label="7: Prune (false branch) \n PRUNE(!(n$1 != null), false); [line 19]\n " shape="invhouse"] "fast_loop:#A#instance.9cd800cb29c7a698fe4cc371a7448f6e_7" -> "fast_loop:#A#instance.9cd800cb29c7a698fe4cc371a7448f6e_3" ; @@ -64,11 +64,11 @@ digraph iCFG { "while_loop:#A#instance.30e9692b3abdc47bcb262e353f292a28_5" -> "while_loop:#A#instance.30e9692b3abdc47bcb262e353f292a28_6" ; "while_loop:#A#instance.30e9692b3abdc47bcb262e353f292a28_5" -> "while_loop:#A#instance.30e9692b3abdc47bcb262e353f292a28_7" ; -"while_loop:#A#instance.30e9692b3abdc47bcb262e353f292a28_6" [label="6: Prune (true branch) \n PRUNE((n$12 != 0), true); [line 28]\n " shape="invhouse"] +"while_loop:#A#instance.30e9692b3abdc47bcb262e353f292a28_6" [label="6: Prune (true branch) \n PRUNE(n$12, true); [line 28]\n " shape="invhouse"] "while_loop:#A#instance.30e9692b3abdc47bcb262e353f292a28_6" -> "while_loop:#A#instance.30e9692b3abdc47bcb262e353f292a28_8" ; -"while_loop:#A#instance.30e9692b3abdc47bcb262e353f292a28_7" [label="7: Prune (false branch) \n PRUNE((n$12 == 0), false); [line 28]\n " shape="invhouse"] +"while_loop:#A#instance.30e9692b3abdc47bcb262e353f292a28_7" [label="7: Prune (false branch) \n PRUNE(!n$12, false); [line 28]\n " shape="invhouse"] "while_loop:#A#instance.30e9692b3abdc47bcb262e353f292a28_7" -> "while_loop:#A#instance.30e9692b3abdc47bcb262e353f292a28_3" ; diff --git a/infer/tests/codetoanalyze/objc/frontend/protocol/protocol.m.dot b/infer/tests/codetoanalyze/objc/frontend/protocol/protocol.m.dot index b461099b3..20cfdd7d6 100644 --- a/infer/tests/codetoanalyze/objc/frontend/protocol/protocol.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/protocol/protocol.m.dot @@ -20,11 +20,11 @@ digraph iCFG { "fooMethod#Bla#instance.d982e99c073f2d30dc24c41bb29add6a_5" -> "fooMethod#Bla#instance.d982e99c073f2d30dc24c41bb29add6a_6" ; "fooMethod#Bla#instance.d982e99c073f2d30dc24c41bb29add6a_5" -> "fooMethod#Bla#instance.d982e99c073f2d30dc24c41bb29add6a_7" ; -"fooMethod#Bla#instance.d982e99c073f2d30dc24c41bb29add6a_6" [label="6: Prune (true branch) \n PRUNE((n$1 != 0), true); [line 25]\n " shape="invhouse"] +"fooMethod#Bla#instance.d982e99c073f2d30dc24c41bb29add6a_6" [label="6: Prune (true branch) \n PRUNE(n$1, true); [line 25]\n " shape="invhouse"] "fooMethod#Bla#instance.d982e99c073f2d30dc24c41bb29add6a_6" -> "fooMethod#Bla#instance.d982e99c073f2d30dc24c41bb29add6a_8" ; -"fooMethod#Bla#instance.d982e99c073f2d30dc24c41bb29add6a_7" [label="7: Prune (false branch) \n PRUNE((n$1 == 0), false); [line 25]\n " shape="invhouse"] +"fooMethod#Bla#instance.d982e99c073f2d30dc24c41bb29add6a_7" [label="7: Prune (false branch) \n PRUNE(!n$1, false); [line 25]\n " shape="invhouse"] "fooMethod#Bla#instance.d982e99c073f2d30dc24c41bb29add6a_7" -> "fooMethod#Bla#instance.d982e99c073f2d30dc24c41bb29add6a_3" ; diff --git a/infer/tests/codetoanalyze/objc/frontend/returnstmt/void_return.m.dot b/infer/tests/codetoanalyze/objc/frontend/returnstmt/void_return.m.dot index 78fcfeff9..a00c36609 100644 --- a/infer/tests/codetoanalyze/objc/frontend/returnstmt/void_return.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/returnstmt/void_return.m.dot @@ -20,11 +20,11 @@ digraph iCFG { "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_5" -> "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_6" ; "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_5" -> "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_7" ; -"aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_6" [label="6: Prune (true branch) \n PRUNE(((n$0 == 0) != 0), true); [line 25]\n " shape="invhouse"] +"aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_6" [label="6: Prune (true branch) \n PRUNE((n$0 == 0), true); [line 25]\n " shape="invhouse"] "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_6" -> "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_8" ; -"aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_7" [label="7: Prune (false branch) \n PRUNE(((n$0 == 0) == 0), false); [line 25]\n " shape="invhouse"] +"aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 == 0), false); [line 25]\n " shape="invhouse"] "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_7" -> "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_3" ; @@ -41,11 +41,11 @@ digraph iCFG { "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_10" -> "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_11" ; "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_10" -> "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_12" ; -"aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_11" [label="11: Prune (true branch) \n PRUNE(((n$2 == 0) != 0), true); [line 21]\n " shape="invhouse"] +"aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_11" [label="11: Prune (true branch) \n PRUNE((n$2 == 0), true); [line 21]\n " shape="invhouse"] "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_11" -> "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_13" ; -"aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_12" [label="12: Prune (false branch) \n PRUNE(((n$2 == 0) == 0), false); [line 21]\n " shape="invhouse"] +"aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_12" [label="12: Prune (false branch) \n PRUNE(!(n$2 == 0), false); [line 21]\n " shape="invhouse"] "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_12" -> "aMethod#MyClass#instance.af06019e61fb7341a36c141ed90caaaf_9" ; diff --git a/infer/tests/codetoanalyze/objc/frontend/self_static/Self.m.dot b/infer/tests/codetoanalyze/objc/frontend/self_static/Self.m.dot index 9db1b3745..e99ef41b4 100644 --- a/infer/tests/codetoanalyze/objc/frontend/self_static/Self.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/self_static/Self.m.dot @@ -67,11 +67,11 @@ digraph iCFG { "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_5" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_6" ; "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_5" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_7" ; -"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_6" [label="6: Prune (true branch) \n PRUNE(((sizeof(t=A) != n$15) != 0), true); [line 95]\n " shape="invhouse"] +"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_6" [label="6: Prune (true branch) \n PRUNE((sizeof(t=A) != n$15), true); [line 95]\n " shape="invhouse"] "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_6" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_8" ; -"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_7" [label="7: Prune (false branch) \n PRUNE(((sizeof(t=A) != n$15) == 0), false); [line 95]\n " shape="invhouse"] +"used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_7" [label="7: Prune (false branch) \n PRUNE(!(sizeof(t=A) != n$15), false); [line 95]\n " shape="invhouse"] "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_7" -> "used_in_binary_op:#A#class.9f855a338b344f4b5060d2d4a2a955ed_9" ; diff --git a/infer/tests/codetoanalyze/objc/frontend/types/void_call.m.dot b/infer/tests/codetoanalyze/objc/frontend/types/void_call.m.dot index 5188299a0..d647ce56c 100644 --- a/infer/tests/codetoanalyze/objc/frontend/types/void_call.m.dot +++ b/infer/tests/codetoanalyze/objc/frontend/types/void_call.m.dot @@ -15,11 +15,11 @@ digraph iCFG { "main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_3" ; -"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: Prune (true branch) \n n$0=*&o:AClass* [line 42]\n PRUNE((n$0 != 0), true); [line 42]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: Prune (true branch) \n n$0=*&o:AClass* [line 42]\n PRUNE(n$0, true); [line 42]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_8" ; -"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (false branch) \n n$0=*&o:AClass* [line 42]\n PRUNE((n$0 == 0), false); [line 42]\n " shape="invhouse"] +"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (false branch) \n n$0=*&o:AClass* [line 42]\n PRUNE(!n$0, false); [line 42]\n " shape="invhouse"] "main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_4" ; diff --git a/infer/tests/codetoanalyze/objc/shared/assertions/NSAssert_example.m.dot b/infer/tests/codetoanalyze/objc/shared/assertions/NSAssert_example.m.dot index 65cb8685b..8a7719692 100644 --- a/infer/tests/codetoanalyze/objc/shared/assertions/NSAssert_example.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/assertions/NSAssert_example.m.dot @@ -15,11 +15,11 @@ digraph iCFG { "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_4" -> "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_9" ; -"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_5" [label="5: Prune (true branch) \n PRUNE((0 != 0), true); [line 24]\n " shape="invhouse"] +"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_5" [label="5: Prune (true branch) \n PRUNE(0, true); [line 24]\n " shape="invhouse"] "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_5" -> "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_4" ; -"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_6" [label="6: Prune (false branch) \n PRUNE((0 == 0), false); [line 24]\n " shape="invhouse"] +"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_6" [label="6: Prune (false branch) \n PRUNE(!0, false); [line 24]\n " shape="invhouse"] "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_6" -> "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_3" ; @@ -38,11 +38,11 @@ digraph iCFG { "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_9" -> "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_10" ; "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_9" -> "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_11" ; -"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_10" [label="10: Prune (true branch) \n PRUNE(((n$20 != null) != 0), true); [line 24]\n " shape="invhouse"] +"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_10" [label="10: Prune (true branch) \n PRUNE((n$20 != null), true); [line 24]\n " shape="invhouse"] "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_10" -> "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_12" ; -"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_11" [label="11: Prune (false branch) \n PRUNE(((n$20 != null) == 0), false); [line 24]\n " shape="invhouse"] +"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_11" [label="11: Prune (false branch) \n PRUNE(!(n$20 != null), false); [line 24]\n " shape="invhouse"] "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_11" -> "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_13" ; @@ -54,11 +54,11 @@ digraph iCFG { "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_13" -> "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_8" ; -"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_14" [label="14: Prune (true branch) \n n$21=*&0$?%__sil_tmpSIL_temp_conditional___n$19:int [line 24]\n PRUNE((n$21 != 0), true); [line 24]\n " shape="invhouse"] +"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_14" [label="14: Prune (true branch) \n n$21=*&0$?%__sil_tmpSIL_temp_conditional___n$19:int [line 24]\n PRUNE(n$21, true); [line 24]\n " shape="invhouse"] "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_14" -> "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_23" ; -"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_15" [label="15: Prune (false branch) \n n$21=*&0$?%__sil_tmpSIL_temp_conditional___n$19:int [line 24]\n PRUNE((n$21 == 0), false); [line 24]\n " shape="invhouse"] +"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_15" [label="15: Prune (false branch) \n n$21=*&0$?%__sil_tmpSIL_temp_conditional___n$19:int [line 24]\n PRUNE(!n$21, false); [line 24]\n " shape="invhouse"] "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_15" -> "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_7" ; @@ -70,11 +70,11 @@ digraph iCFG { "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_17" -> "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_22" ; -"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_18" [label="18: Prune (true branch) \n n$28=*&__assert_file__:NSString* [line 24]\n PRUNE((n$28 != 0), true); [line 24]\n " shape="invhouse"] +"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_18" [label="18: Prune (true branch) \n n$28=*&__assert_file__:NSString* [line 24]\n PRUNE(n$28, true); [line 24]\n " shape="invhouse"] "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_18" -> "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_20" ; -"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_19" [label="19: Prune (false branch) \n n$28=*&__assert_file__:NSString* [line 24]\n PRUNE((n$28 == 0), false); [line 24]\n " shape="invhouse"] +"initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_19" [label="19: Prune (false branch) \n n$28=*&__assert_file__:NSString* [line 24]\n PRUNE(!n$28, false); [line 24]\n " shape="invhouse"] "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_19" -> "initWithRequest:#NSAssert#instance.aa6bdc90db5d0e020b6778cefe9a011f_21" ; @@ -110,11 +110,11 @@ digraph iCFG { "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_4" -> "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_9" ; -"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_5" [label="5: Prune (true branch) \n PRUNE((0 != 0), true); [line 19]\n " shape="invhouse"] +"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_5" [label="5: Prune (true branch) \n PRUNE(0, true); [line 19]\n " shape="invhouse"] "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_5" -> "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_4" ; -"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_6" [label="6: Prune (false branch) \n PRUNE((0 == 0), false); [line 19]\n " shape="invhouse"] +"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_6" [label="6: Prune (false branch) \n PRUNE(!0, false); [line 19]\n " shape="invhouse"] "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_6" -> "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_3" ; @@ -133,11 +133,11 @@ digraph iCFG { "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_9" -> "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_10" ; "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_9" -> "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_11" ; -"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_10" [label="10: Prune (true branch) \n PRUNE(((n$3 != null) != 0), true); [line 19]\n " shape="invhouse"] +"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_10" [label="10: Prune (true branch) \n PRUNE((n$3 != null), true); [line 19]\n " shape="invhouse"] "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_10" -> "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_12" ; -"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_11" [label="11: Prune (false branch) \n PRUNE(((n$3 != null) == 0), false); [line 19]\n " shape="invhouse"] +"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_11" [label="11: Prune (false branch) \n PRUNE(!(n$3 != null), false); [line 19]\n " shape="invhouse"] "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_11" -> "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_13" ; @@ -149,11 +149,11 @@ digraph iCFG { "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_13" -> "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_8" ; -"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_14" [label="14: Prune (true branch) \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$2:int [line 19]\n PRUNE((n$4 != 0), true); [line 19]\n " shape="invhouse"] +"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_14" [label="14: Prune (true branch) \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$2:int [line 19]\n PRUNE(n$4, true); [line 19]\n " shape="invhouse"] "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_14" -> "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_23" ; -"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_15" [label="15: Prune (false branch) \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$2:int [line 19]\n PRUNE((n$4 == 0), false); [line 19]\n " shape="invhouse"] +"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_15" [label="15: Prune (false branch) \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$2:int [line 19]\n PRUNE(!n$4, false); [line 19]\n " shape="invhouse"] "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_15" -> "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_7" ; @@ -165,11 +165,11 @@ digraph iCFG { "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_17" -> "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_22" ; -"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_18" [label="18: Prune (true branch) \n n$11=*&__assert_file__:NSString* [line 19]\n PRUNE((n$11 != 0), true); [line 19]\n " shape="invhouse"] +"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_18" [label="18: Prune (true branch) \n n$11=*&__assert_file__:NSString* [line 19]\n PRUNE(n$11, true); [line 19]\n " shape="invhouse"] "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_18" -> "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_20" ; -"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_19" [label="19: Prune (false branch) \n n$11=*&__assert_file__:NSString* [line 19]\n PRUNE((n$11 == 0), false); [line 19]\n " shape="invhouse"] +"addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_19" [label="19: Prune (false branch) \n n$11=*&__assert_file__:NSString* [line 19]\n PRUNE(!n$11, false); [line 19]\n " shape="invhouse"] "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_19" -> "addTarget:#NSAssert#instance.69cefe4d9cf64204d99f63924a056673_21" ; @@ -205,11 +205,11 @@ digraph iCFG { "test1.5a105e8b9d40e1329780d62ea2265d8a_4" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_9" ; -"test1.5a105e8b9d40e1329780d62ea2265d8a_5" [label="5: Prune (true branch) \n PRUNE((0 != 0), true); [line 31]\n " shape="invhouse"] +"test1.5a105e8b9d40e1329780d62ea2265d8a_5" [label="5: Prune (true branch) \n PRUNE(0, true); [line 31]\n " shape="invhouse"] "test1.5a105e8b9d40e1329780d62ea2265d8a_5" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_4" ; -"test1.5a105e8b9d40e1329780d62ea2265d8a_6" [label="6: Prune (false branch) \n PRUNE((0 == 0), false); [line 31]\n " shape="invhouse"] +"test1.5a105e8b9d40e1329780d62ea2265d8a_6" [label="6: Prune (false branch) \n PRUNE(!0, false); [line 31]\n " shape="invhouse"] "test1.5a105e8b9d40e1329780d62ea2265d8a_6" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_3" ; @@ -228,11 +228,11 @@ digraph iCFG { "test1.5a105e8b9d40e1329780d62ea2265d8a_9" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_10" ; "test1.5a105e8b9d40e1329780d62ea2265d8a_9" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_11" ; -"test1.5a105e8b9d40e1329780d62ea2265d8a_10" [label="10: Prune (true branch) \n PRUNE(((n$3 != null) != 0), true); [line 31]\n " shape="invhouse"] +"test1.5a105e8b9d40e1329780d62ea2265d8a_10" [label="10: Prune (true branch) \n PRUNE((n$3 != null), true); [line 31]\n " shape="invhouse"] "test1.5a105e8b9d40e1329780d62ea2265d8a_10" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_12" ; -"test1.5a105e8b9d40e1329780d62ea2265d8a_11" [label="11: Prune (false branch) \n PRUNE(((n$3 != null) == 0), false); [line 31]\n " shape="invhouse"] +"test1.5a105e8b9d40e1329780d62ea2265d8a_11" [label="11: Prune (false branch) \n PRUNE(!(n$3 != null), false); [line 31]\n " shape="invhouse"] "test1.5a105e8b9d40e1329780d62ea2265d8a_11" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_13" ; @@ -244,11 +244,11 @@ digraph iCFG { "test1.5a105e8b9d40e1329780d62ea2265d8a_13" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_8" ; -"test1.5a105e8b9d40e1329780d62ea2265d8a_14" [label="14: Prune (true branch) \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$2:int [line 31]\n PRUNE((n$4 != 0), true); [line 31]\n " shape="invhouse"] +"test1.5a105e8b9d40e1329780d62ea2265d8a_14" [label="14: Prune (true branch) \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$2:int [line 31]\n PRUNE(n$4, true); [line 31]\n " shape="invhouse"] "test1.5a105e8b9d40e1329780d62ea2265d8a_14" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_30" ; -"test1.5a105e8b9d40e1329780d62ea2265d8a_15" [label="15: Prune (false branch) \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$2:int [line 31]\n PRUNE((n$4 == 0), false); [line 31]\n " shape="invhouse"] +"test1.5a105e8b9d40e1329780d62ea2265d8a_15" [label="15: Prune (false branch) \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$2:int [line 31]\n PRUNE(!n$4, false); [line 31]\n " shape="invhouse"] "test1.5a105e8b9d40e1329780d62ea2265d8a_15" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_7" ; @@ -260,11 +260,11 @@ digraph iCFG { "test1.5a105e8b9d40e1329780d62ea2265d8a_17" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_22" ; -"test1.5a105e8b9d40e1329780d62ea2265d8a_18" [label="18: Prune (true branch) \n n$10=*&__assert_file__:NSString* [line 31]\n PRUNE((n$10 != 0), true); [line 31]\n " shape="invhouse"] +"test1.5a105e8b9d40e1329780d62ea2265d8a_18" [label="18: Prune (true branch) \n n$10=*&__assert_file__:NSString* [line 31]\n PRUNE(n$10, true); [line 31]\n " shape="invhouse"] "test1.5a105e8b9d40e1329780d62ea2265d8a_18" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_20" ; -"test1.5a105e8b9d40e1329780d62ea2265d8a_19" [label="19: Prune (false branch) \n n$10=*&__assert_file__:NSString* [line 31]\n PRUNE((n$10 == 0), false); [line 31]\n " shape="invhouse"] +"test1.5a105e8b9d40e1329780d62ea2265d8a_19" [label="19: Prune (false branch) \n n$10=*&__assert_file__:NSString* [line 31]\n PRUNE(!n$10, false); [line 31]\n " shape="invhouse"] "test1.5a105e8b9d40e1329780d62ea2265d8a_19" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_21" ; @@ -289,11 +289,11 @@ digraph iCFG { "test1.5a105e8b9d40e1329780d62ea2265d8a_24" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_29" ; -"test1.5a105e8b9d40e1329780d62ea2265d8a_25" [label="25: Prune (true branch) \n n$17=*&__assert_fn__:NSString* [line 31]\n PRUNE((n$17 != 0), true); [line 31]\n " shape="invhouse"] +"test1.5a105e8b9d40e1329780d62ea2265d8a_25" [label="25: Prune (true branch) \n n$17=*&__assert_fn__:NSString* [line 31]\n PRUNE(n$17, true); [line 31]\n " shape="invhouse"] "test1.5a105e8b9d40e1329780d62ea2265d8a_25" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_27" ; -"test1.5a105e8b9d40e1329780d62ea2265d8a_26" [label="26: Prune (false branch) \n n$17=*&__assert_fn__:NSString* [line 31]\n PRUNE((n$17 == 0), false); [line 31]\n " shape="invhouse"] +"test1.5a105e8b9d40e1329780d62ea2265d8a_26" [label="26: Prune (false branch) \n n$17=*&__assert_fn__:NSString* [line 31]\n PRUNE(!n$17, false); [line 31]\n " shape="invhouse"] "test1.5a105e8b9d40e1329780d62ea2265d8a_26" -> "test1.5a105e8b9d40e1329780d62ea2265d8a_28" ; @@ -330,11 +330,11 @@ digraph iCFG { "test2.ad0234829205b9033196ba818f7a872b_4" -> "test2.ad0234829205b9033196ba818f7a872b_9" ; "test2.ad0234829205b9033196ba818f7a872b_4" -> "test2.ad0234829205b9033196ba818f7a872b_10" ; -"test2.ad0234829205b9033196ba818f7a872b_5" [label="5: Prune (true branch) \n PRUNE((0 != 0), true); [line 36]\n " shape="invhouse"] +"test2.ad0234829205b9033196ba818f7a872b_5" [label="5: Prune (true branch) \n PRUNE(0, true); [line 36]\n " shape="invhouse"] "test2.ad0234829205b9033196ba818f7a872b_5" -> "test2.ad0234829205b9033196ba818f7a872b_4" ; -"test2.ad0234829205b9033196ba818f7a872b_6" [label="6: Prune (false branch) \n PRUNE((0 == 0), false); [line 36]\n " shape="invhouse"] +"test2.ad0234829205b9033196ba818f7a872b_6" [label="6: Prune (false branch) \n PRUNE(!0, false); [line 36]\n " shape="invhouse"] "test2.ad0234829205b9033196ba818f7a872b_6" -> "test2.ad0234829205b9033196ba818f7a872b_3" ; @@ -348,11 +348,11 @@ digraph iCFG { "test2.ad0234829205b9033196ba818f7a872b_8" -> "test2.ad0234829205b9033196ba818f7a872b_13" ; "test2.ad0234829205b9033196ba818f7a872b_8" -> "test2.ad0234829205b9033196ba818f7a872b_14" ; -"test2.ad0234829205b9033196ba818f7a872b_9" [label="9: Prune (true branch) \n n$3=*&target:NSAssert* [line 36]\n PRUNE((n$3 != 0), true); [line 36]\n " shape="invhouse"] +"test2.ad0234829205b9033196ba818f7a872b_9" [label="9: Prune (true branch) \n n$3=*&target:NSAssert* [line 36]\n PRUNE(n$3, true); [line 36]\n " shape="invhouse"] "test2.ad0234829205b9033196ba818f7a872b_9" -> "test2.ad0234829205b9033196ba818f7a872b_11" ; -"test2.ad0234829205b9033196ba818f7a872b_10" [label="10: Prune (false branch) \n n$3=*&target:NSAssert* [line 36]\n PRUNE((n$3 == 0), false); [line 36]\n " shape="invhouse"] +"test2.ad0234829205b9033196ba818f7a872b_10" [label="10: Prune (false branch) \n n$3=*&target:NSAssert* [line 36]\n PRUNE(!n$3, false); [line 36]\n " shape="invhouse"] "test2.ad0234829205b9033196ba818f7a872b_10" -> "test2.ad0234829205b9033196ba818f7a872b_12" ; @@ -364,11 +364,11 @@ digraph iCFG { "test2.ad0234829205b9033196ba818f7a872b_12" -> "test2.ad0234829205b9033196ba818f7a872b_8" ; -"test2.ad0234829205b9033196ba818f7a872b_13" [label="13: Prune (true branch) \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$2:int [line 36]\n PRUNE((n$4 != 0), true); [line 36]\n " shape="invhouse"] +"test2.ad0234829205b9033196ba818f7a872b_13" [label="13: Prune (true branch) \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$2:int [line 36]\n PRUNE(n$4, true); [line 36]\n " shape="invhouse"] "test2.ad0234829205b9033196ba818f7a872b_13" -> "test2.ad0234829205b9033196ba818f7a872b_29" ; -"test2.ad0234829205b9033196ba818f7a872b_14" [label="14: Prune (false branch) \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$2:int [line 36]\n PRUNE((n$4 == 0), false); [line 36]\n " shape="invhouse"] +"test2.ad0234829205b9033196ba818f7a872b_14" [label="14: Prune (false branch) \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$2:int [line 36]\n PRUNE(!n$4, false); [line 36]\n " shape="invhouse"] "test2.ad0234829205b9033196ba818f7a872b_14" -> "test2.ad0234829205b9033196ba818f7a872b_7" ; @@ -380,11 +380,11 @@ digraph iCFG { "test2.ad0234829205b9033196ba818f7a872b_16" -> "test2.ad0234829205b9033196ba818f7a872b_21" ; -"test2.ad0234829205b9033196ba818f7a872b_17" [label="17: Prune (true branch) \n n$11=*&__assert_file__:NSString* [line 36]\n PRUNE((n$11 != 0), true); [line 36]\n " shape="invhouse"] +"test2.ad0234829205b9033196ba818f7a872b_17" [label="17: Prune (true branch) \n n$11=*&__assert_file__:NSString* [line 36]\n PRUNE(n$11, true); [line 36]\n " shape="invhouse"] "test2.ad0234829205b9033196ba818f7a872b_17" -> "test2.ad0234829205b9033196ba818f7a872b_19" ; -"test2.ad0234829205b9033196ba818f7a872b_18" [label="18: Prune (false branch) \n n$11=*&__assert_file__:NSString* [line 36]\n PRUNE((n$11 == 0), false); [line 36]\n " shape="invhouse"] +"test2.ad0234829205b9033196ba818f7a872b_18" [label="18: Prune (false branch) \n n$11=*&__assert_file__:NSString* [line 36]\n PRUNE(!n$11, false); [line 36]\n " shape="invhouse"] "test2.ad0234829205b9033196ba818f7a872b_18" -> "test2.ad0234829205b9033196ba818f7a872b_20" ; @@ -409,11 +409,11 @@ digraph iCFG { "test2.ad0234829205b9033196ba818f7a872b_23" -> "test2.ad0234829205b9033196ba818f7a872b_28" ; -"test2.ad0234829205b9033196ba818f7a872b_24" [label="24: Prune (true branch) \n n$18=*&__assert_fn__:NSString* [line 36]\n PRUNE((n$18 != 0), true); [line 36]\n " shape="invhouse"] +"test2.ad0234829205b9033196ba818f7a872b_24" [label="24: Prune (true branch) \n n$18=*&__assert_fn__:NSString* [line 36]\n PRUNE(n$18, true); [line 36]\n " shape="invhouse"] "test2.ad0234829205b9033196ba818f7a872b_24" -> "test2.ad0234829205b9033196ba818f7a872b_26" ; -"test2.ad0234829205b9033196ba818f7a872b_25" [label="25: Prune (false branch) \n n$18=*&__assert_fn__:NSString* [line 36]\n PRUNE((n$18 == 0), false); [line 36]\n " shape="invhouse"] +"test2.ad0234829205b9033196ba818f7a872b_25" [label="25: Prune (false branch) \n n$18=*&__assert_fn__:NSString* [line 36]\n PRUNE(!n$18, false); [line 36]\n " shape="invhouse"] "test2.ad0234829205b9033196ba818f7a872b_25" -> "test2.ad0234829205b9033196ba818f7a872b_27" ; diff --git a/infer/tests/codetoanalyze/objc/shared/block/BlockVar.m.dot b/infer/tests/codetoanalyze/objc/shared/block/BlockVar.m.dot index 80f0153c7..58e00a029 100644 --- a/infer/tests/codetoanalyze/objc/shared/block/BlockVar.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/block/BlockVar.m.dot @@ -31,11 +31,11 @@ digraph iCFG { "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_5" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_6" ; "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_5" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_7" ; -"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_6" [label="6: Prune (true branch) \n PRUNE(((n$0 == 8) != 0), true); [line 25]\n " shape="invhouse"] +"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_6" [label="6: Prune (true branch) \n PRUNE((n$0 == 8), true); [line 25]\n " shape="invhouse"] "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_6" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_8" ; -"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_7" [label="7: Prune (false branch) \n PRUNE(((n$0 == 8) == 0), false); [line 25]\n " shape="invhouse"] +"navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 == 8), false); [line 25]\n " shape="invhouse"] "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_7" -> "navigateToURLInBackground#BlockVar#class.f4e64a7a224e4dae5096c3b731a4233e_9" ; diff --git a/infer/tests/codetoanalyze/objc/shared/block/block-it.m.dot b/infer/tests/codetoanalyze/objc/shared/block/block-it.m.dot index 8c57dafae..08250c9b2 100644 --- a/infer/tests/codetoanalyze/objc/shared/block/block-it.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/block/block-it.m.dot @@ -16,11 +16,11 @@ digraph iCFG { "__objc_anonymous_block_MyBlock_array______1.bbadc16d5b5c97477e972b47a398046c_4" -> "__objc_anonymous_block_MyBlock_array______1.bbadc16d5b5c97477e972b47a398046c_2" ; -"__objc_anonymous_block_MyBlock_array______1.bbadc16d5b5c97477e972b47a398046c_5" [label="5: Prune (true branch) \n n$19=*&ShouldStop:int [line 26]\n PRUNE((n$19 != 0), true); [line 26]\n " shape="invhouse"] +"__objc_anonymous_block_MyBlock_array______1.bbadc16d5b5c97477e972b47a398046c_5" [label="5: Prune (true branch) \n n$19=*&ShouldStop:int [line 26]\n PRUNE(n$19, true); [line 26]\n " shape="invhouse"] "__objc_anonymous_block_MyBlock_array______1.bbadc16d5b5c97477e972b47a398046c_5" -> "__objc_anonymous_block_MyBlock_array______1.bbadc16d5b5c97477e972b47a398046c_7" ; -"__objc_anonymous_block_MyBlock_array______1.bbadc16d5b5c97477e972b47a398046c_6" [label="6: Prune (false branch) \n n$19=*&ShouldStop:int [line 26]\n PRUNE((n$19 == 0), false); [line 26]\n " shape="invhouse"] +"__objc_anonymous_block_MyBlock_array______1.bbadc16d5b5c97477e972b47a398046c_6" [label="6: Prune (false branch) \n n$19=*&ShouldStop:int [line 26]\n PRUNE(!n$19, false); [line 26]\n " shape="invhouse"] "__objc_anonymous_block_MyBlock_array______1.bbadc16d5b5c97477e972b47a398046c_6" -> "__objc_anonymous_block_MyBlock_array______1.bbadc16d5b5c97477e972b47a398046c_3" ; @@ -44,11 +44,11 @@ digraph iCFG { "__objc_anonymous_block_MyBlock_array_trans______2.fea1d428975900396f66cb7e1f340c5f_4" -> "__objc_anonymous_block_MyBlock_array_trans______2.fea1d428975900396f66cb7e1f340c5f_2" ; -"__objc_anonymous_block_MyBlock_array_trans______2.fea1d428975900396f66cb7e1f340c5f_5" [label="5: Prune (true branch) \n n$41=*&ShouldStop:int [line 44]\n PRUNE((n$41 != 0), true); [line 44]\n " shape="invhouse"] +"__objc_anonymous_block_MyBlock_array_trans______2.fea1d428975900396f66cb7e1f340c5f_5" [label="5: Prune (true branch) \n n$41=*&ShouldStop:int [line 44]\n PRUNE(n$41, true); [line 44]\n " shape="invhouse"] "__objc_anonymous_block_MyBlock_array_trans______2.fea1d428975900396f66cb7e1f340c5f_5" -> "__objc_anonymous_block_MyBlock_array_trans______2.fea1d428975900396f66cb7e1f340c5f_7" ; -"__objc_anonymous_block_MyBlock_array_trans______2.fea1d428975900396f66cb7e1f340c5f_6" [label="6: Prune (false branch) \n n$41=*&ShouldStop:int [line 44]\n PRUNE((n$41 == 0), false); [line 44]\n " shape="invhouse"] +"__objc_anonymous_block_MyBlock_array_trans______2.fea1d428975900396f66cb7e1f340c5f_6" [label="6: Prune (false branch) \n n$41=*&ShouldStop:int [line 44]\n PRUNE(!n$41, false); [line 44]\n " shape="invhouse"] "__objc_anonymous_block_MyBlock_array_trans______2.fea1d428975900396f66cb7e1f340c5f_6" -> "__objc_anonymous_block_MyBlock_array_trans______2.fea1d428975900396f66cb7e1f340c5f_3" ; @@ -84,11 +84,11 @@ digraph iCFG { "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_7" -> "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_8" ; "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_7" -> "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_9" ; -"array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_8" [label="8: Prune (true branch) \n PRUNE(((n$4 < n$6) != 0), true); [line 21]\n " shape="invhouse"] +"array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_8" [label="8: Prune (true branch) \n PRUNE((n$4 < n$6), true); [line 21]\n " shape="invhouse"] "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_8" -> "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_15" ; -"array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_9" [label="9: Prune (false branch) \n PRUNE(((n$4 < n$6) == 0), false); [line 21]\n " shape="invhouse"] +"array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_9" [label="9: Prune (false branch) \n PRUNE(!(n$4 < n$6), false); [line 21]\n " shape="invhouse"] "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_9" -> "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_3" ; @@ -101,11 +101,11 @@ digraph iCFG { "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_11" -> "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_12" ; "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_11" -> "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_13" ; -"array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_12" [label="12: Prune (true branch) \n n$8=*n$7:signed char [line 21]\n PRUNE((n$8 != 0), true); [line 21]\n " shape="invhouse"] +"array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_12" [label="12: Prune (true branch) \n n$8=*n$7:signed char [line 21]\n PRUNE(n$8, true); [line 21]\n " shape="invhouse"] "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_12" -> "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_3" ; -"array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_13" [label="13: Prune (false branch) \n n$8=*n$7:signed char [line 21]\n PRUNE((n$8 == 0), false); [line 21]\n " shape="invhouse"] +"array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_13" [label="13: Prune (false branch) \n n$8=*n$7:signed char [line 21]\n PRUNE(!n$8, false); [line 21]\n " shape="invhouse"] "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_13" -> "array#MyBlock#instance.8be6e5b5e968d186440e1931c9eb40de_10" ; @@ -165,11 +165,11 @@ digraph iCFG { "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_7" -> "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_8" ; "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_7" -> "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_9" ; -"array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_8" [label="8: Prune (true branch) \n PRUNE(((n$27 < n$29) != 0), true); [line 51]\n " shape="invhouse"] +"array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_8" [label="8: Prune (true branch) \n PRUNE((n$27 < n$29), true); [line 51]\n " shape="invhouse"] "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_8" -> "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_15" ; -"array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_9" [label="9: Prune (false branch) \n PRUNE(((n$27 < n$29) == 0), false); [line 51]\n " shape="invhouse"] +"array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_9" [label="9: Prune (false branch) \n PRUNE(!(n$27 < n$29), false); [line 51]\n " shape="invhouse"] "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_9" -> "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_3" ; @@ -182,11 +182,11 @@ digraph iCFG { "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_11" -> "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_12" ; "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_11" -> "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_13" ; -"array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_12" [label="12: Prune (true branch) \n PRUNE(((n$31 == 1) != 0), true); [line 55]\n " shape="invhouse"] +"array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_12" [label="12: Prune (true branch) \n PRUNE((n$31 == 1), true); [line 55]\n " shape="invhouse"] "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_12" -> "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_3" ; -"array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_13" [label="13: Prune (false branch) \n PRUNE(((n$31 == 1) == 0), false); [line 55]\n " shape="invhouse"] +"array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_13" [label="13: Prune (false branch) \n PRUNE(!(n$31 == 1), false); [line 55]\n " shape="invhouse"] "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_13" -> "array_trans#MyBlock#instance.13289a590560d0628a3ae5174e716a32_10" ; diff --git a/infer/tests/codetoanalyze/objc/shared/block/block_no_args.m.dot b/infer/tests/codetoanalyze/objc/shared/block/block_no_args.m.dot index 53ac6f615..7cbc20907 100644 --- a/infer/tests/codetoanalyze/objc/shared/block/block_no_args.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/block/block_no_args.m.dot @@ -20,11 +20,11 @@ digraph iCFG { "m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_5" -> "m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_6" ; "m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_5" -> "m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_7" ; -"m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_6" [label="6: Prune (true branch) \n PRUNE(((n$0 == 6) != 0), true); [line 30]\n " shape="invhouse"] +"m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_6" [label="6: Prune (true branch) \n PRUNE((n$0 == 6), true); [line 30]\n " shape="invhouse"] "m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_6" -> "m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_8" ; -"m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_7" [label="7: Prune (false branch) \n PRUNE(((n$0 == 6) == 0), false); [line 30]\n " shape="invhouse"] +"m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 == 6), false); [line 30]\n " shape="invhouse"] "m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_7" -> "m#My_manager#instance.e773f849d062cb9801497b62f5c98f5e_9" ; diff --git a/infer/tests/codetoanalyze/objc/shared/block/block_release.m.dot b/infer/tests/codetoanalyze/objc/shared/block/block_release.m.dot index b57f78ba4..e711f032e 100644 --- a/infer/tests/codetoanalyze/objc/shared/block/block_release.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/block/block_release.m.dot @@ -15,11 +15,11 @@ digraph iCFG { "blockReleaseTODO#My_manager#instance.8c1d633cf596e86a307167d9425628a8_4" -> "blockReleaseTODO#My_manager#instance.8c1d633cf596e86a307167d9425628a8_3" ; -"blockReleaseTODO#My_manager#instance.8c1d633cf596e86a307167d9425628a8_5" [label="5: Prune (true branch) \n n$1=*&context:CGContext* [line 30]\n PRUNE((n$1 != 0), true); [line 30]\n " shape="invhouse"] +"blockReleaseTODO#My_manager#instance.8c1d633cf596e86a307167d9425628a8_5" [label="5: Prune (true branch) \n n$1=*&context:CGContext* [line 30]\n PRUNE(n$1, true); [line 30]\n " shape="invhouse"] "blockReleaseTODO#My_manager#instance.8c1d633cf596e86a307167d9425628a8_5" -> "blockReleaseTODO#My_manager#instance.8c1d633cf596e86a307167d9425628a8_7" ; -"blockReleaseTODO#My_manager#instance.8c1d633cf596e86a307167d9425628a8_6" [label="6: Prune (false branch) \n n$1=*&context:CGContext* [line 30]\n PRUNE((n$1 == 0), false); [line 30]\n " shape="invhouse"] +"blockReleaseTODO#My_manager#instance.8c1d633cf596e86a307167d9425628a8_6" [label="6: Prune (false branch) \n n$1=*&context:CGContext* [line 30]\n PRUNE(!n$1, false); [line 30]\n " shape="invhouse"] "blockReleaseTODO#My_manager#instance.8c1d633cf596e86a307167d9425628a8_6" -> "blockReleaseTODO#My_manager#instance.8c1d633cf596e86a307167d9425628a8_4" ; @@ -64,11 +64,11 @@ digraph iCFG { "__objc_anonymous_block_My_manager_blockReleaseTODO______1.727fb709fde4c2da5c24b6a887eca95a_4" -> "__objc_anonymous_block_My_manager_blockReleaseTODO______1.727fb709fde4c2da5c24b6a887eca95a_2" ; -"__objc_anonymous_block_My_manager_blockReleaseTODO______1.727fb709fde4c2da5c24b6a887eca95a_5" [label="5: Prune (true branch) \n n$6=*&newImage:CGImage* [line 26]\n PRUNE((n$6 != 0), true); [line 26]\n " shape="invhouse"] +"__objc_anonymous_block_My_manager_blockReleaseTODO______1.727fb709fde4c2da5c24b6a887eca95a_5" [label="5: Prune (true branch) \n n$6=*&newImage:CGImage* [line 26]\n PRUNE(n$6, true); [line 26]\n " shape="invhouse"] "__objc_anonymous_block_My_manager_blockReleaseTODO______1.727fb709fde4c2da5c24b6a887eca95a_5" -> "__objc_anonymous_block_My_manager_blockReleaseTODO______1.727fb709fde4c2da5c24b6a887eca95a_7" ; -"__objc_anonymous_block_My_manager_blockReleaseTODO______1.727fb709fde4c2da5c24b6a887eca95a_6" [label="6: Prune (false branch) \n n$6=*&newImage:CGImage* [line 26]\n PRUNE((n$6 == 0), false); [line 26]\n " shape="invhouse"] +"__objc_anonymous_block_My_manager_blockReleaseTODO______1.727fb709fde4c2da5c24b6a887eca95a_6" [label="6: Prune (false branch) \n n$6=*&newImage:CGImage* [line 26]\n PRUNE(!n$6, false); [line 26]\n " shape="invhouse"] "__objc_anonymous_block_My_manager_blockReleaseTODO______1.727fb709fde4c2da5c24b6a887eca95a_6" -> "__objc_anonymous_block_My_manager_blockReleaseTODO______1.727fb709fde4c2da5c24b6a887eca95a_3" ; diff --git a/infer/tests/codetoanalyze/objc/shared/block/dispatch.m.dot b/infer/tests/codetoanalyze/objc/shared/block/dispatch.m.dot index 090ce0344..5586b06d5 100644 --- a/infer/tests/codetoanalyze/objc/shared/block/dispatch.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/block/dispatch.m.dot @@ -159,11 +159,11 @@ digraph iCFG { "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_5" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_6" ; "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_5" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_7" ; -"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_6" [label="6: Prune (true branch) \n PRUNE(((n$0 == null) != 0), true); [line 78]\n " shape="invhouse"] +"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_6" [label="6: Prune (true branch) \n PRUNE((n$0 == null), true); [line 78]\n " shape="invhouse"] "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_6" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_8" ; -"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_7" [label="7: Prune (false branch) \n PRUNE(((n$0 == null) == 0), false); [line 78]\n " shape="invhouse"] +"DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_7" [label="7: Prune (false branch) \n PRUNE(!(n$0 == null), false); [line 78]\n " shape="invhouse"] "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_7" -> "DispatchMain.f6461dbdaeaf9a114cbe40f5f72fbb3f_9" ; diff --git a/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/RetainReleaseExample2.m.dot b/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/RetainReleaseExample2.m.dot index 7f7e47374..18f6db8f8 100644 --- a/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/RetainReleaseExample2.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/memory_leaks_benchmark/RetainReleaseExample2.m.dot @@ -114,11 +114,11 @@ digraph iCFG { "test7.b04083e53e242626595e2b8ea327e525_4" -> "test7.b04083e53e242626595e2b8ea327e525_2" ; -"test7.b04083e53e242626595e2b8ea327e525_5" [label="5: Prune (true branch) \n n$0=*&a:RR2* [line 68]\n PRUNE((n$0 != 0), true); [line 68]\n " shape="invhouse"] +"test7.b04083e53e242626595e2b8ea327e525_5" [label="5: Prune (true branch) \n n$0=*&a:RR2* [line 68]\n PRUNE(n$0, true); [line 68]\n " shape="invhouse"] "test7.b04083e53e242626595e2b8ea327e525_5" -> "test7.b04083e53e242626595e2b8ea327e525_7" ; -"test7.b04083e53e242626595e2b8ea327e525_6" [label="6: Prune (false branch) \n n$0=*&a:RR2* [line 68]\n PRUNE((n$0 == 0), false); [line 68]\n " shape="invhouse"] +"test7.b04083e53e242626595e2b8ea327e525_6" [label="6: Prune (false branch) \n n$0=*&a:RR2* [line 68]\n PRUNE(!n$0, false); [line 68]\n " shape="invhouse"] "test7.b04083e53e242626595e2b8ea327e525_6" -> "test7.b04083e53e242626595e2b8ea327e525_3" ; diff --git a/infer/tests/codetoanalyze/objc/shared/property/PropertyAttributes.m.dot b/infer/tests/codetoanalyze/objc/shared/property/PropertyAttributes.m.dot index 46a201515..2607e4ae3 100644 --- a/infer/tests/codetoanalyze/objc/shared/property/PropertyAttributes.m.dot +++ b/infer/tests/codetoanalyze/objc/shared/property/PropertyAttributes.m.dot @@ -49,11 +49,11 @@ digraph iCFG { "copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_4" -> "copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_3" ; -"copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_5" [label="5: Prune (true branch) \n n$2=*&other:PropertyA* [line 32]\n PRUNE((n$2 != 0), true); [line 32]\n " shape="invhouse"] +"copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_5" [label="5: Prune (true branch) \n n$2=*&other:PropertyA* [line 32]\n PRUNE(n$2, true); [line 32]\n " shape="invhouse"] "copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_5" -> "copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_9" ; -"copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_6" [label="6: Prune (false branch) \n n$2=*&other:PropertyA* [line 32]\n PRUNE((n$2 == 0), false); [line 32]\n " shape="invhouse"] +"copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_6" [label="6: Prune (false branch) \n n$2=*&other:PropertyA* [line 32]\n PRUNE(!n$2, false); [line 32]\n " shape="invhouse"] "copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_6" -> "copy#PropertyA#instance.d5955e11cf35af4b4d602b2971590d5f_4" ;