facebook / sparta Goto Github PK
View Code? Open in Web Editor NEWSPARTA is a library of software components specially designed for building high-performance static analyzers based on the theory of Abstract Interpretation.
License: MIT License
SPARTA is a library of software components specially designed for building high-performance static analyzers based on the theory of Abstract Interpretation.
License: MIT License
Hello spartans (Salut Arnaud!),
I think there is a bug in the PatriciaTreeMap::leq() implementation.
If both trees are leaves, you should check if the keys are the same before comparing the values:
Best regards
Hi Team,
Thank you for releasing SPARTA. I am trying to explore different functionalities and APIs of SPARTA.However I am not able to find any document which explains the usage of SPARTA. Please let me know if there is any detailed document and examples to use SPARTA for different applications.
@int3 @facebook-github-bot , Any help is highly appreciated.
Thank you.
Ashis
Hi,
I followed installation steps and got the following error (Ubuntu 18.04):
$ mkdir build-cmake
$ cd build-cmake
$ cmake ..
$ cmake --build .
make: *** No targets specified and no makefile found. Stop.
and indeed there is no Makefile
inside SPARTA/build-cmake
.
What am I doing wrong ? Thanks !
Hello together,
first of all: Thank you for releasing SPARTA on Github. As someone highly interested in static analysis and abstract interpretation I'm really excited about this. So again: Thank you.
I've got a question regarding your use of CRTP in the definition of AbstractDomain
and AbstractValue
. Nevertheless these classes are designed to use CRTP, they contain purely virtual functions.
Regarding libraries using CRTP you often see a function like this
Derived& derived() { return *static_cast<Derived*>(this); }
and a const version of that. A purely virtual function virtual void foo() = 0;
can then be replaced by
inline void foo() { return derived().foo(); }
A method call to foo
will then be completely statically dispatched. This would maybe decrease the binary size (since vtables are smaller) and could increase the performance (due to static dispatching). We use this approach at the high performance linear algebra library Eigen and I guess it works quite well.
I see the following downsides:
override
(and I have no idea how to mimic one)I guess performance is crucial if you want a static analysis tool to be widely adopted and therefore want to advertise the changes suggested above.
If you are interested in a pull request addressing the ideas above, I would prepare something.
Cheers,
David
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.