Ian Smith (@2over124) profile picture

Security Research Engineer

Joined August 2021
Photo by Ian Smith (@2over124)
Ian Smith retweeted
New Galois blog: “Specifications Don’t Exist”. If we want to formally verify more systems, we need formal specifications, but most real systems are hard to specify for very deep reasons
5
12
1
46
4,630
Just wrapped up my first week @galois! Everyone was super welcoming, and I was able to hit the ground running on some really interesting projects. Excited to work with and learn from the people here! If you ever want to talk binary/program analysis or whatever else hit me up
12
824
Life update: Last week, I wrapped up my 4ish years at @trailofbits. Everyone I worked with is fantastic. The problems we worked on were exciting, and I learned a ton. I will miss everyone there! I am excited for what's next and continuing to work on cool program analysis problems
55
3,236
How the day starts: rebasing some code, how the day ends: well I guess I'll build this entire project under Ocaml trunk to get around a compiler bug and hack around the version restrictions in ppxlib to do that... I'm surprised it actually built and ran
1
1
351
Symbolic memory model im working on compiled first try and passed a single test that loads and stores at a concrete offset... yep obviously correct on this basis, who needs more tests
1
276
Ouch... something i was enjoying working on and thought was cool got a negative result against metrics from a dumb solution. In retrospect, I can see the issues, guess that's the way it goes
1
3
362
Any sufficiently large autotools build is indistinguishable from magic
2
208
Messed around with some lambda prologue type inference stuff tonight and it passed my test was like wow this is so elegant why did I drop this last time. Then it didn't pass my second test... debugged it, ah yes that's the pain I remember. ELPI tracing is pretty cool tho fwiw
1
228
This title bears some explaining lol. Continuing the binary analysis kick I've been on, this paper is concerned with how you decompile a function in a way that allows a user to modify decompilation and get a guarantee that manipulations at statement level simulate the change
Ian Smith will present his talk “IRENE: A Toolchain for High-Level Micropatching Through Recompilable Sub-Function Regions” at MILCOM this upcoming week.
1
4
385
This is subtle because if you allow a decompiler to perform global optimizations these disrupt relationships of statements to instructions in the binary. The trick is decompile patchable regions in isolation and use flow sensitive analyses to pass info between blocks
133
Looking forward to seeing everyone at SAS! A bunch of interesting papers and looks like a fun program
Catch Ian Smith on Sunday at SPLASH 2024, where he will present on recovering high-level type information in binary programs, an important part of reverse engineering and binary analysis 2024.splashcon.org/details/s…
1
8
411
Self promo: arxiv.org/abs/2409.01841 TLDR type inference for binaries requires some expressive type system features that previously lead to adhoc constructions. There's a nice overlap with the features provided by algebraic subtyping and what you need for type recovery
3
15
52
7,112
Outcomes: you get a nice efficient binary type inference algorithm and arguably more importantly it connects type recovery with type inference in high-level languages
333
Is there a reason behind a certain publisher seeming to hide the button to download a single article and repeatedly causimg me to accidentally download the whole journal or is the UI just bad
191
Ok seriously who picked phi and psi for assertions, I have terrible handwriting and I simply cannot make these readable
2
189
Ok why do all the decompiler system papers constantly focus on control flow structuring. Like I get it it's a hard problem, but like a lot of the problem is in rewriting pointer arithmetic, variable recovery, types etc... how those rewrites collaborate with analysis is tricky
4
1
9
682
There are papers that often focus specifically on type recovery but that's not how decompilers end up looking in practice... Ie. Ghidra where copy propagation pushes types forward... people don't seem to write about this as much maybe since it's a bundle of rewrite heuristics
3
247
Bit weird to me that after the xz stuff people calling out languages with better package management as resulting in larger trust graphs. At least with a lockfile, centralized repos we have some notion of what versions we are pulling in rather than yolo static linking some liba
1
3
212
Seems to me like while yes, languages with real package management do result in people having more deps since it's more convenient, it also provides an actual starting point for managing your supply chain.
1
134
Anybody know a tool for language documentation? In my ideal world it has some nice formatting for some sort of ebnf grammar and then maybe some layout for documenting ur syntactic forms? I don't know of anything, maybe it's because there's not a ton you can automate usefully
1
131