Commit Graph

5 Commits

Author SHA1 Message Date
Sean Gilligan 1a6ee274c0
Changing urllib3 fuzzing to use httpretty (#11120)
I've been trying to use a Python `HTTPServer` on a seperate thread to
drive coverage of urllib3. There are technical issues with it #10235
that mean it's not running properly.

I have created an alternative approach that uses a Python socket mocking
framework `httpretty` to fuzz urllib3's request handling. I'd like to
switch us over to this new approach to see if we can start fuzzing
urllib3's request handling.
2023-10-16 12:47:54 +01:00
DavidKorczynski 0cb820e5af
infra: add Python coverage support (#7298)
* infra: add Python coverage support

* update python coverage helper script

* nits

* switch from commands to python

* pin coverage package

* switch to single quote strings throughout

* nit

* fix style

* fix style

* fix ci

* fix ci
2022-04-06 10:31:34 -04:00
Quentin Pradet 8e0bf7a42f
Fix urllib3 install procedure (#7205)
* Fix urllib3 install procedure

We switched from setuptools to Flit, and running setup.py is deprecated anyway.

* Invoke pip from python3

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-01-31 17:31:15 +00:00
Fabian Meumertzheim 10e888b561
[all] Make fuzz targets world executable (#5751)
Making fuzz targets only user executable as the root user makes them
non-executable outside the container, e.g. in the oss-fuzz/build/ dir.
2021-05-12 07:03:21 -07:00
DavidKorczynski b516c4b72d
[urllib3] initial integration. (#4997) 2021-01-19 06:45:25 -08:00