Chromium Code Reviews| Index: src/processor/exploitability_linux.h |
| diff --git a/src/processor/exploitability_linux.h b/src/processor/exploitability_linux.h |
| index 93c5082fb3c26398cacbd17c1c8a65bf667579e1..0e33af56818708a08e7179213ecba8de8cdc58f8 100644 |
| --- a/src/processor/exploitability_linux.h |
| +++ b/src/processor/exploitability_linux.h |
| @@ -86,6 +86,12 @@ class ExploitabilityLinux : public Exploitability { |
| const unsigned int MAX_OBJDUMP_BUFFER_LEN, |
| char *objdump_output_buffer); |
| + // Parses the objdump output given in |objdump_output_buffer| and extracts |
| + // the line of the first instruction into |instruction_line|. |
|
mmandlis
2016/02/16 19:21:16
Please, also comment on the return value.
ivanpe
2016/02/16 19:41:43
Done.
|
| + static bool GetObjdumpInstructionLine( |
| + const char *objdump_output_buffer, |
| + string *instruction_line); |
| + |
| // Tokenizes out the operation and operands from a line of instruction |
| // disassembled by objdump. This method modifies the pointers to match the |
| // tokens of the instruction, and returns if the tokenizing was a success. |