Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ossfuzz: Move to C++ for curl_fuzzer. #1851

Merged
merged 1 commit into from Sep 2, 2017
Merged

ossfuzz: Move to C++ for curl_fuzzer. #1851

merged 1 commit into from Sep 2, 2017

Conversation

cmeister2
Copy link
Contributor

@cmeister2 cmeister2 commented Sep 1, 2017

Automake gets confused if you want to use C++ static libraries with C
code - basically we need to involve the clang++ linker. The easiest way
of achieving this is to rename the C code as C++ code. This gets us a
bit further along the path and ought to be compatible with Google's
version of clang.


This is mostly a check to see if travis is happy - if it is, great!

@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 73.198% when pulling 4e8bdd4 on cmeister2:cmeister2/ossfuzz/libcpp into c290b8f on curl:master.

Automake gets confused if you want to use C++ static libraries with C
code - basically we need to involve the clang++ linker. The easiest way
of achieving this is to rename the C code as C++ code. This gets us a
bit further along the path and ought to be compatible with Google's
version of clang.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 73.122% when pulling f556a86 on cmeister2:cmeister2/ossfuzz/libcpp into c290b8f on curl:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 73.131% when pulling f556a86 on cmeister2:cmeister2/ossfuzz/libcpp into c290b8f on curl:master.

@cmeister2
Copy link
Contributor Author

Ok, travis is happy again, and I've verified this works with oss-fuzz. Hopefully we can get this in today or tomorrow.

@bagder bagder merged commit 57001ce into curl:master Sep 2, 2017
@MarcelRaad
Copy link
Member

MarcelRaad commented Sep 6, 2017

Unfortunately, this breaks many of the autobuilds as well as default installations of MinGW and Cygwin because no C++ compiler is installed. I'm not an autoconf expert and don't have access to a computer at the moment, unfortunately - can the part in configure.ac maybe be made conditional on if I want fuzzing somehow?

@cmeister2
Copy link
Contributor Author

Ugh - that's a pain. I don't have access to my computers until Friday afternoon; @bagder; any thoughts?

bagder added a commit that referenced this pull request Sep 7, 2017
The tests for object file/executable file extensions are presumably only
done for the first of these macros in the configure file.

Bug: #1851 (comment)
Reported-by: Marcel Raad
@bagder
Copy link
Member

bagder commented Sep 7, 2017

My take at this: #1873

bagder added a commit that referenced this pull request Sep 7, 2017
The tests for object file/executable file extensions are presumably only
done for the first of these macros in the configure file.

Bug: #1851 (comment)
Reported-by: Marcel Raad
Closes #1873
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants