-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
- 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
- (CH1) PHP-CPG (newer version)
- (CH2) joern (newer version)
- (CH3) patch for the discovery rule (cf. [DISCOVERY] Implement automated work-around for missing line number from PHP-CPG / Joern #42)
- I believe the problem is on (CH1)
- the CPG files generated for the pattern instance are different (cf.
binfiles in the uploaded archive):cpg_2023-02-01-16-52-44_PHP_1_instance_76_function_variable.bincpg_2023-03-23-15-35-16_PHP_1_instance_76_function_variable.bin
CPGs_1_instance_76_function_variable.zip
- By running
joernin 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
- the discovery rule works fine when running on CPG
@mal-tee : can you please have a look? Let me know if more detail are needed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels