Comments (4)
Does Kali (or you) use an offline mirror of the crates.io package repository? Otherwise I could not explain why the switch to clap 4 (which is available on crates.io) breaks your build process.
If it uses an offline mirror: How often does it get updated? I explicitly make no stability guarantees for the master branch and if the problem will resolve itself in one or two weeks I am inclined to just wait until then. But in general a switch to the older clap 3 should be possible if necessary.
Edit: Another thing you could check is if your installed Rust version is up-to-date. With the switch to clap 4 I raised the minimum version of Rust required for the cwe_checker to 1.63 (although technically 1.60 should be enough right now). So maybe a simple rustup update
will solve your problems.
from cwe_checker.
Thanks for your reply. Rust is installed from the original Kali package repository and is version 1.60.0:
ii rust-all 1.60.0+dfsg1-1 all Rust systems programming language - all developer tools
ii rust-clippy 1.60.0+dfsg1-1 amd64 Rust linter
ii rust-gdb 1.60.0+dfsg1-1 all Rust debugger (gdb)
ii rustc 1.60.0+dfsg1-1 amd64 Rust systems programming language
ii rustfmt 1.60.0+dfsg1-1 amd64 Rust formatting helper
So, we have the source of this issue identified. Probably they will update it with Kali 2022.04. Otherwise we need to go back to manual installation.
from cwe_checker.
I just double-checked that the cwe_checker installation still works using Rust 1.60. So maybe Kali really uses a not-up-to-date offline mirror of the crates.io package repository? If we are lucky, the mirror gets updated more frequently than just for every Kali release, so maybe the issue is already solved/will solve itself soon. In this case I could delay making Rust 1.63 a hard requirement until it lands in Kali Linux.
Would using the official Docker image of the cwe_checker be an alternative for you? This way you could still use the latest cwe_checker based on the master branch without any fear that it will break on any specific Linux distro.
from cwe_checker.
Tested today with the new Kali 2022.4 and everything works fine.
from cwe_checker.
Related Issues (20)
- Running cwe_checker on arm64 and x86_64 (failed) HOT 5
- cwe_checker run with error 'No loadable segments found' HOT 1
- docker how to speficy --bare-metal-config HOT 2
- ghidra >= 10.2 fix "getLeastSignificatBitInBaseRegister" spelling wrong HOT 2
- error running cwe in ghidra HOT 2
- Some comments seems confusing HOT 4
- What is the logic of fixpoint comuptation HOT 2
- Speed up the analysis with new cwe_checker:stable docker image HOT 2
- cwe_checker docker -o option fails HOT 4
- What is CWE119 specifically and the difference with its variants HOT 7
- Infinity Loop Problem HOT 2
- Execution of Ghidra plugin failed HOT 8
- Project Normalization consumes too much RAM HOT 2
- Support for new P-Code operation in Ghidra 10.3 HOT 1
- Windows failed to compile HOT 1
- cwe_checker docker container hang on HOT 4
- New CWE support ? HOT 1
- Binary Ninja Plugin HOT 1
- Null Dereference not detected in C ? 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 cwe_checker.