News for hackers. Stuff that matters.
Re:A gentle introduction to symbolic execution by CalChris on Monday April 08, 2019 @02:58PM (#19608044)
Seriously helpful article. Looking forward to the sequels.

  we can map each syntax tree to an interpreter
Maybe I'm being dense but I'm not sure what you mean by map here. A map is from set to set. I'm not thinking of an interpreter as a set.
Re:A gentle introduction to symbolic execution by joelburget on Monday April 08, 2019 @03:39PM (#19608358)
I'll use a bit of Haskell in my response, since that's what I'm most comfortable with and what we actually use for our work. Hopefully that's okay.

We can define a data type of expressions in our language, with addition, multiplication, etc.

  data Expr = Addition Expr Expr | Multiplication Expr Expr | ...
Then we need the type of an interpreter which consumes program inputs and produces an output. I'll leave this abstract for now.

  data Interpreter = ...
By map, we just mean that we can write a Haskell function with this type

  interpret :: Expr -> Interpreter
  interpret (Addition a b) = (+) <$> interpret a <*> interpret b
  interpret (Multiplication a b) = (*) <$> interpret a <*> interpret b
If you're curious, here's some real symbolic evaluation code I wrote doing the same https://github.com/kadena-io/pact/blob/234ba3dd01f0df8b4e462...
Re:A gentle introduction to symbolic execution by CalChris on Monday April 08, 2019 @05:13PM (#19609094)
Well, I'm glad I asked. I get this now. It really is a mapping. But this was a bit of shorthand that I didn't get in the post. You might want to add that.
Re:A gentle introduction to symbolic execution by Xophmeister on Monday April 08, 2019 @03:28PM (#19608277)
The set of interpreters.