File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed
regression/memory-analyzer Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 11default : clean tests.log
22
3- GOTO_GCC_EXE =../../../src/goto-cc/goto-gcc
43MEMORY_ANALYZER_EXE =../../../src/memory-analyzer/memory-analyzer
54
65clean :
98 $(RM ) tests.log
109
1110test :
12- @../test.pl -e -p -c " ../chain.sh $( MEMORY_ANALYZER_EXE) $( GOTO_GCC_EXE ) "
11+ @../test.pl -e -p -c " ../chain.sh $( MEMORY_ANALYZER_EXE) "
1312
1413tests.log : ../test.pl
15- @../test.pl -e -p -c " ../chain.sh $( MEMORY_ANALYZER_EXE) $( GOTO_GCC_EXE ) "
14+ @../test.pl -e -p -c " ../chain.sh $( MEMORY_ANALYZER_EXE) "
1615
1716show :
1817 @for dir in * ; do \
Original file line number Diff line number Diff line change 22
33set -e
44
5- # goto_gcc=" ../../../build/bin/goto-gcc"
5+ goto_gcc=../../../build/bin/goto-gcc
66memory_analyzer=$1
7- goto_gcc=$2
7+ # goto_gcc=$2
88name=${*: $# }
99name=${name% .exe}
10- args=${*: 3 : $# -3 }
10+ args=${*: 2 : $# -2 }
1111
1212$goto_gcc -g -std=c11 -o " ${name} .exe" " ${name} .c"
1313$memory_analyzer $args " ${name} .exe"
Original file line number Diff line number Diff line change 22main.exe
33--breakpoint checkpoint --symbols p
44struct S tmp;
5- tmp = \{ \.next=\(\(struct S \*\)(NULL|0)\) \};
6- p = &tmp;
7- p->next = &tmp;
5+ tmp = \{ \.next=\(\(struct S \*\)0\) \};
6+ p = \&tmp;
87^EXIT=0$
98^SIGNAL=0$
You can’t perform that action at this time.
0 commit comments