unleashed-firmware/lib/mjs
Silent 8672a1d94c
Replace all calls to strncpy with strlcpy, use strdup more, expose strlcat (#3866)
strlcpy doesn't zero the buffer and ensures null termination,
just like snprintf

strlcat is already used by mjs and it's a safe alternative to strcat,
so it should be OK to expose to apps
2024-09-07 17:16:56 +01:00
..
common Replace all calls to strncpy with strlcpy, use strdup more, expose strlcat (#3866) 2024-09-07 17:16:56 +01:00
ffi [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_array.c fix: Ensure proper closure of variadic function in mjs_array (#3798) 2024-08-01 02:12:26 +09:00
mjs_array.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_array_buf.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_array_buf.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_array_buf_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_array_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_bcode.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_bcode.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_builtin.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_builtin.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_core.c JS: Add math module (#3598) 2024-05-17 17:45:40 +01:00
mjs_core.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_core_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_dataview.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_dataview.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_exec.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_exec.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_exec_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_features.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_ffi.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_ffi.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_ffi_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_gc.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_gc.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_gc_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_internal.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_json.c Replace all calls to strncpy with strlcpy, use strdup more, expose strlcat (#3866) 2024-09-07 17:16:56 +01:00
mjs_json.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_license.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_mm.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_object.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_object.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_object_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_parser.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_parser.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_primitive.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_primitive.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_primitive_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_string.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_string.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_string_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_tok.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_tok.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_util.c [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_util.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
mjs_util_public.h [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) 2024-02-12 15:54:32 +07:00
SConscript mjs: minor fixes (#3442) 2024-02-12 18:16:58 +04:00