Skip to content

Commit c1c3748

Browse files
committed
More queries
1 parent 59c53aa commit c1c3748

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

Queries.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,9 @@
2323
```groovy
2424
g.V().hasLabel('type').valueMap().unfold()
2525
```
26+
27+
- List function names that take 'x' as an argument:
28+
29+
```groovy
30+
g.V().has('argument', 'name', 'x').out('function').valueMap('name')
31+
```

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,19 @@ gremlin> g.V().hasLabel('type').valueMap().unfold()
100100
==>bitwidth=[32]
101101
```
102102

103+
Find functions with an argument called `x`:
104+
105+
```groovy
106+
gremlin> g.V().has('argument', 'name', 'x').out('function').valueMap('name')
107+
==>[name:[increment]]
108+
```
109+
103110
See more of those in the [Queries.md](Queries.md).
104111

105-
## Feature completeness
112+
## Feature (in)completeness
106113

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

110117
But we welcome contributions!
111118

0 commit comments

Comments
 (0)