Skip to content

Reduce C-Rust FFI complexity for HTML CSS image extraction logic#1241

Merged
val-ms merged 1 commit intoCisco-Talos:mainfrom
val-ms:CLAM-2573-css-image-extract-cleanup
Apr 15, 2024
Merged

Reduce C-Rust FFI complexity for HTML CSS image extraction logic#1241
val-ms merged 1 commit intoCisco-Talos:mainfrom
val-ms:CLAM-2573-css-image-extract-cleanup

Conversation

@val-ms
Copy link
Contributor

@val-ms val-ms commented Apr 14, 2024

The C-Rust FFI code is needlessly complex. Now that we are calling into magic_scan from Rust, we can simply hand off the <style> block contents to Rust code to handle extraction and scanning.

The C-Rust FFI code is needlessly complex. Now that we are calling into
magic_scan from Rust, we can simply hand off the <style> block contents
to Rust code to handle extraction and scanning.
@val-ms val-ms added the 🍒cherry-pick-candidate A PR that should be backported once approved. label Apr 14, 2024
@val-ms val-ms merged commit 6e1afbb into Cisco-Talos:main Apr 15, 2024
@val-ms val-ms deleted the CLAM-2573-css-image-extract-cleanup branch April 15, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍒cherry-pick-candidate A PR that should be backported once approved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant