-
Notifications
You must be signed in to change notification settings - Fork 505
[RUST] Added XDS module
#1890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[RUST] Added XDS module
#1890
Conversation
CCExtractor CI platform finished running the test files on linux. Below is a summary of the test results, when compared to test for commit 000b397...:
Your PR breaks these cases:
It seems that not all tests were passed completely. This is an indication that the output of some files is not as expected (but might be according to you). Check the result page for more info. |
Comprehensive Code Review: XDS Module Rust PortThank you for working on porting the XDS decoder to Rust! This is a substantial effort. I've done a thorough comparison between the C code in 🔴 Critical Issues (Must Fix)1. Windows Build Failure -
|
| Category | Count |
|---|---|
| 🔴 Critical (UB/Build Failure) | 3 |
| 🟠 Output Parity Issues | 3 |
| 🟡 Code Style Issues | 3 |
| 🔵 Logic Verification | 2 |
The most urgent issues are:
- Windows type mismatch (prevents build)
- Memory management UB (will cause crashes or memory corruption)
- CString/free mismatch (will cause memory corruption)
Once these are fixed, focus on the output parity issues to match C behavior exactly.
Let me know if you have questions about any of these points!
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
This pull request migrates
ccx_decoders_xds.candccx_decoders_xds.hto/src/rust/xdsrust module.mod.rs: exposes the Rust implementation to the C codebasetypes.rs: has types and structures for decoding extended datahandlers.rs: has handler functions for processing extended data packetsTested on stream : https://sampleplatform.ccextractor.org/sample/b22260d065ab537899baaf34e78a5184671f4bcb2df0414d05e6345adfd7812f