nus-apr / cerberus

Research Acceleration Platform that provides interface to multiple state-of-the-art program analysis tools including but not limited to fuzzing, static analysis and program repair.
MIT License
65 stars 30 forks source link

Arja_E driver does not support TP2 #186

Closed Hzxin closed 5 months ago

Hzxin commented 5 months ago

[composite-workflows] Arja_e driver does not support for TP2.

  1. In Task.py
    if config_info[definitions.KEY_CONFIG_FIX_LOC] == "tool":
        if definitions.KEY_LOCALIZATION in experiment_info:
            del experiment_info[definitions.KEY_LOCALIZATION]

When TP2 is specified, the localization key from bug_info is removed. In Arja_e driver, line 88-90, the deleted key_localization was accessed, causing key error in TP2 setting.

        localization_lines = self.transform_localization(
            bug_info[self.key_localization]
        )
Marti2203 commented 5 months ago

Fixed in dabb730b45