All output files of a contract will be saved in "tealer-export/{contract-name}".
Detectors save their output files in their own subdirectory inside contract directory: "tealer-export/{contract-name}/{detector-name}".
Printers that output a single file will save in the contract directory: "tealer-export/{contract-name}"
Printers that output multiple files will save in their own sub directory: "tealer-export/{contract-name}/print-{printer-name}"
Contract name is set as
if the contract is a local file, contract-name is the local file name without ".teal" suffix
if the contract is an application on mainnet/testnet, the contract name will be "app-{application_id}"
if the contract is an account logic-sig on mainnet/testnet, the contract name will be "lsig-acc-{address[:8].lower()}"
if the contract is logic-sig of a transaction on mainnet/testnet, the contract name will be "txn-{txn_id[:8].lower()}"
The terminal output of detectors is also updated: When some of the detectors do not find any vulnerable paths, tealer would just print
0 results found for detector1, detector2, ...
The --dest command line option which allows a user to select the destination folder for output files is also removed.
Fix #159
All output files of a contract will be saved in
"tealer-export/{contract-name}"
. Detectors save their output files in their own subdirectory inside contract directory:"tealer-export/{contract-name}/{detector-name}"
. Printers that output a single file will save in the contract directory:"tealer-export/{contract-name}"
Printers that output multiple files will save in their own sub directory:"tealer-export/{contract-name}/print-{printer-name}"
Contract name is set as
".teal"
suffix"app-{application_id}"
"lsig-acc-{address[:8].lower()}"
"txn-{txn_id[:8].lower()}"
The terminal output of detectors is also updated: When some of the detectors do not find any vulnerable paths, tealer would just print
The
--dest
command line option which allows a user to select the destination folder for output files is also removed.