Skip to content

LAVA Taint Final fix: Block problematic AST node names#1611

Merged
lacraig2 merged 1 commit intodevfrom
docs
Nov 24, 2025
Merged

LAVA Taint Final fix: Block problematic AST node names#1611
lacraig2 merged 1 commit intodevfrom
docs

Conversation

@AndrewQuijano
Copy link
Copy Markdown
Collaborator

@AndrewQuijano AndrewQuijano commented Nov 19, 2025

On the bug injection step, the AST node name, *(((**(((*f)._chain)))._chain)) has been causing issues with bug injections.

LAVA is using AST node names to inject the bugs, but at least for toy, this value isn't needed. Whenever LAVA bug injection logic is re-written this can be removed I bet.

@AndrewQuijano AndrewQuijano changed the title DwarfDump docs and bringing back automated Panda Doc Updates LAVA Taint fix: Block problematic AST node names Nov 22, 2025
@AndrewQuijano AndrewQuijano changed the title LAVA Taint fix: Block problematic AST node names LAVA Taint Final fix: Block problematic AST node names Nov 22, 2025
@lacraig2 lacraig2 requested a review from Copilot November 24, 2025 14:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes LAVA bug injection issues caused by complex AST node names containing "**". The fix moves the filtering logic to the appropriate function and improves logging consistency. Additionally, the Debian setup script is enhanced to support versioning and proxy configurations.

Key Changes

  • Moved AST node name filtering from pfun() to lava_taint_query() to filter on astnodename parameter instead of var_nm
  • Added [pri_taint] prefix to debug output for better log consistency
  • Enhanced setup.sh with version validation, proxy support, and streamlined Docker build process

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
panda/plugins/pri_taint/pri_taint.cpp Relocates "**" pattern check to lava_taint_query(), adds logging prefixes, and minor code style improvements (variable declaration scope)
panda/debian/setup.sh Adds tag version parameter handling, implements version format validation, adds proxy environment variable support, and updates Docker build workflow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lacraig2 lacraig2 merged commit 892719f into dev Nov 24, 2025
8 checks passed
@lacraig2 lacraig2 deleted the docs branch November 24, 2025 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants