Erikcruzk / TRT

The Transformative Repair Tool
Other
2 stars 0 forks source link

TRT cannot handle cases where there is multiple vulnerabilties in a *.sol file #58

Closed mojtaba-eshghie closed 9 months ago

mojtaba-eshghie commented 9 months ago

There will be a directory structure like the following:

experiment_results_directory -> experiment_name -> project_name -> ... -> solidity_file.sol (folder name) -> analyzer_name -> vulnerability_k -> candidate_patches -> patch_i

k in vulnerability_k is absolute index of the vulnerability finding in the analysis results (retrievable through sc.vulnerabilities["analyzer_results"]).

There will be a prompt.txt in vulnerability_k directory as well.

mojtaba-eshghie commented 9 months ago

commit resolved the issue.