rizin/r2-bindings/lua/test-r_core.lua
pancake 72581dd93e Many enhacements for the lua bindings
Load module and cast core instance at startup
Requires latest valabind.
Add RCore::ncast api
Use pkg-config everywhere to fix lua plugin build
Fix install path for lua bindings
Export RCore instance to #!lua shell
Example:
  #!lua
  print(c.assembler.bits)
2013-06-25 02:45:12 +02:00

7 lines
111 B
Lua

-- using RCore API as the unique entrypoint --
require "r_core"
c = r_core.RCore ()
print(c)
c:prompt_loop()