Skip to content

Lua scripting ideas (TODO/WISH list) #252

Open
@adriweb

Description

@adriweb

#19 is the issue for Lua scripting support in itself, but here's one for throwing some ideas about the Lua integration/features in CEmu, so basically a TODO/WISH list:

GUI:

  • Listing available scripts. We probably need a scripts folder in the CEmu appdata one.
  • Autoloading some scripts. Let the user autoload some script at some point (when should that happen?)
  • Setting to enable unsafe functions. The require, loadfile, dofile functions and the io, os, debug modules are currently disabled by default for safety reasons.

Developer:

  • Generic events/hooking system. User callback will be fired when something specific happens.
  • Example useful scripts. Shipped by default with CEmu
  • Tutorial/Docs. That's probably useful...
  • Conditional Breakpoints. This is a suggestion from issue Feature request: conditional breakpoints #265, which adds support for scriptable conditional breakpoints on events.

Bindings:

  • Disasm APIs bindings. Use zdis correctly.
  • More GUI bindings. All existing GUI stuff should have a Lua equivalent (also, take ideas from here and there).

Other:

  • GitHub repo of Lua scripts. To have a shared area of scripts user can download in CEmu.
  • CLI arguments stuff. Should probably have some things to launch a script at boot or something
  • TASing support. This is a suggestion from issue Add support for TASing #275, which adds support to load and run scripts.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions