"Finding bugs without running or even looking at code" by Jay Parlar

Channel:Strange Loop Conference · Length:40:27 · Published:2019-09-14 · Views:41857

Watch on YouTube

Summary

Jay Parlar's Strange Loop talk shows how model checkers such as Alloy can find complex bugs in a system's design without running or reading any code. He walks through modeling architectures and checking every possible sequence of operations, including a real security bug and a UI feature-interaction bug.

Why HN recommends it

HN commenters point to it as the best practical introduction to Alloy and to lightweight formal modeling.

There is a talk that gives a good overview on Alloy and how useful using something like this is — HN, 2023

Software architecture & design · Testing, debugging & developer tools · Logic & formal methods

Subtitles (excerpt)

all right good afternoon everybody I am je parle gonna be talking to you about finding bugs without running or even looking at your code now this talk is from the general class of things called formal methods there is a slack channel formal methods if you want to join talk to talk to other like-minded folks so this is a pretty big claim I'm making here and you'd be fairly reasonable to say impossible right how can we possibly find budge without looking at the code or even running the code well how are a few ways that we find bugs right now is it there's at least a couple we can all probably think of off the top of our heads reviewing PRS right awesome way to find bugs in fact it's one of the best ways to find bugs testing manual and automated testing you're definitely gonna find bugs like that static analyzers really cool tools that can analyze your codebase find bugs that humans often can't find the problem with all these and other methods though is that they all require that either you or a tool is looking at your code or that your code is running in the case of testing and I'm not interested any of that for today so what then is my secret solution to finding bugs without running or looking at code is this talking to an

On Hacker News

I was exposed to alloy by this wonderful video: "Finding bugs without running or even looking at code" by Jay Parlar [VIDEO] I believe the general idea could be applicable in practice for core parts of most businesses software. So now I'm very interested in real world accounts of using alloy like this. Anyone have other posts like this one or experiences to share along these lines? — ParetoOptimal, 2023-04
There was a fantastic talk at strangeloop this year on Alloy: [VIDEO] . The speaker used it to find a serious security bug in their live code and a feature interaction bug in their UI that had meant they had been writing broken code for the past _year_. (full disclosure I'm referenced towards the end) — hwayne, 2019-10
There is a talk that gives a good overview on Alloy and how useful using something like this is: "Finding bugs without running or even looking at code" by Jay Parlar [VIDEO] — _andrei_, 2023-10
There's a great talk from StrangeLoop[0] where a presenter uses Alloy modelling in exactly the same manner: - generate a couple examples - see something wrong - add a rule - repeat [0] [VIDEO] — kilotaras, 2020-04

Related videos