[tor-bugs] #26265 [Core Tor/Tor]: A proposal and demo for a fuzzing system that works with Rust through C code

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jun 3 10:01:38 UTC 2018


#26265: A proposal and demo for a fuzzing system that works with Rust through C
code
------------------------------+------------------------------------
 Reporter:  debily            |          Owner:  (none)
     Type:  enhancement       |         Status:  needs_review
 Priority:  Low               |      Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor      |        Version:
 Severity:  Trivial           |     Resolution:
 Keywords:  fuzzing Rust afl  |  Actual Points:
Parent ID:  #25386            |         Points:
 Reviewer:                    |        Sponsor:
------------------------------+------------------------------------

Comment (by debily):

 Replying to [comment:4 isis]:
 > This probably won't fix #25386, but it is a pretty good start on #24265.
 What we really need eventually is a way for the ''same'' random fuzzer
 input to be sent to both a C function and a Rust function, both of which
 are supposed to behave identically (e.g. the parsers in
 `src/or/protover.c` and `src/rust/protover/protover.rs`).

 Well I could do a json dump of structures and compare them, though one can
 never be sure of correctness of used json libraries.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26265#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list