Comments (3)
The config file,I modified there two places:
1.#where are node definition files? used by Deckard2
TYPE_FILE='/home/ly/projects/Deckard/testdata/deckard3/AstNodeTypeNamesIDs.txt'
RELEVANT_NODEFILE='/home/ly/projects/Deckard/testdata/deckard3/AstRelevantNodes.txt'
LEAF_NODEFILE='/home/ly/projects/Deckard/testdata/deckard3/AstLeafNodes.txt'
PARENT_NODEFILE='/home/ly/projects/Deckard/testdata/deckard3/AstParentNodes.txt'
2.#where is Deckard?
DECKARD_DIR="/home/ly/projects/Deckard"
Is there something I haven't modified?
from deckard.
I solved this problem.
1.when I run,I used "sh" instead of "bash".../bin/bash is specified in the script,but I ignored.
2.I thought it was sign incompatibility,so I modified "[[ ]]" to "[ ]" according to the reported error message.(: 4: /home/ly/projects/Deckard/scripts/clonedetect/deckard.sh: [[: not found)
from deckard.
#where are node definition files? used by Deckard2
TYPE_FILE='/home/ly/projects/Deckard/testdata/deckard3/AstNodeTypeNamesIDs.txt'
RELEVANT_NODEFILE='/home/ly/projects/Deckard/testdata/deckard3/AstRelevantNodes.txt'
LEAF_NODEFILE='/home/ly/projects/Deckard/testdata/deckard3/AstLeafNodes.txt'
PARENT_NODEFILE='/home/ly/projects/Deckard/testdata/deckard3/AstParentNodes.txt'
How to generate this files? Can I run Deckard2 without these variables?
from deckard.
Related Issues (20)
- What parameters are fine? Need help HOT 1
- Command line options for filter IDs not implemented HOT 3
- Vec generator failure HOT 3
- how to use a slice ?
- Crash on "return A?B:C" HOT 1
- vector generation HOT 3
- Build fails HOT 7
- build fails HOT 8
- typefile and nodefiles
- Error: problem in vec generator step. Stop and check logs in times/
- post_cluster file is 0 bytes HOT 1
- Bug Report: cluster: Possible errors occurred with LSH. HOT 3
- Building errors
- Any chance to update this to PHP 7 or 8? HOT 1
- Why does Deckard act differently from one run to another?
- Problem in running Deckard for C project
- Building error HOT 2
- Upgrade to Python 3 HOT 3
- build fails HOT 6
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 deckard.