Re:Emacs Arbitrary Code Execution and How to Avoid It
by Barrin92 on Wednesday November 27, 2024 @12:36PM
(#42257912)
Wouldn't it be sufficient to "just" write a kind of context manager that watches the macro expansion and then looks at each step what's being done and divvies that up into safe and unsafe execution, so that at least the example of the article
doesn't just automatically run? Obviously it's a lot of work depending on how sophisticated you want that to be but you probably don't need to rearchitect much.
[ Parent
| on HN ]
There are no comments on this comment yet.