Skip to content

Commit

Permalink
update GTIRB expected which were out of date
Browse files Browse the repository at this point in the history
  • Loading branch information
l-kent committed Sep 18, 2024
1 parent 6d49c85 commit acd0377
Show file tree
Hide file tree
Showing 25 changed files with 48 additions and 48 deletions.
4 changes: 2 additions & 2 deletions src/test/correct/basicfree/clang/basicfree_gtirb.expected
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ implementation FUN_650()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 16bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 16bv64)) || L(mem, bvadd64(R16, 16bv64)));
R16, Gamma_R16 := bvadd64(R16, 16bv64), Gamma_R16;
call malloc();
assume false; //no return target
assume false;
}

procedure FUN_680();
Expand Down Expand Up @@ -141,7 +141,7 @@ implementation FUN_680()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 40bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 40bv64)) || L(mem, bvadd64(R16, 40bv64)));
R16, Gamma_R16 := bvadd64(R16, 40bv64), Gamma_R16;
call #free();
assume false; //no return target
assume false;
}

procedure main();
Expand Down
4 changes: 2 additions & 2 deletions src/test/correct/basicfree/gcc/basicfree_gtirb.expected
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ implementation FUN_680()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4040bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4040bv64)) || L(mem, bvadd64(R16, 4040bv64)));
R16, Gamma_R16 := bvadd64(R16, 4040bv64), Gamma_R16;
call #free();
assume false; //no return target
assume false;
}

procedure main();
Expand Down Expand Up @@ -206,7 +206,7 @@ implementation FUN_650()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4016bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4016bv64)) || L(mem, bvadd64(R16, 4016bv64)));
R16, Gamma_R16 := bvadd64(R16, 4016bv64), Gamma_R16;
call malloc();
assume false; //no return target
assume false;
}

procedure #free();
Expand Down
2 changes: 1 addition & 1 deletion src/test/correct/function1/clang/function1_gtirb.expected
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ implementation FUN_630()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 32bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 32bv64)) || L(mem, bvadd64(R16, 32bv64)));
R16, Gamma_R16 := bvadd64(R16, 32bv64), Gamma_R16;
call printf();
assume false; //no return target
assume false;
}

procedure get_two();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ implementation FUN_630()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 32bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 32bv64)) || L(mem, bvadd64(R16, 32bv64)));
R16, Gamma_R16 := bvadd64(R16, 32bv64), Gamma_R16;
call printf();
assume false; //no return target
assume false;
}

procedure main();
Expand Down
2 changes: 1 addition & 1 deletion src/test/correct/function1/gcc/function1_gtirb.expected
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ implementation FUN_630()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4040bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4040bv64)) || L(mem, bvadd64(R16, 4040bv64)));
R16, Gamma_R16 := bvadd64(R16, 4040bv64), Gamma_R16;
call printf();
assume false; //no return target
assume false;
}

procedure get_two();
Expand Down
2 changes: 1 addition & 1 deletion src/test/correct/function1/gcc_O2/function1_gtirb.expected
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ implementation FUN_620()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4024bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4024bv64)) || L(mem, bvadd64(R16, 4024bv64)));
R16, Gamma_R16 := bvadd64(R16, 4024bv64), Gamma_R16;
call __printf_chk();
assume false; //no return target
assume false;
}

procedure __printf_chk();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ implementation FUN_630()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 32bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 32bv64)) || L(mem, bvadd64(R16, 32bv64)));
R16, Gamma_R16 := bvadd64(R16, 32bv64), Gamma_R16;
call printf();
assume false; //no return target
assume false;
}

procedure greet();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ implementation FUN_650()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 32bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 32bv64)) || L(mem, bvadd64(R16, 32bv64)));
R16, Gamma_R16 := bvadd64(R16, 32bv64), Gamma_R16;
call printf();
assume false; //no return target
assume false;
}

procedure greet();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ implementation FUN_630()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4040bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4040bv64)) || L(mem, bvadd64(R16, 4040bv64)));
R16, Gamma_R16 := bvadd64(R16, 4040bv64), Gamma_R16;
call puts();
assume false; //no return target
assume false;
}

procedure greet();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ implementation FUN_650()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4032bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4032bv64)) || L(mem, bvadd64(R16, 4032bv64)));
R16, Gamma_R16 := bvadd64(R16, 4032bv64), Gamma_R16;
call puts();
assume false; //no return target
assume false;
}

procedure main();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ implementation FUN_680()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 16bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 16bv64)) || L(mem, bvadd64(R16, 16bv64)));
R16, Gamma_R16 := bvadd64(R16, 16bv64), Gamma_R16;
call malloc();
assume false; //no return target
assume false;
}

procedure FUN_6b0();
Expand Down Expand Up @@ -185,7 +185,7 @@ implementation FUN_6b0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 40bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 40bv64)) || L(mem, bvadd64(R16, 40bv64)));
R16, Gamma_R16 := bvadd64(R16, 40bv64), Gamma_R16;
call #free();
assume false; //no return target
assume false;
}

procedure FUN_6c0();
Expand Down Expand Up @@ -224,7 +224,7 @@ implementation FUN_6c0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 48bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 48bv64)) || L(mem, bvadd64(R16, 48bv64)));
R16, Gamma_R16 := bvadd64(R16, 48bv64), Gamma_R16;
call printf();
assume false; //no return target
assume false;
}

procedure main();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ implementation FUN_630()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 32bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 32bv64)) || L(mem, bvadd64(R16, 32bv64)));
R16, Gamma_R16 := bvadd64(R16, 32bv64), Gamma_R16;
call printf();
assume false; //no return target
assume false;
}

procedure main();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ implementation FUN_680()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4008bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4008bv64)) || L(mem, bvadd64(R16, 4008bv64)));
R16, Gamma_R16 := bvadd64(R16, 4008bv64), Gamma_R16;
call malloc();
assume false; //no return target
assume false;
}

procedure FUN_6b0();
Expand Down Expand Up @@ -201,7 +201,7 @@ implementation FUN_6b0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4032bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4032bv64)) || L(mem, bvadd64(R16, 4032bv64)));
R16, Gamma_R16 := bvadd64(R16, 4032bv64), Gamma_R16;
call #free();
assume false; //no return target
assume false;
}

procedure main();
Expand Down Expand Up @@ -385,7 +385,7 @@ implementation FUN_6c0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4040bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4040bv64)) || L(mem, bvadd64(R16, 4040bv64)));
R16, Gamma_R16 := bvadd64(R16, 4040bv64), Gamma_R16;
call printf();
assume false; //no return target
assume false;
}

procedure malloc();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ implementation FUN_620()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4024bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4024bv64)) || L(mem, bvadd64(R16, 4024bv64)));
R16, Gamma_R16 := bvadd64(R16, 4024bv64), Gamma_R16;
call __printf_chk();
assume false; //no return target
assume false;
}

procedure main();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ implementation FUN_6c0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 48bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 48bv64)) || L(mem, bvadd64(R16, 48bv64)));
R16, Gamma_R16 := bvadd64(R16, 48bv64), Gamma_R16;
call printf();
assume false; //no return target
assume false;
}

procedure main();
Expand Down Expand Up @@ -386,7 +386,7 @@ implementation FUN_6b0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 40bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 40bv64)) || L(mem, bvadd64(R16, 40bv64)));
R16, Gamma_R16 := bvadd64(R16, 40bv64), Gamma_R16;
call #free();
assume false; //no return target
assume false;
}

procedure FUN_680();
Expand Down Expand Up @@ -439,7 +439,7 @@ implementation FUN_680()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 16bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 16bv64)) || L(mem, bvadd64(R16, 16bv64)));
R16, Gamma_R16 := bvadd64(R16, 16bv64), Gamma_R16;
call malloc();
assume false; //no return target
assume false;
}

procedure printf();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ implementation FUN_6b0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4032bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4032bv64)) || L(mem, bvadd64(R16, 4032bv64)));
R16, Gamma_R16 := bvadd64(R16, 4032bv64), Gamma_R16;
call #free();
assume false; //no return target
assume false;
}

procedure FUN_6c0();
Expand Down Expand Up @@ -352,7 +352,7 @@ implementation FUN_6c0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4040bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4040bv64)) || L(mem, bvadd64(R16, 4040bv64)));
R16, Gamma_R16 := bvadd64(R16, 4040bv64), Gamma_R16;
call printf();
assume false; //no return target
assume false;
}

procedure FUN_680();
Expand Down Expand Up @@ -399,7 +399,7 @@ implementation FUN_680()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4008bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4008bv64)) || L(mem, bvadd64(R16, 4008bv64)));
R16, Gamma_R16 := bvadd64(R16, 4008bv64), Gamma_R16;
call malloc();
assume false; //no return target
assume false;
}

procedure #free();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ implementation FUN_6c0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 48bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 48bv64)) || L(mem, bvadd64(R16, 48bv64)));
R16, Gamma_R16 := bvadd64(R16, 48bv64), Gamma_R16;
call printf();
assume false; //no return target
assume false;
}

procedure main();
Expand Down Expand Up @@ -376,7 +376,7 @@ implementation FUN_680()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 16bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 16bv64)) || L(mem, bvadd64(R16, 16bv64)));
R16, Gamma_R16 := bvadd64(R16, 16bv64), Gamma_R16;
call malloc();
assume false; //no return target
assume false;
}

procedure FUN_6b0();
Expand Down Expand Up @@ -427,7 +427,7 @@ implementation FUN_6b0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 40bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 40bv64)) || L(mem, bvadd64(R16, 40bv64)));
R16, Gamma_R16 := bvadd64(R16, 40bv64), Gamma_R16;
call #free();
assume false; //no return target
assume false;
}

procedure printCharValue();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ implementation FUN_680()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4008bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4008bv64)) || L(mem, bvadd64(R16, 4008bv64)));
R16, Gamma_R16 := bvadd64(R16, 4008bv64), Gamma_R16;
call malloc();
assume false; //no return target
assume false;
}

procedure printCharValue();
Expand Down Expand Up @@ -314,7 +314,7 @@ implementation FUN_6c0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4040bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4040bv64)) || L(mem, bvadd64(R16, 4040bv64)));
R16, Gamma_R16 := bvadd64(R16, 4040bv64), Gamma_R16;
call printf();
assume false; //no return target
assume false;
}

procedure FUN_6b0();
Expand Down Expand Up @@ -369,7 +369,7 @@ implementation FUN_6b0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4032bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4032bv64)) || L(mem, bvadd64(R16, 4032bv64)));
R16, Gamma_R16 := bvadd64(R16, 4032bv64), Gamma_R16;
call #free();
assume false; //no return target
assume false;
}

procedure main();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ implementation FUN_690()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4008bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4008bv64)) || L(mem, bvadd64(R16, 4008bv64)));
R16, Gamma_R16 := bvadd64(R16, 4008bv64), Gamma_R16;
call malloc();
assume false; //no return target
assume false;
}

procedure FUN_6d0();
Expand Down Expand Up @@ -192,7 +192,7 @@ implementation FUN_6d0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4040bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4040bv64)) || L(mem, bvadd64(R16, 4040bv64)));
R16, Gamma_R16 := bvadd64(R16, 4040bv64), Gamma_R16;
call #free();
assume false; //no return target
assume false;
}

procedure FUN_6a0();
Expand Down Expand Up @@ -239,7 +239,7 @@ implementation FUN_6a0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4016bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4016bv64)) || L(mem, bvadd64(R16, 4016bv64)));
R16, Gamma_R16 := bvadd64(R16, 4016bv64), Gamma_R16;
call __printf_chk();
assume false; //no return target
assume false;
}

procedure main();
Expand Down Expand Up @@ -404,7 +404,7 @@ implementation printCharValue()
mem, Gamma_mem := memory_store8_le(mem, R3, R2[8:0]), gamma_store8(Gamma_mem, R3, Gamma_R2);
assume {:captureState "2236$0"} true;
call FUN_6a0();
assume false; //no return target
assume false;
}

procedure malloc();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ implementation FUN_6b0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 40bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 40bv64)) || L(mem, bvadd64(R16, 40bv64)));
R16, Gamma_R16 := bvadd64(R16, 40bv64), Gamma_R16;
call #free();
assume false; //no return target
assume false;
}

procedure FUN_680();
Expand Down Expand Up @@ -316,7 +316,7 @@ implementation FUN_680()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 16bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 16bv64)) || L(mem, bvadd64(R16, 16bv64)));
R16, Gamma_R16 := bvadd64(R16, 16bv64), Gamma_R16;
call malloc();
assume false; //no return target
assume false;
}

procedure FUN_6c0();
Expand Down Expand Up @@ -357,7 +357,7 @@ implementation FUN_6c0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 48bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 48bv64)) || L(mem, bvadd64(R16, 48bv64)));
R16, Gamma_R16 := bvadd64(R16, 48bv64), Gamma_R16;
call printf();
assume false; //no return target
assume false;
}

procedure #free();
Expand Down
6 changes: 3 additions & 3 deletions src/test/correct/multi_malloc/gcc/multi_malloc_gtirb.expected
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ implementation FUN_6c0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4040bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4040bv64)) || L(mem, bvadd64(R16, 4040bv64)));
R16, Gamma_R16 := bvadd64(R16, 4040bv64), Gamma_R16;
call printf();
assume false; //no return target
assume false;
}

procedure FUN_680();
Expand Down Expand Up @@ -285,7 +285,7 @@ implementation FUN_680()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4008bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4008bv64)) || L(mem, bvadd64(R16, 4008bv64)));
R16, Gamma_R16 := bvadd64(R16, 4008bv64), Gamma_R16;
call malloc();
assume false; //no return target
assume false;
}

procedure FUN_6b0();
Expand Down Expand Up @@ -320,7 +320,7 @@ implementation FUN_6b0()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 4032bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 4032bv64)) || L(mem, bvadd64(R16, 4032bv64)));
R16, Gamma_R16 := bvadd64(R16, 4032bv64), Gamma_R16;
call #free();
assume false; //no return target
assume false;
}

procedure printf();
Expand Down
2 changes: 1 addition & 1 deletion src/test/correct/syscall/clang/syscall_gtirb.expected
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ implementation FUN_610()
R17, Gamma_R17 := memory_load64_le(mem, bvadd64(R16, 16bv64)), (gamma_load64(Gamma_mem, bvadd64(R16, 16bv64)) || L(mem, bvadd64(R16, 16bv64)));
R16, Gamma_R16 := bvadd64(R16, 16bv64), Gamma_R16;
call fork();
assume false; //no return target
assume false;
}

procedure fork();
Expand Down
Loading

0 comments on commit acd0377

Please sign in to comment.