Comments (13)
Our version of valgrind (I assume you did a checkout of trunk version) is not
the latest one. Try using this patch on valgrind configure.ac:
cd path_to_avalanche/valgrind
patch -i valgrind_configure_patch
Then repeat the whole installation sequence.
Original comment by [email protected]
on 24 Oct 2011 at 7:57
Attachments:
from avalanche.
Good evening, sorry for not answering here. Yes, I really did a checkout of
trunk version. I've used your patch but now there is another problem:
checking the GLIBC_VERSION version... unsupported version 2.13
configure: error: Valgrind requires glibc version 2.2 - 2.12
configure: error: ./configure failed for valgrind
Btw, seems like you're from Russia so if's acceptable for you to speak Russian
in your issue tracker, I don't mind it ;)
Original comment by [email protected]
on 28 Oct 2011 at 8:45
from avalanche.
Ah, there is a bug about unsupported version of glibc, sorry for duplicating it
then.
Original comment by [email protected]
on 28 Oct 2011 at 8:46
from avalanche.
Sorry for the delay in answering. Have you successfully run Avalanche?
P.S. And again sorry, we try to use English in our issue tracker. If you want
to email us about your suggestions/results (which we will be glad to receive
:)), feel free to use Russian.
Original comment by [email protected]
on 1 Nov 2011 at 2:31
from avalanche.
Unfortunately no, as I have already said, valgrind requires glibc version 2.2-
2.12, and I've got another versions which doesn't fit the requirements.
Original comment by [email protected]
on 1 Nov 2011 at 7:49
from avalanche.
I was entirely sure there is a patch for valgrind configure script in that
issue, sorry. You can use this patch or checkout development branch (not
advised since it's not stable).
cd /path/to/avalanche
patch -p0 -i patch.diff
Original comment by [email protected]
on 2 Nov 2011 at 9:16
Attachments:
from avalanche.
It helps me to finish successfully autogen.sh and ./configure, but while
compiling I receive this error:
make[3]: Вход в каталог
`/home/artem/SVN/avalanche-read-only/stp-ver-0.1-11-18-2008/parser'
yacc -d -v PL.y
yacc -d -v PL.y
g++ -DHAVE_CONFIG_H -I. -I.. -I../sat/mtl -I../sat/core -I../sat/simp -g -O2
-MT let-funcs.o -MD -MP -MF .deps/let-funcs.Tpo -c -o let-funcs.o let-funcs.cpp
/bin/bash: yacc: команда не найдена
/bin/bash: yacc: команда не найдена
make[3]: *** [parsePL_defs.h] Ошибка 127
make[3]: *** Ожидание завершения заданий...
make[3]: *** [parsePL.cpp] Ошибка 127
In file included from /usr/include/c++/4.6/ext/hash_map:61:0,
from ../AST/AST.h:19,
from let-funcs.cpp:10:
/usr/include/c++/4.6/backward/backward_warning.h:33:2:
предупреждение: #warning This file includes at least one
deprecated or antiquated header which may be removed without further notice at
a future date. Please use a non-deprecated interface with equivalent
functionality instead. For a listing of replacement headers and interfaces,
consult the file backward_warning.h. To disable this warning use
-Wno-deprecated. [-Wcpp]
mv -f .deps/let-funcs.Tpo .deps/let-funcs.Po
make[3]: Выход из каталога
`/home/artem/SVN/avalanche-read-only/stp-ver-0.1-11-18-2008/parser'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Выход из каталога
`/home/artem/SVN/avalanche-read-only/stp-ver-0.1-11-18-2008'
make[1]: *** [all] Ошибка 2
make[1]: Выход из каталога
`/home/artem/SVN/avalanche-read-only/stp-ver-0.1-11-18-2008'
make: *** [all-recursive] Ошибка 1
Original comment by [email protected]
on 2 Nov 2011 at 10:45
from avalanche.
We've just been reported about STP configure script not reporting the absence
of yacc and flex.
You'll need to install GNU bison (http://www.gnu.org/s/bison/). Or use 'sudo
apt-get install bison'. In case flex is also missing, go to
http://flex.sourceforge.net/ or use 'sudo apt-get install flex'.
Installing these should get you a complete build.
Original comment by [email protected]
on 3 Nov 2011 at 9:59
from avalanche.
I had another problem with compiling it. There were a lot of warnings but I
think this is the reason why compiling stopped.
FileBuffer.cpp: In constructor «FileBuffer::FileBuffer(const char*)»:
FileBuffer.cpp:44:22: предупреждение: ignoring return value of
«ssize_t read(int, void*, size_t)», declared with attribute
warn_unused_result [-Wunused-result]
In file included from Input.cpp:24:0:
../include/Input.h:36:31: ошибка: нет декларации «NULL» в
этой области видимости
mv -f .deps/FileBuffer.Tpo .deps/FileBuffer.Po
g++ -DPACKAGE_NAME=\"avalanche\" -DPACKAGE_TARNAME=\"avalanche\"
-DPACKAGE_VERSION=\"0.5.0\" -DPACKAGE_STRING=\"avalanche\ 0.5.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"avalanche\"
-DVERSION=\"0.5.0\" -I. -I../include -g -O2 -pthread -MT STP_Executor.o -MD
-MP -MF .deps/STP_Executor.Tpo -c -o STP_Executor.o STP_Executor.cpp
Input.cpp: В функции-члене «void Input::dumpFiles(char*, const
char*)»:
Input.cpp:88:57: предупреждение: ignoring return value of
«ssize_t write(int, const void*, size_t)», declared with attribute
warn_unused_result [-Wunused-result]
Input.cpp: В функции-члене «void Input::dumpExploit(const char*,
bool, const char*)»:
Input.cpp:61:32: предупреждение: ignoring return value of
«ssize_t write(int, const void*, size_t)», declared with attribute
warn_unused_result [-Wunused-result]
Input.cpp:64:49: предупреждение: ignoring return value of
«ssize_t write(int, const void*, size_t)», declared with attribute
warn_unused_result [-Wunused-result]
Input.cpp:65:51: предупреждение: ignoring return value of
«ssize_t write(int, const void*, size_t)», declared with attribute
warn_unused_result [-Wunused-result]
Input.cpp:72:57: предупреждение: ignoring return value of
«ssize_t write(int, const void*, size_t)», declared with attribute
warn_unused_result [-Wunused-result]
make[2]: *** [Input.o] Ошибка 1
Sorry for bothering you with this compiling stuff.
Original comment by [email protected]
on 7 Nov 2011 at 11:20
from avalanche.
Not 100% sure it will work, but try this patch.
cd /path/to/avalanche
patch -p0 -i null_patch
Original comment by [email protected]
on 8 Nov 2011 at 10:22
Attachments:
from avalanche.
It seems to compile now, thanks a lot for your help! Now I need to read some
manuals about Avalanche.. :) Feel free to close this ticket if it's not needed
for you.
Original comment by [email protected]
on 8 Nov 2011 at 9:24
from avalanche.
Great, we will be welcome for any feedback!
Original comment by [email protected]
on 9 Nov 2011 at 12:16
from avalanche.
Fixed for avalanche-0.6
Original comment by [email protected]
on 16 Nov 2011 at 3:21
- Changed state: Fixed
from avalanche.
Related Issues (14)
- glibc 2.13 unsupported HOT 1
- Configure script doesn't check lack of lex and yacc needed by STP HOT 1
- Error opening file basic_blocks.log before iteration 0 start HOT 2
- Avalanche 0.6.0 does not build on Fedora 16 HOT 9
- Avalanche 0.6 doesn't compile on 64-bits architecture
- [deleted issue]
- Exploits may not be found when standard string functions (string.h) are used HOT 1
- Avalanche crashes with segmentation fault when being run from PATH HOT 1
- Incorrect STP queries when lseek (fseek, etc.) is used HOT 1
- Avalanche 0.4 doesn't check the cause of crash of the tested application HOT 4
- the tool doesn't track tainted data in static variables HOT 2
- the tool doesn't expand input file size if necessary HOT 1
- Avalanche-0.4 finished of checking an application but did't find an actual bug HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avalanche.