| Index: courgette/program_detector.h
|
| diff --git a/courgette/program_detector.h b/courgette/program_detector.h
|
| index 75e81a97c133c315a22ac920c3a537e577e420bf..a869a3f2487376b462fe6f9b520c371c81f23481 100644
|
| --- a/courgette/program_detector.h
|
| +++ b/courgette/program_detector.h
|
| @@ -29,7 +29,7 @@ Status DetectExecutableType(const uint8_t* buffer,
|
| ExecutableType* type,
|
| size_t* detected_length);
|
|
|
| -// Attempts to detect the type of executable, and parse it with the appropriate
|
| +// Attempts to detect the type of executable by parsing it with the appropriate
|
| // tools.
|
| // On success:
|
| // Parses the executable into a new AssemblyProgram in |*output|, and returns
|
| @@ -40,6 +40,13 @@ Status ParseDetectedExecutable(const uint8_t* buffer,
|
| size_t length,
|
| std::unique_ptr<AssemblyProgram>* output);
|
|
|
| +// ParseDetectedExecutable(), with Label annotations generated and stored in
|
| +// |output|.
|
| +Status ParseDetectedExecutableWithAnnotation(
|
| + const uint8_t* buffer,
|
| + size_t length,
|
| + std::unique_ptr<AssemblyProgram>* output);
|
| +
|
| } // namespace courgette
|
|
|
| #endif // COURGETTE_PROGRAM_DETECTOR_H_
|
|
|