[][src]Function super_analyzer_core::utils::get_code

pub fn get_code<S: AsRef<str>>(code: S, s_line: usize, e_line: usize) -> String

Gets the code snippet near the start and end lines.

It will return 5 lines above and 5 lines below the vulnerability.