diff --git a/src/analysis/slices.rs b/src/analysis/slices.rs index 685ce90..68824a8 100644 --- a/src/analysis/slices.rs +++ b/src/analysis/slices.rs @@ -149,7 +149,7 @@ impl FunctionSlices { if check_prologue_sequence(section, addr, Some(ins))? { if let Some(prologue) = self.prologue { if prologue != addr && prologue != addr - 4 { - bail!("Found duplicate prologue: {:#010X} and {:#010X}", prologue, addr) + bail!("Found multiple functions inside a symbol: {:#010X} and {:#010X}. Check symbols.txt?", prologue, addr) } } else { self.prologue = Some(addr); diff --git a/src/util/config.rs b/src/util/config.rs index 790eb7f..0052770 100644 --- a/src/util/config.rs +++ b/src/util/config.rs @@ -710,7 +710,7 @@ where R: BufRead + ?Sized { ensure!( section.contains_range(start..end) || (start == section_end && end == section_end), - "Section {} ({:#010X}..{:#010X}) does not contain range {:#010X}..{:#010X}", + "Section {} ({:#010X}..{:#010X}) does not contain range {:#010X}..{:#010X}. Check splits.txt?", name, section.address, section.address + section.size,