File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ package luajit
22
22
23
23
import (
24
24
"bytes"
25
+ "embed"
25
26
"encoding/binary"
26
27
27
28
"github.com/wader/fq/format"
@@ -30,13 +31,17 @@ import (
30
31
"github.com/wader/fq/pkg/scalar"
31
32
)
32
33
34
+ //go:embed luajit.md
35
+ var LuaJITFS embed.FS
36
+
33
37
func init () {
34
38
interp .RegisterFormat (
35
39
format .LuaJIT ,
36
40
& decode.Format {
37
41
Description : "LuaJIT 2.0 bytecode dump" ,
38
42
DecodeFn : LuaJITDecode ,
39
43
})
44
+ interp .RegisterFS (LuaJITFS )
40
45
}
41
46
42
47
// reinterpret an int as a float
Original file line number Diff line number Diff line change
1
+ ### Authors
2
+ - [ @dlatchx ] ( https://github.com/dlatchx )
3
+
4
+ ### References
5
+ - https://github.com/LuaJIT/LuaJIT/blob/v2.1/src/lj_bcdump.h
6
+ - http://scm.zoomquiet.top/data/20131216145900/index.html
You can’t perform that action at this time.
0 commit comments