Comments (6)
It sounds like the POI analyses didn't run. There's a couple ways you can trigger them:
- When you use
mate-cli oneshot
, provide the-p
option to run all POIs (https://galoisinc.github.io/MATE/cli.html#cmdoption-mate-cli-oneshot-p) - If you've already built the POI, you can use the
mate-cli analysis
command to run the POIs (or one in particular) (https://galoisinc.github.io/MATE/cli.html#mate-cli-analysis-run) - You can use the
run_all_analyses
endpoint of theRest API
in theExperts
tab (https://galoisinc.github.io/MATE/api.html#operation/_run_all_analyses_api_v1_analyses_run__build_id__post
Thanks for giving MATE a try!
from mate.
MATE showed nothing
@shinmao shared some additional context with me via email, I believe that this means that @shinmao didn't see a graph pre-populated in Flowfinder. This is the expected behavior. Rafael, you might try entering a function name in the "Select a function node to start" box. Then you'll be able to right-click the node that appears and explore the graph.
The Flowfinder tutorial describes this step. There is also a video of someone exploring a program with Flowfinder.
from mate.
It sounds like the POI analyses didn't run.
It looks like the POIs don't report any findings for this program. I ran them all, they all completed with 0 findings. This may be a bug in our UAF POI query, or Clang may have complied away the undefined behavior---the UAF in this program is fairly trivial (it's an intra-procedural UAF not guarded by a conditional).
from mate.
After a little more debugging, this is a limitation in the UAF query. Currently, the query it uses to find "uses" doesn't include loads of all sub-regions of the allocation being freed. This isn't a fundamental limitation, and we'll work on a patch. In the meantime, you can experiment with the POI by changing the line msgbox->bye();
to msgbox->welcome();
. This will make the load match the current query and return a POI.
Thanks for the question / bug report!
from mate.
Sure, thanks. I will try some more examples on it. Keep in touch!
from mate.
msgbox->bye();
@thinkmoore Do you mean to change line 71? I tried it but still return nothing. Thanks.
from mate.
Related Issues (20)
- Doc: Link to blog post
- Fix default container registry in .env HOT 1
- Intermittent CI failure: `cannot import name 'config' from 'manticore.utils'`
- doc: Attach video to Flowfinder tutorial
- doc: Make notebook tutorial into a Jupyter notebook HOT 5
- Manticore UI: Link bug reports to source locations
- UI: Show help text when there are no compilations/builds/etc.
- doc: Deployment security considerations HOT 1
- Manticore UI: Link to DSL docs
- DWARF nodes: APIs for common type derivations
- CI: Linting and formatting
- Doc: List contributors HOT 1
- `test_poi_use_after_free` fails HOT 2
- Issues compiling bitcode for redis HOT 2
- SIGKILL while build process HOT 2
- analyze the library or single program without main function HOT 2
- Incorrect points-to signature for str{n,}dup
- bug: Blight journal is empty HOT 34
- Debugging a failing build HOT 2
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 mate.