News for hackers. Stuff that matters.
Re:New fuzzing tool finds USB bugs in Linux, Windows, macOS,... by monocasa on Thursday May 28, 2020 @10:17AM (#23337518)
Except unsafe blocks are rare and heavily marked as "this is where the unsafeness is".
Re:New fuzzing tool finds USB bugs in Linux, Windows, macOS,... by pml1 on Thursday May 28, 2020 @10:22AM (#23337597)
It won't be rare in driver code.
Re:New fuzzing tool finds USB bugs in Linux, Windows, macOS,... by ComputerGuru on Thursday May 28, 2020 @03:51PM (#23341748)
I’ve written bare metal code for rust that does networking and had only a handful of `unsafe` usages, and none after startup/init was completed. It’s actually really incredible how far “simple” shared-read-vs-exclusive-write bound checking and a very strict (but capable/likely Turing complete) type system can take you.
Re:New fuzzing tool finds USB bugs in Linux, Windows, macOS,... by monocasa on Thursday May 28, 2020 @10:28AM (#23337670)
It absolutely will, particularly in USB code. USB devices other than host controllers don't have memory mapped registers for instance, it's basically a network protocol.