Skip to content

Commit fa0d9cd

Browse files
committed
New BigInt implementation
Manually port the following commits from bellard/quickjs bellard/quickjs@61e8b94 bellard/quickjs@ee4cd4d bellard/quickjs@6de8885 bellard/quickjs@5a16c0c bellard/quickjs@6d6893b bellard/quickjs@131408f Co-authored-by: Fabrice Bellard <[email protected]> Since libbf is gone, incorporate xsum as the backing for the Math.sumPrecise implementation. Changes made to xsum: - Removed printf debug statements since many contained type errors - Removed unneeded debug functions - Added incldue guards
1 parent 62fb636 commit fa0d9cd

19 files changed

+6134
-11075
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,10 @@ endmacro()
224224

225225
set(qjs_sources
226226
cutils.c
227-
libbf.c
228227
libregexp.c
229228
libunicode.c
230229
quickjs.c
230+
xsum.c
231231
)
232232

233233
if(QJS_BUILD_LIBC)

amalgam.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import {loadFile, writeFile} from "qjs:std"
22

33
const cutils_c = loadFile("cutils.c")
44
const cutils_h = loadFile("cutils.h")
5-
const libbf_c = loadFile("libbf.c")
6-
const libbf_h = loadFile("libbf.h")
75
const libregexp_c = loadFile("libregexp.c")
86
const libregexp_h = loadFile("libregexp.h")
97
const libregexp_opcode_h = loadFile("libregexp-opcode.h")
@@ -18,6 +16,8 @@ const quickjs_h = loadFile("quickjs.h")
1816
const quickjs_libc_c = loadFile("quickjs-libc.c")
1917
const quickjs_libc_h = loadFile("quickjs-libc.h")
2018
const quickjs_opcode_h = loadFile("quickjs-opcode.h")
19+
const xsum_c = loadFile("xsum.c")
20+
const xsum_h = loadFile("xsum.h")
2121
const gen_builtin_array_fromasync_h = loadFile("gen/builtin-array-fromasync.h")
2222

2323
let source = "#if defined(QJS_BUILD_LIBC) && defined(__linux__) && !defined(_GNU_SOURCE)\n"
@@ -26,16 +26,16 @@ let source = "#if defined(QJS_BUILD_LIBC) && defined(__linux__) && !defined(_GNU
2626
+ quickjs_c_atomics_h
2727
+ cutils_h
2828
+ list_h
29-
+ libbf_h
3029
+ libunicode_h // exports lre_is_id_start, used by libregexp.h
3130
+ libregexp_h
3231
+ libunicode_table_h
32+
+ xsum_h
3333
+ quickjs_h
3434
+ quickjs_c
3535
+ cutils_c
36-
+ libbf_c
3736
+ libregexp_c
3837
+ libunicode_c
38+
+ xsum_c
3939
+ "#ifdef QJS_BUILD_LIBC\n"
4040
+ quickjs_libc_h
4141
+ quickjs_libc_c

cutils.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,26 @@ void rqsort(void *base, size_t nmemb, size_t size,
545545
int (*cmp)(const void *, const void *, void *),
546546
void *arg);
547547

548+
static inline uint64_t float64_as_uint64(double d)
549+
{
550+
union {
551+
double d;
552+
uint64_t u64;
553+
} u;
554+
u.d = d;
555+
return u.u64;
556+
}
557+
558+
static inline double uint64_as_float64(uint64_t u64)
559+
{
560+
union {
561+
double d;
562+
uint64_t u64;
563+
} u;
564+
u.u64 = u64;
565+
return u.d;
566+
}
567+
548568
int64_t js__gettimeofday_us(void);
549569
uint64_t js__hrtime_ns(void);
550570

fuzz.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
#include "quickjs.h"
33
#include "quickjs.c"
44
#include "cutils.c"
5-
#include "libbf.c"
65
#include "libregexp.c"
76
#include "libunicode.c"
7+
#include "xsum.c"
88
#include <stdlib.h>
99

1010
int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len)

gen/builtin-array-fromasync.h

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
const uint32_t qjsc_builtin_array_fromasync_size = 826;
66

77
const uint8_t qjsc_builtin_array_fromasync[826] = {
8-
0x13, 0x0d, 0x01, 0x1a, 0x61, 0x73, 0x79, 0x6e,
8+
0x14, 0x0d, 0x01, 0x1a, 0x61, 0x73, 0x79, 0x6e,
99
0x63, 0x49, 0x74, 0x65, 0x72, 0x61, 0x74, 0x6f,
1010
0x72, 0x01, 0x10, 0x69, 0x74, 0x65, 0x72, 0x61,
1111
0x74, 0x6f, 0x72, 0x01, 0x12, 0x61, 0x72, 0x72,
@@ -42,72 +42,72 @@ const uint8_t qjsc_builtin_array_fromasync[826] = {
4242
0xd4, 0x01, 0x0d, 0x0c, 0x20, 0x10, 0x00, 0x01,
4343
0x00, 0x9e, 0x03, 0x01, 0x03, 0xc2, 0x03, 0x02,
4444
0x03, 0xc4, 0x03, 0x04, 0x03, 0xaa, 0x02, 0x00,
45-
0x03, 0xcc, 0x01, 0x03, 0x03, 0x08, 0xc3, 0x0d,
45+
0x03, 0xcc, 0x01, 0x03, 0x03, 0x08, 0xc4, 0x0d,
4646
0x62, 0x02, 0x00, 0x62, 0x01, 0x00, 0x62, 0x00,
47-
0x00, 0xd2, 0xca, 0xd3, 0x11, 0xf3, 0xeb, 0x08,
48-
0x0e, 0x39, 0x46, 0x00, 0x00, 0x00, 0xdb, 0xcb,
49-
0xd4, 0x11, 0xf3, 0xeb, 0x08, 0x0e, 0x39, 0x46,
50-
0x00, 0x00, 0x00, 0xdc, 0xcc, 0x62, 0x07, 0x00,
47+
0x00, 0xd3, 0xcb, 0xd4, 0x11, 0xf4, 0xec, 0x08,
48+
0x0e, 0x39, 0x46, 0x00, 0x00, 0x00, 0xdc, 0xcc,
49+
0xd5, 0x11, 0xf4, 0xec, 0x08, 0x0e, 0x39, 0x46,
50+
0x00, 0x00, 0x00, 0xdd, 0xcd, 0x62, 0x07, 0x00,
5151
0x62, 0x06, 0x00, 0x62, 0x05, 0x00, 0x62, 0x04,
52-
0x00, 0x62, 0x03, 0x00, 0xd3, 0x39, 0x46, 0x00,
53-
0x00, 0x00, 0xb0, 0xeb, 0x16, 0xd3, 0x98, 0x04,
54-
0x1b, 0x00, 0x00, 0x00, 0xb0, 0xeb, 0x0c, 0xde,
52+
0x00, 0x62, 0x03, 0x00, 0xd4, 0x39, 0x46, 0x00,
53+
0x00, 0x00, 0xb0, 0xec, 0x16, 0xd4, 0x98, 0x04,
54+
0x1b, 0x00, 0x00, 0x00, 0xb0, 0xec, 0x0c, 0xdf,
5555
0x11, 0x04, 0xec, 0x00, 0x00, 0x00, 0x21, 0x01,
56-
0x00, 0x30, 0x06, 0xcd, 0xb5, 0xc3, 0x04, 0xc2,
57-
0x0d, 0xf6, 0xc3, 0x05, 0x09, 0xc3, 0x06, 0xd2,
58-
0xdf, 0x48, 0xc3, 0x07, 0x63, 0x07, 0x00, 0x07,
59-
0xad, 0xeb, 0x0f, 0x0a, 0x11, 0x64, 0x06, 0x00,
60-
0x0e, 0xd2, 0xe0, 0x48, 0x11, 0x64, 0x07, 0x00,
56+
0x00, 0x30, 0x06, 0xce, 0xb6, 0xc4, 0x04, 0xc3,
57+
0x0d, 0xf7, 0xc4, 0x05, 0x09, 0xc4, 0x06, 0xd3,
58+
0xe0, 0x48, 0xc4, 0x07, 0x63, 0x07, 0x00, 0x07,
59+
0xad, 0xec, 0x0f, 0x0a, 0x11, 0x64, 0x06, 0x00,
60+
0x0e, 0xd3, 0xe1, 0x48, 0x11, 0x64, 0x07, 0x00,
6161
0x0e, 0x63, 0x07, 0x00, 0x07, 0xad, 0x6a, 0xa6,
6262
0x00, 0x00, 0x00, 0x62, 0x08, 0x00, 0x06, 0x11,
63-
0xf3, 0xec, 0x0c, 0x71, 0x43, 0x32, 0x00, 0x00,
64-
0x00, 0xc3, 0x08, 0x0e, 0xed, 0x05, 0x0e, 0xd2,
65-
0xed, 0xf2, 0x63, 0x08, 0x00, 0x8e, 0x11, 0xec,
66-
0x03, 0x0e, 0xb5, 0x11, 0x64, 0x08, 0x00, 0x0e,
67-
0x63, 0x05, 0x00, 0xeb, 0x0c, 0xc2, 0x0d, 0x11,
68-
0x63, 0x08, 0x00, 0x21, 0x01, 0x00, 0xed, 0x06,
69-
0xe1, 0x63, 0x08, 0x00, 0xf0, 0x11, 0x64, 0x03,
63+
0xf4, 0xed, 0x0c, 0x71, 0x43, 0x32, 0x00, 0x00,
64+
0x00, 0xc4, 0x08, 0x0e, 0xee, 0x05, 0x0e, 0xd3,
65+
0xee, 0xf2, 0x63, 0x08, 0x00, 0x8e, 0x11, 0xed,
66+
0x03, 0x0e, 0xb6, 0x11, 0x64, 0x08, 0x00, 0x0e,
67+
0x63, 0x05, 0x00, 0xec, 0x0c, 0xc3, 0x0d, 0x11,
68+
0x63, 0x08, 0x00, 0x21, 0x01, 0x00, 0xee, 0x06,
69+
0xe2, 0x63, 0x08, 0x00, 0xf1, 0x11, 0x64, 0x03,
7070
0x00, 0x0e, 0x63, 0x04, 0x00, 0x63, 0x08, 0x00,
7171
0xa7, 0x6a, 0x2a, 0x01, 0x00, 0x00, 0x62, 0x09,
72-
0x00, 0xd2, 0x63, 0x04, 0x00, 0x48, 0xc3, 0x09,
73-
0x63, 0x06, 0x00, 0xeb, 0x0a, 0x63, 0x09, 0x00,
74-
0x8c, 0x11, 0x64, 0x09, 0x00, 0x0e, 0xd3, 0xeb,
75-
0x17, 0xd3, 0x43, 0xed, 0x00, 0x00, 0x00, 0xd4,
72+
0x00, 0xd3, 0x63, 0x04, 0x00, 0x48, 0xc4, 0x09,
73+
0x63, 0x06, 0x00, 0xec, 0x0a, 0x63, 0x09, 0x00,
74+
0x8c, 0x11, 0x64, 0x09, 0x00, 0x0e, 0xd4, 0xec,
75+
0x17, 0xd4, 0x43, 0xed, 0x00, 0x00, 0x00, 0xd5,
7676
0x63, 0x09, 0x00, 0x63, 0x04, 0x00, 0x24, 0x03,
7777
0x00, 0x8c, 0x11, 0x64, 0x09, 0x00, 0x0e, 0x5f,
7878
0x04, 0x00, 0x63, 0x03, 0x00, 0x63, 0x04, 0x00,
7979
0x92, 0x64, 0x04, 0x00, 0x0b, 0x63, 0x09, 0x00,
8080
0x4d, 0x41, 0x00, 0x00, 0x00, 0x0a, 0x4d, 0x3e,
8181
0x00, 0x00, 0x00, 0x0a, 0x4d, 0x3f, 0x00, 0x00,
82-
0x00, 0xf2, 0x0e, 0xed, 0x9e, 0x62, 0x0a, 0x00,
82+
0x00, 0xf3, 0x0e, 0xee, 0x9e, 0x62, 0x0a, 0x00,
8383
0x63, 0x07, 0x00, 0x43, 0xed, 0x00, 0x00, 0x00,
84-
0xd2, 0x24, 0x01, 0x00, 0xc3, 0x0a, 0x63, 0x05,
85-
0x00, 0xeb, 0x09, 0xc2, 0x0d, 0x11, 0x21, 0x00,
86-
0x00, 0xed, 0x03, 0xe1, 0xef, 0x11, 0x64, 0x03,
84+
0xd3, 0x24, 0x01, 0x00, 0xc4, 0x0a, 0x63, 0x05,
85+
0x00, 0xec, 0x09, 0xc3, 0x0d, 0x11, 0x21, 0x00,
86+
0x00, 0xee, 0x03, 0xe2, 0xf0, 0x11, 0x64, 0x03,
8787
0x00, 0x0e, 0x6d, 0x8c, 0x00, 0x00, 0x00, 0x62,
88-
0x0c, 0x00, 0x62, 0x0b, 0x00, 0x06, 0x11, 0xf3,
89-
0xec, 0x13, 0x71, 0x43, 0x41, 0x00, 0x00, 0x00,
90-
0xc3, 0x0b, 0x43, 0x6a, 0x00, 0x00, 0x00, 0xc3,
91-
0x0c, 0x0e, 0xed, 0x10, 0x0e, 0x63, 0x0a, 0x00,
88+
0x0c, 0x00, 0x62, 0x0b, 0x00, 0x06, 0x11, 0xf4,
89+
0xed, 0x13, 0x71, 0x43, 0x41, 0x00, 0x00, 0x00,
90+
0xc4, 0x0b, 0x43, 0x6a, 0x00, 0x00, 0x00, 0xc4,
91+
0x0c, 0x0e, 0xee, 0x10, 0x0e, 0x63, 0x0a, 0x00,
9292
0x43, 0x6b, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00,
93-
0x8c, 0xed, 0xe0, 0x63, 0x0c, 0x00, 0xec, 0x4e,
94-
0x63, 0x06, 0x00, 0xeb, 0x0a, 0x63, 0x0b, 0x00,
95-
0x8c, 0x11, 0x64, 0x0b, 0x00, 0x0e, 0xd3, 0xeb,
96-
0x17, 0xd3, 0x43, 0xed, 0x00, 0x00, 0x00, 0xd4,
93+
0x8c, 0xee, 0xe0, 0x63, 0x0c, 0x00, 0xed, 0x4e,
94+
0x63, 0x06, 0x00, 0xec, 0x0a, 0x63, 0x0b, 0x00,
95+
0x8c, 0x11, 0x64, 0x0b, 0x00, 0x0e, 0xd4, 0xec,
96+
0x17, 0xd4, 0x43, 0xed, 0x00, 0x00, 0x00, 0xd5,
9797
0x63, 0x0b, 0x00, 0x63, 0x04, 0x00, 0x24, 0x03,
9898
0x00, 0x8c, 0x11, 0x64, 0x0b, 0x00, 0x0e, 0x5f,
9999
0x04, 0x00, 0x63, 0x03, 0x00, 0x63, 0x04, 0x00,
100100
0x92, 0x64, 0x04, 0x00, 0x0b, 0x63, 0x0b, 0x00,
101101
0x4d, 0x41, 0x00, 0x00, 0x00, 0x0a, 0x4d, 0x3e,
102102
0x00, 0x00, 0x00, 0x0a, 0x4d, 0x3f, 0x00, 0x00,
103-
0x00, 0xf2, 0x0e, 0xed, 0x83, 0x0e, 0x06, 0x6e,
104-
0x0d, 0x00, 0x00, 0x00, 0x0e, 0xed, 0x1e, 0x6e,
103+
0x00, 0xf3, 0x0e, 0xee, 0x83, 0x0e, 0x06, 0x6e,
104+
0x0d, 0x00, 0x00, 0x00, 0x0e, 0xee, 0x1e, 0x6e,
105105
0x05, 0x00, 0x00, 0x00, 0x30, 0x63, 0x0a, 0x00,
106-
0x42, 0x06, 0x00, 0x00, 0x00, 0xeb, 0x0d, 0x63,
106+
0x42, 0x06, 0x00, 0x00, 0x00, 0xec, 0x0d, 0x63,
107107
0x0a, 0x00, 0x43, 0x06, 0x00, 0x00, 0x00, 0x24,
108108
0x00, 0x00, 0x0e, 0x6f, 0x63, 0x03, 0x00, 0x63,
109109
0x04, 0x00, 0x44, 0x32, 0x00, 0x00, 0x00, 0x63,
110-
0x03, 0x00, 0x2f, 0xc0, 0x00, 0x28, 0xc0, 0x00,
111-
0xce, 0x28,
110+
0x03, 0x00, 0x2f, 0xc1, 0x00, 0x28, 0xc1, 0x00,
111+
0xcf, 0x28,
112112
};
113113

gen/function_source.c

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
const uint32_t qjsc_function_source_size = 324;
66

77
const uint8_t qjsc_function_source[324] = {
8-
0x13, 0x05, 0x01, 0x30, 0x74, 0x65, 0x73, 0x74,
8+
0x14, 0x05, 0x01, 0x30, 0x74, 0x65, 0x73, 0x74,
99
0x73, 0x2f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
1010
0x6f, 0x6e, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63,
1111
0x65, 0x2e, 0x6a, 0x73, 0x01, 0x0c, 0x61, 0x63,
@@ -22,25 +22,25 @@ const uint8_t qjsc_function_source[324] = {
2222
0x10, 0x00, 0x01, 0x00, 0xe4, 0x01, 0x00, 0x01,
2323
0x00, 0xc8, 0x03, 0x00, 0x0d, 0xc6, 0x03, 0x01,
2424
0x01, 0x0c, 0x43, 0x0a, 0x01, 0xc6, 0x03, 0x00,
25-
0x00, 0x00, 0x01, 0x00, 0x00, 0x03, 0x00, 0xbd,
25+
0x00, 0x00, 0x01, 0x00, 0x00, 0x03, 0x00, 0xbe,
2626
0x2a, 0x28, 0xc2, 0x03, 0x03, 0x01, 0x00, 0x1a,
2727
0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
2828
0x20, 0x66, 0x28, 0x29, 0x20, 0x7b, 0x20, 0x72,
2929
0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x34, 0x32,
30-
0x20, 0x7d, 0x0c, 0x03, 0xc3, 0x04, 0x08, 0xcd,
31-
0x08, 0xeb, 0x05, 0xc0, 0x00, 0xe3, 0x29, 0x04,
32-
0xe5, 0x00, 0x00, 0x00, 0xe2, 0x62, 0x00, 0x00,
33-
0xdf, 0x43, 0x38, 0x00, 0x00, 0x00, 0x24, 0x00,
34-
0x00, 0xca, 0x63, 0x00, 0x00, 0x66, 0x00, 0x00,
35-
0xb0, 0xeb, 0x0b, 0x39, 0x96, 0x00, 0x00, 0x00,
36-
0x63, 0x00, 0x00, 0xf0, 0x30, 0x62, 0x02, 0x00,
30+
0x20, 0x7d, 0x0c, 0x03, 0xc4, 0x04, 0x08, 0xce,
31+
0x08, 0xec, 0x05, 0xc1, 0x00, 0xe4, 0x29, 0x04,
32+
0xe5, 0x00, 0x00, 0x00, 0xe3, 0x62, 0x00, 0x00,
33+
0xe0, 0x43, 0x38, 0x00, 0x00, 0x00, 0x24, 0x00,
34+
0x00, 0xcb, 0x63, 0x00, 0x00, 0x66, 0x00, 0x00,
35+
0xb0, 0xec, 0x0b, 0x39, 0x96, 0x00, 0x00, 0x00,
36+
0x63, 0x00, 0x00, 0xf1, 0x30, 0x62, 0x02, 0x00,
3737
0x62, 0x01, 0x00, 0x39, 0x3b, 0x00, 0x00, 0x00,
3838
0x66, 0x00, 0x00, 0x04, 0xe3, 0x00, 0x00, 0x00,
39-
0x9e, 0x32, 0x01, 0x00, 0x03, 0x00, 0xcb, 0x63,
39+
0x9e, 0x32, 0x01, 0x00, 0x03, 0x00, 0xcc, 0x63,
4040
0x01, 0x00, 0x43, 0x38, 0x00, 0x00, 0x00, 0x24,
41-
0x00, 0x00, 0xcc, 0x63, 0x02, 0x00, 0x66, 0x00,
42-
0x00, 0xb0, 0xeb, 0x0b, 0x39, 0x96, 0x00, 0x00,
43-
0x00, 0x63, 0x02, 0x00, 0xf0, 0x30, 0x69, 0x02,
41+
0x00, 0x00, 0xcd, 0x63, 0x02, 0x00, 0x66, 0x00,
42+
0x00, 0xb0, 0xec, 0x0b, 0x39, 0x96, 0x00, 0x00,
43+
0x00, 0x63, 0x02, 0x00, 0xf1, 0x30, 0x69, 0x02,
4444
0x00, 0x69, 0x01, 0x00, 0x06, 0x2f, 0xc2, 0x03,
4545
0x01, 0x01, 0x18, 0x00, 0x1c, 0x0a, 0x2a, 0x26,
4646
0x03, 0x20, 0x1c, 0x1b, 0x0c, 0x00, 0x10, 0x08,

gen/hello.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
const uint32_t qjsc_hello_size = 103;
66

77
const uint8_t qjsc_hello[103] = {
8-
0x13, 0x04, 0x01, 0x22, 0x65, 0x78, 0x61, 0x6d,
8+
0x14, 0x04, 0x01, 0x22, 0x65, 0x78, 0x61, 0x6d,
99
0x70, 0x6c, 0x65, 0x73, 0x2f, 0x68, 0x65, 0x6c,
1010
0x6c, 0x6f, 0x2e, 0x6a, 0x73, 0x01, 0x0e, 0x63,
1111
0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x01, 0x06,
1212
0x6c, 0x6f, 0x67, 0x01, 0x16, 0x48, 0x65, 0x6c,
1313
0x6c, 0x6f, 0x20, 0x57, 0x6f, 0x72, 0x6c, 0x64,
1414
0x0d, 0xc2, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00,
1515
0x0c, 0x20, 0x0a, 0x01, 0xa2, 0x01, 0x00, 0x00,
16-
0x00, 0x03, 0x00, 0x00, 0x19, 0x00, 0x08, 0xeb,
16+
0x00, 0x03, 0x00, 0x00, 0x19, 0x00, 0x08, 0xec,
1717
0x02, 0x29, 0x39, 0xe2, 0x00, 0x00, 0x00, 0x43,
1818
0xe3, 0x00, 0x00, 0x00, 0x04, 0xe4, 0x00, 0x00,
1919
0x00, 0x24, 0x01, 0x00, 0x0e, 0x06, 0x2f, 0xc2,

gen/hello_module.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
const uint32_t qjsc_fib_module_size = 290;
66

77
const uint8_t qjsc_fib_module[290] = {
8-
0x13, 0x03, 0x01, 0x2c, 0x65, 0x78, 0x61, 0x6d,
8+
0x14, 0x03, 0x01, 0x2c, 0x65, 0x78, 0x61, 0x6d,
99
0x70, 0x6c, 0x65, 0x73, 0x2f, 0x66, 0x69, 0x62,
1010
0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e,
1111
0x6a, 0x73, 0x01, 0x06, 0x66, 0x69, 0x62, 0x01,
@@ -15,10 +15,10 @@ const uint8_t qjsc_fib_module[290] = {
1515
0x01, 0x01, 0x09, 0x00, 0xc4, 0x03, 0x00, 0x01,
1616
0x0c, 0x43, 0x0a, 0x01, 0xc4, 0x03, 0x01, 0x00,
1717
0x01, 0x04, 0x01, 0x00, 0x1a, 0x01, 0xc6, 0x03,
18-
0x00, 0x01, 0x00, 0xc4, 0x03, 0x00, 0x00, 0xd2,
19-
0xb5, 0xa8, 0xeb, 0x03, 0xb5, 0x28, 0xd2, 0xb6,
20-
0xad, 0xeb, 0x03, 0xb6, 0x28, 0xde, 0xd2, 0xb6,
21-
0x9f, 0xf0, 0xde, 0xd2, 0xb7, 0x9f, 0xf0, 0x9e,
18+
0x00, 0x01, 0x00, 0xc4, 0x03, 0x00, 0x00, 0xd3,
19+
0xb6, 0xa8, 0xec, 0x03, 0xb6, 0x28, 0xd3, 0xb7,
20+
0xad, 0xec, 0x03, 0xb7, 0x28, 0xdf, 0xd3, 0xb7,
21+
0x9f, 0xf1, 0xdf, 0xd3, 0xb8, 0x9f, 0xf1, 0x9e,
2222
0x28, 0xc2, 0x03, 0x02, 0x08, 0x0e, 0x09, 0x0c,
2323
0x27, 0x0a, 0x28, 0x02, 0x07, 0x08, 0x11, 0x0a,
2424
0x07, 0x08, 0x07, 0x08, 0x8d, 0x01, 0x66, 0x75,
@@ -39,15 +39,15 @@ const uint8_t qjsc_fib_module[290] = {
3939
0x20, 0x66, 0x69, 0x62, 0x28, 0x6e, 0x20, 0x2d,
4040
0x20, 0x31, 0x29, 0x20, 0x2b, 0x20, 0x66, 0x69,
4141
0x62, 0x28, 0x6e, 0x20, 0x2d, 0x20, 0x32, 0x29,
42-
0x3b, 0x0a, 0x7d, 0x08, 0xeb, 0x05, 0xc0, 0x00,
43-
0xe2, 0x29, 0x06, 0x2f, 0xc2, 0x03, 0x01, 0x01,
42+
0x3b, 0x0a, 0x7d, 0x08, 0xec, 0x05, 0xc1, 0x00,
43+
0xe3, 0x29, 0x06, 0x2f, 0xc2, 0x03, 0x01, 0x01,
4444
0x00, 0x00,
4545
};
4646

4747
const uint32_t qjsc_hello_module_size = 187;
4848

4949
const uint8_t qjsc_hello_module[187] = {
50-
0x13, 0x07, 0x01, 0x30, 0x65, 0x78, 0x61, 0x6d,
50+
0x14, 0x07, 0x01, 0x30, 0x65, 0x78, 0x61, 0x6d,
5151
0x70, 0x6c, 0x65, 0x73, 0x2f, 0x68, 0x65, 0x6c,
5252
0x6c, 0x6f, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
5353
0x65, 0x2e, 0x6a, 0x73, 0x01, 0x1e, 0x2e, 0x2f,
@@ -62,12 +62,12 @@ const uint8_t qjsc_hello_module[187] = {
6262
0x00, 0xc6, 0x03, 0x00, 0x00, 0x0c, 0x20, 0x0a,
6363
0x01, 0xa2, 0x01, 0x00, 0x00, 0x00, 0x05, 0x01,
6464
0x00, 0x32, 0x00, 0xc6, 0x03, 0x00, 0x0c, 0x08,
65-
0xeb, 0x02, 0x29, 0x39, 0xe4, 0x00, 0x00, 0x00,
65+
0xec, 0x02, 0x29, 0x39, 0xe4, 0x00, 0x00, 0x00,
6666
0x43, 0xe5, 0x00, 0x00, 0x00, 0x04, 0xe6, 0x00,
6767
0x00, 0x00, 0x24, 0x01, 0x00, 0x0e, 0x39, 0xe4,
6868
0x00, 0x00, 0x00, 0x43, 0xe5, 0x00, 0x00, 0x00,
6969
0x04, 0xe7, 0x00, 0x00, 0x00, 0x66, 0x00, 0x00,
70-
0xbd, 0x0a, 0xf0, 0x24, 0x02, 0x00, 0x0e, 0x06,
70+
0xbe, 0x0a, 0xf1, 0x24, 0x02, 0x00, 0x0e, 0x06,
7171
0x2f, 0xc2, 0x03, 0x01, 0x01, 0x0c, 0x00, 0x04,
7272
0x08, 0x00, 0x34, 0x10, 0x30, 0x0f, 0x34, 0x10,
7373
0x2a, 0x20, 0x00,

0 commit comments

Comments
 (0)