* Parse & handle options. */
| 39 | * Parse & handle options. |
| 40 | */ |
| 41 | static void parseOptions(Binary *B, char * const *argv) |
| 42 | { |
| 43 | parseOptions(argv, /*api=*/true); |
| 44 | switch (B->mode) |
| 45 | { |
| 46 | case MODE_ELF_EXE: case MODE_ELF_DSO: |
| 47 | B->config = option_loader_base; break; |
| 48 | default: |
| 49 | break; |
| 50 | } |
| 51 | targetAnalysis(B); |
| 52 | } |
| 53 | |
| 54 | /* |
| 55 | * Flush the patching queue up to the new cursor. |
no test coverage detected