简体   繁体   中英

how to get assembly code from .lua or from byte code?

i'd like to study assembly code from lua code. for the moment , i can get byte code with command :

luac filename.lua

I work on linux platform, how to compile it ? Should i compile it in order to study his assembly code ? how to disassemble it ?

Stock Lua does not compile the bytecode into assembly code, it has a bytecode execution engine, the Lua virtual machine. So

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM