This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] Fix FuzzerExtFunctions when working with weak functions.
AbandonedPublic

Authored by mpividori on Feb 8 2017, 10:11 PM.

Details

Reviewers
kcc
zturner
Summary

For weak functions we also need to check if "fun__dll" is present.
So, we were not checking properly for weak functions. This did not generate any problem before because the only weak function that we include is __sanitizer_print_memory_profile, but could generate problem in the future.
So, in this diff I include the changes to fix that.

Diff Detail

Event Timeline

mpividori created this revision.Feb 8 2017, 10:11 PM
mpividori abandoned this revision.Feb 8 2017, 11:49 PM