Skip to content

Add taint analysis

Compare
Choose a tag to compare
@weirdan weirdan released this 21 Jun 14:17
· 66 commits to master since this release
f23b4f8

This release adds two new steps definitions, @Given I have Psalm with taint analysis and @When I run Psalm with taint analysis, which allow you to use taint analysis:

 Scenario: Running with taint analysis
    Given I have Psalm with taint analysis
    And I have the following code
      """
      <?php echo $_GET['param'];
      """
    When I run Psalm with taint analysis
    Then I see these errors
      | Type            | Message |
      | TaintedInput    | /./     |
    And I see no other errors

Features

  • (#16) Run Psalm with taint analysis (thanks @muglug)