A common use case I see is passing some helper script files to the REPL so it would be easier to work with. This and the configuration flags I'm adding (#76, #82) and plan to add (#83, #84), can make the frida command repetitive and long. Maybe we could add a simple configuration file which is simply a list of REPL commands? I'm thinking of something like this:
%autoperform on
%autoreload off
%load -y ~/Scripts/Frida/repl-utils.js
Before working on a run control file, it would be wise to refactor the magics parsing to use shlex instead of doing it ourselves. It will fix the problems with files that contain spaces.
A common use case I see is passing some helper script files to the REPL so it would be easier to work with. This and the configuration flags I'm adding (#76, #82) and plan to add (#83, #84), can make the frida command repetitive and long. Maybe we could add a simple configuration file which is simply a list of REPL commands? I'm thinking of something like this: