File tree 3 files changed +7
-9
lines changed
regression/memory-analyzer 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
default : clean tests.log
2
2
3
- GOTO_GCC_EXE =../../../src/goto-cc/goto-gcc
4
3
MEMORY_ANALYZER_EXE =../../../src/memory-analyzer/memory-analyzer
5
4
6
5
clean :
9
8
$(RM ) tests.log
10
9
11
10
test :
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) "
13
12
14
13
tests.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) "
16
15
17
16
show :
18
17
@for dir in * ; do \
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
- # goto_gcc=" ../../../build/bin/goto-gcc"
5
+ goto_gcc=../../../build/bin/goto-gcc
6
6
memory_analyzer=$1
7
- goto_gcc=$2
7
+ # goto_gcc=$2
8
8
name=${*: $# }
9
9
name=${name% .exe}
10
- args=${*: 3 : $# -3 }
10
+ args=${*: 2 : $# -2 }
11
11
12
12
$goto_gcc -g -std=c11 -o " ${name} .exe" " ${name} .c"
13
13
$memory_analyzer $args " ${name} .exe"
Original file line number Diff line number Diff line change 2
2
main.exe
3
3
--breakpoint checkpoint --symbols p
4
4
struct 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;
8
7
^EXIT=0$
9
8
^SIGNAL=0$
You can’t perform that action at this time.
0 commit comments