4 ms·
Personally, I'd call this writing "Safer and More Secure Drivers in High-Level Languages", because there are still unsafe operations going on (for DMA, etc.): h
by saagarjha 8y ago
Personally, I'd call this writing "Safer and More Secure Drivers in High-Level Languages", because there are still unsafe operations going on (for DMA, etc.): https://github.com/ixy-languages/ixy.swift/search?q=Unsafe https://github.com/ixy-languages/ixy.swift/search?q=Unsafe
While it's great that you get improved safety (and often nicer and easier to reason about code) by using something other than C, you can still have memory safety issues from cavalier or incorrect usage of unsafe APIs, since they undermine the guarantees the language provides with regards to correctness.
Also, unrelated: does anyone actually have the slides (you know, the presentation file with text in it, rather than the mp4 that CCC is offering me) for this presentation? It's really annoying to scrub through a video to find stuff on a slow internet connection :(
- qznc 8y agoUsually they would be linked on this page: https://fahrplan.events.ccc.de/congress/2018/Fahrplan/events/9670.html https://fahrplan.events.ccc.de/congress/2018/Fahrplan/events...
- voltagex_ 8y agoThe slides may not be up yet, but you could demux just the video stream out of https://mirrors.dotsrc.org/cdn.media.ccc.de//congress/2018/slides-h264-hd/35c3-9670-eng-deu-Safe_and_Secure_Drivers_in_High-Level_Languages_hd-slides.mp4 https://mirrors.dotsrc.org/cdn.media.ccc.de//congress/2018/s..., or give me a yell in the next 30 minutes or so and I can do it. Don't have a nice script to de-dupe images though.
- emmericp 8y agoI've added them to the git repo: https://github.com/ixy-languages/ixy-languages/blob/master/slides/35C3.pdf https://github.com/ixy-languages/ixy-languages/blob/master/s...
- saagarjha 8y agoThanks!
- edwintorok 8y agoDirect link for download (GitHub won't render the entire PDF by default): https://github.com/ixy-languages/ixy-languages/raw/master/slides/35C3.pdf https://github.com/ixy-languages/ixy-languages/raw/master/sl...
- pjmlp 8y agoQuite true, however the unsafety code coverage gets reduced quite significantly. On the last Linux Kernel Summit, according to Google, 68% of Linux kernel security exploits are caused by C memory corruption issues due to lack of bounds checking.
- zozbot123 8y agoThe talk mentions making DMA operations safe using IOMMU. (Unfortunately, IOMMU is a hardware feature and not always supported.)