Cyfrin

name

Return the detector name

name

name

fn name(&self) -> String

Definition: https://github.com/Cyfrin/aderyn/blob/dev/aderyn_core/src/detect/detector.rs#L195

Returns the name of the detector as specified in IssueDetectorNamePool, which categorizes the type of issue.

Returns

  • String: A string representation of the issue detector's name, helpful for identifying and categorizing different types of detectors.

Example

fn name(&self) -> String {
    format!("{}", IssueDetectorNamePool::ArbitraryTransferFrom)
}