Skip to content

Commit

Permalink
More queries
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDenisov committed Feb 27, 2020
1 parent 59c53aa commit c1c3748
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@
```groovy
g.V().hasLabel('type').valueMap().unfold()
```
- List function names that take 'x' as an argument:
```groovy
g.V().has('argument', 'name', 'x').out('function').valueMap('name')
```
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,19 @@ gremlin> g.V().hasLabel('type').valueMap().unfold()
==>bitwidth=[32]
```

Find functions with an argument called `x`:

```groovy
gremlin> g.V().has('argument', 'name', 'x').out('function').valueMap('name')
==>[name:[increment]]
```

See more of those in the [Queries.md](Queries.md).

## Feature completeness
## Feature (in)completeness

llvm2graphml is not feature complete and is in a very early stage. Properties of instructions and values are not there yet,
global variables and constants are also missing.
global variables and constants are also missing. Some more edges between things would probably help as well.

But we welcome contributions!

Expand Down

0 comments on commit c1c3748

Please sign in to comment.