Skip to content

optimizations in deduction phase #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: acdl
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
153 changes: 0 additions & 153 deletions regression/acdl/FIFO/main.c

This file was deleted.

6 changes: 0 additions & 6 deletions regression/acdl/FIFO/test.desc

This file was deleted.

8 changes: 4 additions & 4 deletions regression/acdl/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
default: tests.log

FLAGS = --verbosity 10 --acdl --decision equality --learning first-uip --propagate chaotic --inline
FLAGS = --verbosity 10 --acdl --decision ordered --learning first-uip --propagate chaotic --inline

test:
@../test.pl -c "/usr/bin/time ../../../src/2ls/2ls $(FLAGS)"
@../test.pl -c "/usr/bin/time ../../src/2ls/2ls $(FLAGS)"

tests.log: ../test.pl
@../test.pl -c "../../../src/2ls/2ls $(FLAGS)"
@../test.pl -c "../../src/2ls/2ls $(FLAGS)"

show:
@for dir in *; do \
Expand All @@ -17,4 +17,4 @@ show:

clean:
@rm -f *.log
@for dir in *; do rm -f $$dir/*.out; done;
@for dir in *; do rm -f $$dir/*.{sv,dat,log,out,cnf,smt2,aag,aig,v,git,svn,nfs}; rm -f $$dir/*.nfs*; done;
1 change: 0 additions & 1 deletion regression/acdl/branch4/main.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
int main() {
int x, y;
_Bool c;
if(y<0)
x=0;
else
Expand Down
114 changes: 0 additions & 114 deletions regression/acdl/bug0/debug

This file was deleted.

1 change: 0 additions & 1 deletion regression/acdl/bug0/run.sh

This file was deleted.

1 change: 0 additions & 1 deletion regression/acdl/bug1/run.sh

This file was deleted.

1 change: 0 additions & 1 deletion regression/acdl/bug2/run.sh

This file was deleted.

5 changes: 0 additions & 5 deletions regression/acdl/bug3/debug

This file was deleted.

1 change: 0 additions & 1 deletion regression/acdl/bug3/run.sh

This file was deleted.

2 changes: 1 addition & 1 deletion regression/acdl/loop2/main.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
int main() {
int x=0,i;
for(i=0;i<10;i++)
x = x+i;
x = x+i;
assert(x<10);
}

19 changes: 19 additions & 0 deletions regression/acdl/run-acdls-interval.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
PWD=`pwd`
TIMEOUT=3600
TOOL=acdls
BENCHMARKDIRS=`cat benchmarks-intv.txt`
PROGRESSLOG=${PWD}/progress.log-intervals-${TOOL}
FLAGS="--inline --acdl --decision ordered --propagate chaotic --learning first-uip"
EXEC=/users/rajdeep/thesis-tool-webpage/acdlp_thesis_version/2ls/src/2ls/2ls
echo "Starting experiments at `date` on `hostname`" > ${PROGRESSLOG}
for DIR in $BENCHMARKDIRS
do
echo ${DIR}
cd ${DIR}
LOG=${PWD}/logintv-${DIR}
filename=main.c
echo "Starting to processing $DIR/$filename at `date`" >> ${PROGRESSLOG}
runsolver -C $TIMEOUT -W $TIMEOUT -d 1 -M 32768 ${EXEC} ${FLAGS} $filename >> ${LOG}
echo "done at `date`" >> ${PROGRESSLOG}
cd ../
done
19 changes: 19 additions & 0 deletions regression/acdl/run-acdls-octagon.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
PWD=`pwd`
TIMEOUT=3600
TOOL=acdls
BENCHMARKDIRS=`cat benchmarks-octagons.txt`
PROGRESSLOG=${PWD}/progress.log-oct-${TOOL}
FLAGS="--inline --acdl --decision ordered --propagate chaotic --learning first-uip --octagons"
EXEC=/users/rajdeep/thesis-tool-webpage/acdlp_thesis_version/2ls/src/2ls/2ls
echo "Starting experiments at `date` on `hostname`" > ${PROGRESSLOG}
for DIR in $BENCHMARKDIRS
do
echo ${DIR}
cd ${DIR}
LOG=${PWD}/logoct-${DIR}
filename=main.c
echo "Starting to processing $DIR/$filename at `date`" >> ${PROGRESSLOG}
runsolver -C $TIMEOUT -W $TIMEOUT -d 1 -M 32768 ${EXEC} ${FLAGS} $filename >> ${LOG}
echo "done at `date`" >> ${PROGRESSLOG}
cd ../
done
Loading