Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0788ef5

Browse files
committed
Strip-Wl,-no-undefined during compilation
Make the compiler wrapper stripping `-Wl,-no-undefined` in addition to `-Wl,--no-undefined`.Both versions of the flag are accepted by clang and, therefore, used by building systems in the wild (e.g., samba will not build without this fix).
1 parentdb65dc5 commit0788ef5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/afl-cc.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1962,8 +1962,8 @@ param_st parse_linking_params(aflcc_state_t *aflcc, u8 *cur_argv, u8 scan,
19621962
}
19631963

19641964
}elseif (!strcmp(cur_argv,"-Wl,-z,defs")||
1965-
19661965
!strcmp(cur_argv,"-Wl,--no-undefined")||
1966+
!strcmp(cur_argv,"-Wl,-no-undefined")||
19671967
!strcmp(cur_argv,"--no-undefined")||
19681968
strstr(cur_argv,"afl-compiler-rt")||
19691969
strstr(cur_argv,"afl-llvm-rt")) {
@@ -3021,4 +3021,3 @@ int main(int argc, char **argv, char **envp) {
30213021
return0;
30223022

30233023
}
3024-

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp