symbiotic icon indicating copy to clipboard operation
symbiotic copied to clipboard

Relative/absolute path consistency

Open jamartis opened this issue 6 years ago • 1 comments

Symbiotic sometimes reports errors with relative path and sometimes with the absolute path:

bash-5.0$ pwd
/home/jamartis
bash-5.0$ symbiotic --prp=memsafety /home/jamartis/foo.c 
...
Error: memory error: invalid pointer: free
File: /home/jamartis/foo.c
bash-5.0$ pwd
/home/jamartis
bash-5.0$ symbiotic --prp=memsafety ./foo.c 
...
Error: memory error: invalid pointer: free
File: /home/jamartis/foo.c
bash-5.0$ pwd
/tmp
bash-5.0$ symbiotic --prp=memsafety /tmp/foo.c
...
Error: memory error: invalid pointer: free
File: foo.c
bash-5.0$ pwd
/tmp
bash-5.0$ symbiotic --prp=memsafety ./foo.c
...
Error: memory error: invalid pointer: free
File: foo.c

would it be possible, to make this consistent, and ideally in a such way that when the input is relative path, the output would be also relative and when the input is absolute, the output would be absolute too?

jamartis avatar Nov 28 '19 14:11 jamartis

Hmm, this is output from KLEE, so it is probably there. I'll take a look.

mchalupa avatar Nov 28 '19 17:11 mchalupa