Skip to content

[DISCOVERY PHP-CPG] Different CPG and discovery rule not working anymore on pattern 76 #49

@compaluca

Description

@compaluca
  • Many PHP discovery rules that were working fine on 01/02/2023 are not working anymore.
  • Consider for instance pattern instance 1_instance_76_function_variable
  • as far as I can see nothing changed for that pattern instance since 01/02/2023
  • however some changes were done on
  • I believe the problem is on (CH1)
  • the CPG files generated for the pattern instance are different (cf. bin files in the uploaded archive):
  • By running joern in the console:
    • the discovery rule works fine when running on CPG cpg_2023-02-01-16-52-44_PHP_1_instance_76_function_variable.bin (also the patched one)
    • it does not work on the newer CPG

@mal-tee : can you please have a look? Let me know if more detail are needed

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions