joernio / query-database Goto Github PK
View Code? Open in Web Editor NEWDefault query sets for Joern
License: Apache License 2.0
Default query sets for Joern
License: Apache License 2.0
Add a query undesired /dangerous type conversion
for example : "int" to "short"
int foo(int iPram)
{
int iBig = 0;
short sSmall = 0;
iBig = iPram;
sSmall = (short)iBig;
return sSmall;
}
Joern-scan leads to the following error output from /tmp/joern-scan-log.txt
error.txt
However, I am able to successfully run joern-scan if I build on commit 9b2068e.
I am attempting to build query-database on ubuntu:18.04 with a DockerFile like so:
example_docker.txt
Please let me know if I am missing some step somewhere.
Note: I still run into the error if I run joern-scan in the original container instead of openjdk
This is the output for java -version
openjdk 11.0.12 2021-07-20
OpenJDK Runtime Environment 18.9 (build 11.0.12+7)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7, mixed mode, sharing)
Continue on the path of #12 and add more queries
Right now, joern-scan --dump
is required query-database releases and at the same time, query-database depends on joern. That causes some problems that we could resolve easily by moving the few lines of code that constitue --dump
into querydb
.
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.