immunio 1.1.2 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immunio/version.rb +1 -1
- data/lua-hooks/Makefile +56 -109
- data/lua-hooks/ext/all.c +3 -14
- data/lua-hooks/ext/libinjection/module.mk +5 -0
- data/lua-hooks/ext/lpeg/module.mk +6 -0
- data/lua-hooks/ext/lua-cmsgpack/module.mk +2 -0
- data/lua-hooks/ext/lua-snapshot/module.mk +2 -0
- data/lua-hooks/ext/luajit/COPYRIGHT +1 -1
- data/lua-hooks/ext/luajit/Makefile +2 -2
- data/lua-hooks/ext/luajit/README +2 -2
- data/lua-hooks/ext/luajit/doc/bluequad-print.css +1 -1
- data/lua-hooks/ext/luajit/doc/bluequad.css +1 -1
- data/lua-hooks/ext/luajit/doc/changes.html +15 -2
- data/lua-hooks/ext/luajit/doc/contact.html +3 -3
- data/lua-hooks/ext/luajit/doc/ext_c_api.html +2 -2
- data/lua-hooks/ext/luajit/doc/ext_ffi.html +2 -2
- data/lua-hooks/ext/luajit/doc/ext_ffi_api.html +2 -2
- data/lua-hooks/ext/luajit/doc/ext_ffi_semantics.html +4 -2
- data/lua-hooks/ext/luajit/doc/ext_ffi_tutorial.html +2 -2
- data/lua-hooks/ext/luajit/doc/ext_jit.html +2 -2
- data/lua-hooks/ext/luajit/doc/ext_profiler.html +2 -2
- data/lua-hooks/ext/luajit/doc/extensions.html +9 -2
- data/lua-hooks/ext/luajit/doc/faq.html +2 -2
- data/lua-hooks/ext/luajit/doc/install.html +22 -18
- data/lua-hooks/ext/luajit/doc/luajit.html +3 -3
- data/lua-hooks/ext/luajit/doc/running.html +2 -2
- data/lua-hooks/ext/luajit/doc/status.html +2 -2
- data/lua-hooks/ext/luajit/dynasm/dasm_arm.h +1 -1
- data/lua-hooks/ext/luajit/dynasm/dasm_arm.lua +4 -4
- data/lua-hooks/ext/luajit/dynasm/dasm_arm64.h +1 -1
- data/lua-hooks/ext/luajit/dynasm/dasm_arm64.lua +4 -4
- data/lua-hooks/ext/luajit/dynasm/dasm_mips.h +1 -1
- data/lua-hooks/ext/luajit/dynasm/dasm_mips.lua +4 -4
- data/lua-hooks/ext/luajit/dynasm/dasm_ppc.h +1 -1
- data/lua-hooks/ext/luajit/dynasm/dasm_ppc.lua +4 -4
- data/lua-hooks/ext/luajit/dynasm/dasm_proto.h +3 -3
- data/lua-hooks/ext/luajit/dynasm/dasm_x64.lua +1 -1
- data/lua-hooks/ext/luajit/dynasm/dasm_x86.h +34 -7
- data/lua-hooks/ext/luajit/dynasm/dasm_x86.lua +427 -102
- data/lua-hooks/ext/luajit/dynasm/dynasm.lua +5 -5
- data/lua-hooks/ext/luajit/etc/luajit.1 +1 -1
- data/lua-hooks/ext/luajit/etc/luajit.pc +1 -1
- data/lua-hooks/ext/luajit/src/Makefile +36 -21
- data/lua-hooks/ext/luajit/src/Makefile.dep +3 -1
- data/lua-hooks/ext/luajit/src/host/buildvm.c +1 -1
- data/lua-hooks/ext/luajit/src/host/buildvm.h +1 -1
- data/lua-hooks/ext/luajit/src/host/buildvm_asm.c +10 -1
- data/lua-hooks/ext/luajit/src/host/buildvm_fold.c +1 -1
- data/lua-hooks/ext/luajit/src/host/buildvm_lib.c +1 -1
- data/lua-hooks/ext/luajit/src/host/buildvm_peobj.c +1 -1
- data/lua-hooks/ext/luajit/src/host/genlibbc.lua +1 -1
- data/lua-hooks/ext/luajit/src/host/genminilua.lua +1 -1
- data/lua-hooks/ext/luajit/src/jit/bc.lua +1 -1
- data/lua-hooks/ext/luajit/src/jit/bcsave.lua +2 -2
- data/lua-hooks/ext/luajit/src/jit/dis_arm.lua +1 -1
- data/lua-hooks/ext/luajit/src/jit/dis_mips.lua +1 -1
- data/lua-hooks/ext/luajit/src/jit/dis_mipsel.lua +1 -1
- data/lua-hooks/ext/luajit/src/jit/dis_ppc.lua +1 -1
- data/lua-hooks/ext/luajit/src/jit/dis_x64.lua +1 -1
- data/lua-hooks/ext/luajit/src/jit/dis_x86.lua +163 -73
- data/lua-hooks/ext/luajit/src/jit/dump.lua +2 -1
- data/lua-hooks/ext/luajit/src/jit/p.lua +1 -1
- data/lua-hooks/ext/luajit/src/jit/v.lua +1 -1
- data/lua-hooks/ext/luajit/src/jit/zone.lua +1 -1
- data/lua-hooks/ext/luajit/src/lib_aux.c +1 -1
- data/lua-hooks/ext/luajit/src/lib_base.c +4 -5
- data/lua-hooks/ext/luajit/src/lib_bit.c +1 -1
- data/lua-hooks/ext/luajit/src/lib_debug.c +1 -1
- data/lua-hooks/ext/luajit/src/lib_ffi.c +2 -5
- data/lua-hooks/ext/luajit/src/lib_init.c +1 -1
- data/lua-hooks/ext/luajit/src/lib_io.c +2 -3
- data/lua-hooks/ext/luajit/src/lib_jit.c +1 -1
- data/lua-hooks/ext/luajit/src/lib_math.c +1 -1
- data/lua-hooks/ext/luajit/src/lib_os.c +2 -2
- data/lua-hooks/ext/luajit/src/lib_package.c +1 -1
- data/lua-hooks/ext/luajit/src/lib_string.c +1 -1
- data/lua-hooks/ext/luajit/src/lib_table.c +1 -1
- data/lua-hooks/ext/luajit/src/lj.supp +15 -0
- data/lua-hooks/ext/luajit/src/lj_alloc.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_api.c +4 -1
- data/lua-hooks/ext/luajit/src/lj_arch.h +33 -7
- data/lua-hooks/ext/luajit/src/lj_asm.c +12 -5
- data/lua-hooks/ext/luajit/src/lj_asm.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_asm_arm.h +3 -13
- data/lua-hooks/ext/luajit/src/lj_asm_mips.h +337 -71
- data/lua-hooks/ext/luajit/src/lj_asm_ppc.h +2 -2
- data/lua-hooks/ext/luajit/src/lj_asm_x86.h +2 -2
- data/lua-hooks/ext/luajit/src/lj_bc.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_bc.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_bcdump.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_bcread.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_bcwrite.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_buf.c +2 -4
- data/lua-hooks/ext/luajit/src/lj_buf.h +1 -3
- data/lua-hooks/ext/luajit/src/lj_carith.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_carith.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_ccall.c +37 -14
- data/lua-hooks/ext/luajit/src/lj_ccall.h +3 -3
- data/lua-hooks/ext/luajit/src/lj_ccallback.c +16 -7
- data/lua-hooks/ext/luajit/src/lj_ccallback.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_cconv.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_cconv.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_cdata.c +10 -1
- data/lua-hooks/ext/luajit/src/lj_cdata.h +3 -1
- data/lua-hooks/ext/luajit/src/lj_clib.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_clib.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_cparse.c +27 -6
- data/lua-hooks/ext/luajit/src/lj_cparse.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_crecord.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_crecord.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_ctype.c +10 -8
- data/lua-hooks/ext/luajit/src/lj_ctype.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_debug.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_debug.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_def.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_dispatch.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_dispatch.h +21 -4
- data/lua-hooks/ext/luajit/src/lj_emit_arm.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_emit_mips.h +7 -5
- data/lua-hooks/ext/luajit/src/lj_emit_ppc.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_emit_x86.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_err.c +69 -31
- data/lua-hooks/ext/luajit/src/lj_err.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_errmsg.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_ff.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_ffrecord.c +10 -40
- data/lua-hooks/ext/luajit/src/lj_ffrecord.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_frame.h +12 -1
- data/lua-hooks/ext/luajit/src/lj_func.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_func.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_gc.c +2 -2
- data/lua-hooks/ext/luajit/src/lj_gc.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_gdbjit.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_gdbjit.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_ir.c +31 -15
- data/lua-hooks/ext/luajit/src/lj_ir.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_ircall.h +29 -1
- data/lua-hooks/ext/luajit/src/lj_iropt.h +2 -1
- data/lua-hooks/ext/luajit/src/lj_jit.h +2 -1
- data/lua-hooks/ext/luajit/src/lj_lex.c +28 -1
- data/lua-hooks/ext/luajit/src/lj_lex.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_lib.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_lib.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_load.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_mcode.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_mcode.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_meta.c +8 -8
- data/lua-hooks/ext/luajit/src/lj_meta.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_obj.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_obj.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_opt_dce.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_opt_fold.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_opt_loop.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_opt_mem.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_opt_narrow.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_opt_sink.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_opt_split.c +10 -5
- data/lua-hooks/ext/luajit/src/lj_parse.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_parse.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_profile.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_profile.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_record.c +13 -5
- data/lua-hooks/ext/luajit/src/lj_record.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_snap.c +20 -23
- data/lua-hooks/ext/luajit/src/lj_snap.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_state.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_state.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_str.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_str.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_strfmt.c +12 -98
- data/lua-hooks/ext/luajit/src/lj_strfmt.h +4 -4
- data/lua-hooks/ext/luajit/src/lj_strfmt_num.c +591 -0
- data/lua-hooks/ext/luajit/src/lj_strscan.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_strscan.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_tab.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_tab.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_target.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_target_arm.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_target_arm64.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_target_mips.h +30 -2
- data/lua-hooks/ext/luajit/src/lj_target_ppc.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_target_x86.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_trace.c +7 -2
- data/lua-hooks/ext/luajit/src/lj_trace.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_traceerr.h +1 -3
- data/lua-hooks/ext/luajit/src/lj_udata.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_udata.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_vm.h +5 -3
- data/lua-hooks/ext/luajit/src/lj_vmevent.c +1 -1
- data/lua-hooks/ext/luajit/src/lj_vmevent.h +1 -1
- data/lua-hooks/ext/luajit/src/lj_vmmath.c +15 -15
- data/lua-hooks/ext/luajit/src/ljamalg.c +2 -1
- data/lua-hooks/ext/luajit/src/lua.h +1 -0
- data/lua-hooks/ext/luajit/src/luaconf.h +2 -2
- data/lua-hooks/ext/luajit/src/luajit.c +1 -1
- data/lua-hooks/ext/luajit/src/luajit.h +4 -4
- data/lua-hooks/ext/luajit/src/lualib.h +1 -1
- data/lua-hooks/ext/luajit/src/msvcbuild.bat +1 -1
- data/lua-hooks/ext/luajit/src/ps4build.bat +26 -6
- data/lua-hooks/ext/luajit/src/vm_arm.dasc +17 -9
- data/lua-hooks/ext/luajit/src/vm_arm64.dasc +1 -1
- data/lua-hooks/ext/luajit/src/vm_mips.dasc +1562 -656
- data/lua-hooks/ext/luajit/src/vm_ppc.dasc +3 -7
- data/lua-hooks/ext/luajit/src/vm_x64.dasc +10 -2
- data/lua-hooks/ext/luajit/src/vm_x86.dasc +5 -8
- data/lua-hooks/ext/luautf8/module.mk +2 -0
- data/lua-hooks/ext/module.mk +15 -0
- data/lua-hooks/ext/modules.h +17 -0
- data/lua-hooks/ext/perf/luacpu.c +1 -1
- data/lua-hooks/ext/perf/lualoadavg.c +1 -1
- data/lua-hooks/ext/perf/luameminfo.c +1 -1
- data/lua-hooks/ext/perf/luaoslib.c +124 -2
- data/lua-hooks/ext/perf/module.mk +5 -0
- data/lua-hooks/ext/sha1/luasha1.c +4 -2
- data/lua-hooks/ext/sha1/module.mk +5 -0
- data/lua-hooks/ext/sha2/luasha256.c +4 -2
- data/lua-hooks/ext/sha2/module.mk +5 -0
- data/lua-hooks/ext/sysutils/lua_utils.c +56 -0
- data/lua-hooks/ext/sysutils/module.mk +2 -0
- data/lua-hooks/lib/boot.lua +2 -1
- data/lua-hooks/lib/hooks/module.mk +31 -0
- data/lua-hooks/lib/hooks/xss/module.mk +4 -0
- data/lua-hooks/lib/lexers/module.mk +10 -0
- data/lua-hooks/lib/module.mk +38 -0
- data/lua-hooks/lib/schema/module.mk +3 -0
- data/lua-hooks/options.mk +59 -0
- metadata +21 -2
@@ -4,7 +4,7 @@
|
|
4
4
|
<title>ffi.* API Functions</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
6
6
|
<meta name="Author" content="Mike Pall">
|
7
|
-
<meta name="Copyright" content="Copyright (C) 2005-
|
7
|
+
<meta name="Copyright" content="Copyright (C) 2005-2016, Mike Pall">
|
8
8
|
<meta name="Language" content="en">
|
9
9
|
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
|
10
10
|
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
|
@@ -560,7 +560,7 @@ named <tt>i</tt>.
|
|
560
560
|
</div>
|
561
561
|
<div id="foot">
|
562
562
|
<hr class="hide">
|
563
|
-
Copyright © 2005-
|
563
|
+
Copyright © 2005-2016 Mike Pall
|
564
564
|
<span class="noprint">
|
565
565
|
·
|
566
566
|
<a href="contact.html">Contact</a>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<title>FFI Semantics</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
6
6
|
<meta name="Author" content="Mike Pall">
|
7
|
-
<meta name="Copyright" content="Copyright (C) 2005-
|
7
|
+
<meta name="Copyright" content="Copyright (C) 2005-2016, Mike Pall">
|
8
8
|
<meta name="Language" content="en">
|
9
9
|
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
|
10
10
|
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
|
@@ -185,6 +185,8 @@ a <tt>typedef</tt>, except re-declarations will be ignored):
|
|
185
185
|
<tt>uint16_t</tt>, <tt>uint32_t</tt>, <tt>uint64_t</tt>,
|
186
186
|
<tt>intptr_t</tt>, <tt>uintptr_t</tt>.</li>
|
187
187
|
|
188
|
+
<li>From <tt><unistd.h></tt> (POSIX): <tt>ssize_t</tt>.</li>
|
189
|
+
|
188
190
|
</ul>
|
189
191
|
<p>
|
190
192
|
You're encouraged to use these types in preference to
|
@@ -1251,7 +1253,7 @@ compiled.</li>
|
|
1251
1253
|
</div>
|
1252
1254
|
<div id="foot">
|
1253
1255
|
<hr class="hide">
|
1254
|
-
Copyright © 2005-
|
1256
|
+
Copyright © 2005-2016 Mike Pall
|
1255
1257
|
<span class="noprint">
|
1256
1258
|
·
|
1257
1259
|
<a href="contact.html">Contact</a>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<title>FFI Tutorial</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
6
6
|
<meta name="Author" content="Mike Pall">
|
7
|
-
<meta name="Copyright" content="Copyright (C) 2005-
|
7
|
+
<meta name="Copyright" content="Copyright (C) 2005-2016, Mike Pall">
|
8
8
|
<meta name="Language" content="en">
|
9
9
|
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
|
10
10
|
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
|
@@ -593,7 +593,7 @@ it to a local variable in the function scope is unnecessary.
|
|
593
593
|
</div>
|
594
594
|
<div id="foot">
|
595
595
|
<hr class="hide">
|
596
|
-
Copyright © 2005-
|
596
|
+
Copyright © 2005-2016 Mike Pall
|
597
597
|
<span class="noprint">
|
598
598
|
·
|
599
599
|
<a href="contact.html">Contact</a>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<title>jit.* Library</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
6
6
|
<meta name="Author" content="Mike Pall">
|
7
|
-
<meta name="Copyright" content="Copyright (C) 2005-
|
7
|
+
<meta name="Copyright" content="Copyright (C) 2005-2016, Mike Pall">
|
8
8
|
<meta name="Language" content="en">
|
9
9
|
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
|
10
10
|
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
|
@@ -191,7 +191,7 @@ if you want to know more.
|
|
191
191
|
</div>
|
192
192
|
<div id="foot">
|
193
193
|
<hr class="hide">
|
194
|
-
Copyright © 2005-
|
194
|
+
Copyright © 2005-2016 Mike Pall
|
195
195
|
<span class="noprint">
|
196
196
|
·
|
197
197
|
<a href="contact.html">Contact</a>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<title>Profiler</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
6
6
|
<meta name="Author" content="Mike Pall">
|
7
|
-
<meta name="Copyright" content="Copyright (C) 2005-
|
7
|
+
<meta name="Copyright" content="Copyright (C) 2005-2016, Mike Pall">
|
8
8
|
<meta name="Language" content="en">
|
9
9
|
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
|
10
10
|
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
|
@@ -355,7 +355,7 @@ use.
|
|
355
355
|
</div>
|
356
356
|
<div id="foot">
|
357
357
|
<hr class="hide">
|
358
|
-
Copyright © 2005-
|
358
|
+
Copyright © 2005-2016 Mike Pall
|
359
359
|
<span class="noprint">
|
360
360
|
·
|
361
361
|
<a href="contact.html">Contact</a>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<title>Extensions</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
6
6
|
<meta name="Author" content="Mike Pall">
|
7
|
-
<meta name="Copyright" content="Copyright (C) 2005-
|
7
|
+
<meta name="Copyright" content="Copyright (C) 2005-2016, Mike Pall">
|
8
8
|
<meta name="Language" content="en">
|
9
9
|
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
|
10
10
|
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
|
@@ -344,6 +344,13 @@ Lua 5.1, which prevents implementing features that would otherwise
|
|
344
344
|
break the Lua/C API and ABI (e.g. <tt>_ENV</tt>).
|
345
345
|
</p>
|
346
346
|
|
347
|
+
<h2 id="lua53">Extensions from Lua 5.3</h2>
|
348
|
+
<p>
|
349
|
+
LuaJIT supports some extensions from Lua 5.3:
|
350
|
+
<ul>
|
351
|
+
<li>Unicode escape <tt>'\u{XX...}'</tt> embeds the UTF-8 encoding in string literals.</li>
|
352
|
+
</ul>
|
353
|
+
|
347
354
|
<h2 id="exceptions">C++ Exception Interoperability</h2>
|
348
355
|
<p>
|
349
356
|
LuaJIT has built-in support for interoperating with C++ exceptions.
|
@@ -438,7 +445,7 @@ lead to the termination of the process.</li>
|
|
438
445
|
</div>
|
439
446
|
<div id="foot">
|
440
447
|
<hr class="hide">
|
441
|
-
Copyright © 2005-
|
448
|
+
Copyright © 2005-2016 Mike Pall
|
442
449
|
<span class="noprint">
|
443
450
|
·
|
444
451
|
<a href="contact.html">Contact</a>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<title>Frequently Asked Questions (FAQ)</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
6
6
|
<meta name="Author" content="Mike Pall">
|
7
|
-
<meta name="Copyright" content="Copyright (C) 2005-
|
7
|
+
<meta name="Copyright" content="Copyright (C) 2005-2016, Mike Pall">
|
8
8
|
<meta name="Language" content="en">
|
9
9
|
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
|
10
10
|
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
|
@@ -176,7 +176,7 @@ the development of certain features, if they are important to you.
|
|
176
176
|
</div>
|
177
177
|
<div id="foot">
|
178
178
|
<hr class="hide">
|
179
|
-
Copyright © 2005-
|
179
|
+
Copyright © 2005-2016 Mike Pall
|
180
180
|
<span class="noprint">
|
181
181
|
·
|
182
182
|
<a href="contact.html">Contact</a>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<title>Installation</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
6
6
|
<meta name="Author" content="Mike Pall">
|
7
|
-
<meta name="Copyright" content="Copyright (C) 2005-
|
7
|
+
<meta name="Copyright" content="Copyright (C) 2005-2016, Mike Pall">
|
8
8
|
<meta name="Language" content="en">
|
9
9
|
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
|
10
10
|
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
|
@@ -114,30 +114,30 @@ operating systems, CPUs and compilers:
|
|
114
114
|
</tr>
|
115
115
|
<tr class="odd separate">
|
116
116
|
<td class="compatcpu">x86 (32 bit)</td>
|
117
|
-
<td class="compatos">GCC 4.
|
118
|
-
<td class="compatos">GCC 4.
|
119
|
-
<td class="compatos">
|
117
|
+
<td class="compatos">GCC 4.2+</td>
|
118
|
+
<td class="compatos">GCC 4.2+</td>
|
119
|
+
<td class="compatos">XCode 5.0+<br>Clang</td>
|
120
120
|
<td class="compatos">MSVC, MSVC/EE<br>WinSDK<br>MinGW, Cygwin</td>
|
121
121
|
</tr>
|
122
122
|
<tr class="even">
|
123
123
|
<td class="compatcpu">x64 (64 bit)</td>
|
124
|
-
<td class="compatos">GCC 4.
|
124
|
+
<td class="compatos">GCC 4.2+</td>
|
125
125
|
<td class="compatos">ORBIS (<a href="#ps4">PS4</a>)</td>
|
126
|
-
<td class="compatos">
|
126
|
+
<td class="compatos">XCode 5.0+<br>Clang</td>
|
127
127
|
<td class="compatos">MSVC + SDK v7.0<br>WinSDK v7.0<br>Durango (<a href="#xboxone">Xbox One</a>)</td>
|
128
128
|
</tr>
|
129
129
|
<tr class="odd">
|
130
130
|
<td class="compatcpu"><a href="#cross2">ARMv5+<br>ARM9E+</a></td>
|
131
131
|
<td class="compatos">GCC 4.2+</td>
|
132
132
|
<td class="compatos">GCC 4.2+<br>PSP2 (<a href="#psvita">PS VITA</a>)</td>
|
133
|
-
<td class="compatos">
|
133
|
+
<td class="compatos">XCode 5.0+<br>Clang</td>
|
134
134
|
<td class="compatos compatno"> </td>
|
135
135
|
</tr>
|
136
136
|
<tr class="even">
|
137
137
|
<td class="compatcpu"><a href="#cross2">ARM64</a></td>
|
138
138
|
<td class="compatos">GCC 4.8+</td>
|
139
139
|
<td class="compatos compatno"> </td>
|
140
|
-
<td class="compatos">Clang 3.5+</td>
|
140
|
+
<td class="compatos">XCode 6.0+<br>Clang 3.5+</td>
|
141
141
|
<td class="compatos compatno"> </td>
|
142
142
|
</tr>
|
143
143
|
<tr class="odd">
|
@@ -442,8 +442,7 @@ NDKF="--sysroot $NDK/platforms/android-$NDKABI/arch-x86"
|
|
442
442
|
make HOST_CC="gcc -m32" CROSS=$NDKP TARGET_FLAGS="$NDKF"
|
443
443
|
</pre>
|
444
444
|
<p>
|
445
|
-
You can cross-compile for <b id="ios">iOS 3.0+</b> (iPhone/iPad) using the <a href="http://developer.apple.com/devcenter/ios/index.action"><span class="ext">»</span> iOS SDK</a
|
446
|
-
The environment variables need to match the iOS SDK version:
|
445
|
+
You can cross-compile for <b id="ios">iOS 3.0+</b> (iPhone/iPad) using the <a href="http://developer.apple.com/devcenter/ios/index.action"><span class="ext">»</span> iOS SDK</a>:
|
447
446
|
</p>
|
448
447
|
<p style="font-size: 8pt;">
|
449
448
|
Note: <b>the JIT compiler is disabled for iOS</b>, because regular iOS Apps
|
@@ -453,13 +452,18 @@ much slower than the JIT compiler. Please complain to Apple, not me.
|
|
453
452
|
Or use Android. :-p
|
454
453
|
</p>
|
455
454
|
<pre class="code">
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
ISDKP
|
460
|
-
|
461
|
-
|
462
|
-
|
455
|
+
# iOS/ARM (32 bit)
|
456
|
+
ISDKP=$(xcrun --sdk iphoneos --show-sdk-path)
|
457
|
+
ICC=$(xcrun --sdk iphoneos --find clang)
|
458
|
+
ISDKF="-arch armv7 -isysroot $ISDKP"
|
459
|
+
make HOST_CC="clang -m32 -arch i386" CROSS="$(dirname $ICC)/" \
|
460
|
+
TARGET_FLAGS="$ISDKF" TARGET_SYS=iOS
|
461
|
+
|
462
|
+
# iOS/ARM64
|
463
|
+
ISDKP=$(xcrun --sdk iphoneos --show-sdk-path)
|
464
|
+
ICC=$(xcrun --sdk iphoneos --find clang)
|
465
|
+
ISDKF="-arch arm64 -isysroot $ISDKP"
|
466
|
+
make CROSS="$(dirname $ICC)/" TARGET_FLAGS="$ISDKF" TARGET_SYS=iOS
|
463
467
|
</pre>
|
464
468
|
|
465
469
|
<h3 id="consoles">Cross-compiling for consoles</h3>
|
@@ -649,7 +653,7 @@ to me (the upstream) and not you (the package maintainer), anyway.
|
|
649
653
|
</div>
|
650
654
|
<div id="foot">
|
651
655
|
<hr class="hide">
|
652
|
-
Copyright © 2005-
|
656
|
+
Copyright © 2005-2016 Mike Pall
|
653
657
|
<span class="noprint">
|
654
658
|
·
|
655
659
|
<a href="contact.html">Contact</a>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<title>LuaJIT</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
6
6
|
<meta name="Author" content="Mike Pall">
|
7
|
-
<meta name="Copyright" content="Copyright (C) 2005-
|
7
|
+
<meta name="Copyright" content="Copyright (C) 2005-2016, Mike Pall">
|
8
8
|
<meta name="Language" content="en">
|
9
9
|
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
|
10
10
|
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
|
@@ -152,7 +152,7 @@ Lua is a powerful, dynamic and light-weight programming language.
|
|
152
152
|
It may be embedded or used as a general-purpose, stand-alone language.
|
153
153
|
</p>
|
154
154
|
<p>
|
155
|
-
LuaJIT is Copyright © 2005-
|
155
|
+
LuaJIT is Copyright © 2005-2016 Mike Pall, released under the
|
156
156
|
<a href="http://www.opensource.org/licenses/mit-license.php"><span class="ext">»</span> MIT open source license</a>.
|
157
157
|
</p>
|
158
158
|
<p>
|
@@ -226,7 +226,7 @@ Please select a sub-topic in the navigation bar to learn more about LuaJIT.
|
|
226
226
|
</div>
|
227
227
|
<div id="foot">
|
228
228
|
<hr class="hide">
|
229
|
-
Copyright © 2005-
|
229
|
+
Copyright © 2005-2016 Mike Pall
|
230
230
|
<span class="noprint">
|
231
231
|
·
|
232
232
|
<a href="contact.html">Contact</a>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<title>Running LuaJIT</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
6
6
|
<meta name="Author" content="Mike Pall">
|
7
|
-
<meta name="Copyright" content="Copyright (C) 2005-
|
7
|
+
<meta name="Copyright" content="Copyright (C) 2005-2016, Mike Pall">
|
8
8
|
<meta name="Language" content="en">
|
9
9
|
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
|
10
10
|
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
|
@@ -299,7 +299,7 @@ Here are the parameters and their default settings:
|
|
299
299
|
</div>
|
300
300
|
<div id="foot">
|
301
301
|
<hr class="hide">
|
302
|
-
Copyright © 2005-
|
302
|
+
Copyright © 2005-2016 Mike Pall
|
303
303
|
<span class="noprint">
|
304
304
|
·
|
305
305
|
<a href="contact.html">Contact</a>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<title>Status</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
6
6
|
<meta name="Author" content="Mike Pall">
|
7
|
-
<meta name="Copyright" content="Copyright (C) 2005-
|
7
|
+
<meta name="Copyright" content="Copyright (C) 2005-2016, Mike Pall">
|
8
8
|
<meta name="Language" content="en">
|
9
9
|
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
|
10
10
|
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
|
@@ -108,7 +108,7 @@ garbage collector.
|
|
108
108
|
</div>
|
109
109
|
<div id="foot">
|
110
110
|
<hr class="hide">
|
111
|
-
Copyright © 2005-
|
111
|
+
Copyright © 2005-2016 Mike Pall
|
112
112
|
<span class="noprint">
|
113
113
|
·
|
114
114
|
<a href="contact.html">Contact</a>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
------------------------------------------------------------------------------
|
2
2
|
-- DynASM ARM module.
|
3
3
|
--
|
4
|
-
-- Copyright (C) 2005-
|
4
|
+
-- Copyright (C) 2005-2016 Mike Pall. All rights reserved.
|
5
5
|
-- See dynasm.lua for full copyright notice.
|
6
6
|
------------------------------------------------------------------------------
|
7
7
|
|
@@ -9,9 +9,9 @@
|
|
9
9
|
local _info = {
|
10
10
|
arch = "arm",
|
11
11
|
description = "DynASM ARM module",
|
12
|
-
version = "1.
|
13
|
-
vernum =
|
14
|
-
release = "
|
12
|
+
version = "1.4.0",
|
13
|
+
vernum = 10400,
|
14
|
+
release = "2015-10-18",
|
15
15
|
author = "Mike Pall",
|
16
16
|
license = "MIT",
|
17
17
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
------------------------------------------------------------------------------
|
2
2
|
-- DynASM ARM64 module.
|
3
3
|
--
|
4
|
-
-- Copyright (C) 2005-
|
4
|
+
-- Copyright (C) 2005-2016 Mike Pall. All rights reserved.
|
5
5
|
-- See dynasm.lua for full copyright notice.
|
6
6
|
------------------------------------------------------------------------------
|
7
7
|
|
@@ -9,9 +9,9 @@
|
|
9
9
|
local _info = {
|
10
10
|
arch = "arm",
|
11
11
|
description = "DynASM ARM64 module",
|
12
|
-
version = "1.
|
13
|
-
vernum =
|
14
|
-
release = "
|
12
|
+
version = "1.4.0",
|
13
|
+
vernum = 10400,
|
14
|
+
release = "2015-10-18",
|
15
15
|
author = "Mike Pall",
|
16
16
|
license = "MIT",
|
17
17
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
------------------------------------------------------------------------------
|
2
2
|
-- DynASM MIPS module.
|
3
3
|
--
|
4
|
-
-- Copyright (C) 2005-
|
4
|
+
-- Copyright (C) 2005-2016 Mike Pall. All rights reserved.
|
5
5
|
-- See dynasm.lua for full copyright notice.
|
6
6
|
------------------------------------------------------------------------------
|
7
7
|
|
@@ -9,9 +9,9 @@
|
|
9
9
|
local _info = {
|
10
10
|
arch = "mips",
|
11
11
|
description = "DynASM MIPS module",
|
12
|
-
version = "1.
|
13
|
-
vernum =
|
14
|
-
release = "
|
12
|
+
version = "1.4.0",
|
13
|
+
vernum = 10400,
|
14
|
+
release = "2015-10-18",
|
15
15
|
author = "Mike Pall",
|
16
16
|
license = "MIT",
|
17
17
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
------------------------------------------------------------------------------
|
2
2
|
-- DynASM PPC/PPC64 module.
|
3
3
|
--
|
4
|
-
-- Copyright (C) 2005-
|
4
|
+
-- Copyright (C) 2005-2016 Mike Pall. All rights reserved.
|
5
5
|
-- See dynasm.lua for full copyright notice.
|
6
6
|
--
|
7
7
|
-- Support for various extensions contributed by Caio Souza Oliveira.
|
@@ -11,9 +11,9 @@
|
|
11
11
|
local _info = {
|
12
12
|
arch = "ppc",
|
13
13
|
description = "DynASM PPC module",
|
14
|
-
version = "1.
|
15
|
-
vernum =
|
16
|
-
release = "2015-
|
14
|
+
version = "1.4.0",
|
15
|
+
vernum = 10400,
|
16
|
+
release = "2015-10-18",
|
17
17
|
author = "Mike Pall",
|
18
18
|
license = "MIT",
|
19
19
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
2
|
** DynASM encoding engine prototypes.
|
3
|
-
** Copyright (C) 2005-
|
3
|
+
** Copyright (C) 2005-2016 Mike Pall. All rights reserved.
|
4
4
|
** Released under the MIT license. See dynasm.lua for full copyright notice.
|
5
5
|
*/
|
6
6
|
|
@@ -10,8 +10,8 @@
|
|
10
10
|
#include <stddef.h>
|
11
11
|
#include <stdarg.h>
|
12
12
|
|
13
|
-
#define DASM_IDENT "DynASM 1.
|
14
|
-
#define DASM_VERSION
|
13
|
+
#define DASM_IDENT "DynASM 1.4.0"
|
14
|
+
#define DASM_VERSION 10400 /* 1.4.0 */
|
15
15
|
|
16
16
|
#ifndef Dst_DECL
|
17
17
|
#define Dst_DECL dasm_State **Dst
|