Comments (2)
No, I don't but you might get better results with my valgrind fork which does the same thing, but better and with more control.
https://github.com/ralight/valgrind , fg-final branch. It's been a while since I looked at it so ping me if it doesn't work. I've just pushed what I think is the most recent version, but haven't checked it. Something that you might find useful is the ability to toggle on/off the malloc failures, either explicitly in code using the macros in the failgrind.h header, or by defining functions that will toggle the failures on/off when they enter/leave. It means you could do things like this, for example.
int main()
{
setup_test_suite();
run_test_suite();
}
Then:
valgrind --tool=exp-failgrind --alloc-toggle=run_test_suite --alloc-fail-atstart=no ./test
This gives setup_test_suite()
a chance to run without any failures.
from mallocfail.
Thanks for your answer :-)
I'll give it a try after FOSDEM.
from mallocfail.
Related Issues (2)
- Direct linking HOT 3
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 mallocfail.