mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-22 14:19:02 +00:00
afl-cc: Use afl-as (rather than as) to find obj path
This commit is contained in:
@ -2475,9 +2475,9 @@ void add_runtime(aflcc_state_t *aflcc) {
|
|||||||
*/
|
*/
|
||||||
void add_assembler(aflcc_state_t *aflcc) {
|
void add_assembler(aflcc_state_t *aflcc) {
|
||||||
|
|
||||||
u8 *afl_as = find_object(aflcc, "as");
|
u8 *afl_as = find_object(aflcc, "afl-as");
|
||||||
|
|
||||||
if (!afl_as) FATAL("Cannot find 'as' (symlink to 'afl-as').");
|
if (!afl_as) FATAL("Cannot find 'afl-as'.");
|
||||||
|
|
||||||
u8 *slash = strrchr(afl_as, '/');
|
u8 *slash = strrchr(afl_as, '/');
|
||||||
if (slash) *slash = 0;
|
if (slash) *slash = 0;
|
||||||
|
Reference in New Issue
Block a user