Handle backend options that are encoded in the executable name.
Declared in <llvm/FuzzMutate/FuzzerCLI.h>
void
handleExecNameEncodedBEOpts(StringRef ExecName);
Parses some common backend options out of a specially crafted executable name (argv[0]). For example, a name like llvm-foo-fuzzer--aarch64-gisel might set up an AArch64 triple and the Global ISel selector. This should be called before parseFuzzerCLOpts if calling both.
This is meant to be used for environments like OSS-Fuzz that aren't capable of passing in command line arguments in the normal way.
| Name | Description |
|---|---|
| ExecName | Executable name (typically argv[0]) encoding backend opts. |