wasm-micro-runtime/core/iwasm/common
Dylan Johnston 9d8150efae
Fix WASI Path Mapping Processing (#3923)
Filesystem paths can be mapped from the host path to a guest path using
the format `<guest-path>::<host-path>`.

Previously `strtok` was used to find the `::` delimiter. Unfortunately
`strtok` processes each delimiter character individually. This meant
that the code was ~equivalent to `strtok(mapping_copy, ":")` which
breaks with Windows-style paths (E.g. `C:\my_path\`).

To fix this `strstr` is used to search for the exact delimiter.
2024-11-24 11:31:55 +08:00
..
arch Fix clang compile warnings (#3396) 2024-05-08 16:43:47 +08:00
gc Modify logging for windows exception handler and remove unused function (#3489) 2024-05-31 13:07:56 +08:00
iwasm_common.cmake Add support for universal binaries on OSX (#2060) 2023-03-30 09:53:07 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00
wasm_application.c Fix a leak in wasm_loader_emit_br_info (#3900) 2024-11-13 15:16:13 +08:00
wasm_blocking_op.c Implement async termination of blocking thread (#2516) 2023-09-20 18:11:52 +08:00
wasm_c_api_internal.h Fix some spelling issues (#3385) 2024-05-06 07:56:48 +08:00
wasm_c_api.c Refine looking up aot function with index (#3882) 2024-10-29 10:58:11 +08:00
wasm_exec_env.c Allow to set native stack boundary to exec_env (#3862) 2024-10-18 12:49:57 +08:00
wasm_exec_env.h Allow to set native stack boundary to exec_env (#3862) 2024-10-18 12:49:57 +08:00
wasm_loader_common.c Support table64 extension in classic-interp and AOT running modes (#3811) 2024-10-11 21:14:56 +08:00
wasm_loader_common.h Support table64 extension in classic-interp and AOT running modes (#3811) 2024-10-11 21:14:56 +08:00
wasm_memory.c Fix out of bounds issue in is_native_addr_in_shared_heap function (#3886) 2024-10-31 12:44:55 +08:00
wasm_memory.h Implement shared heap for AOT (#3815) 2024-09-29 12:50:59 +08:00
wasm_native.c Implement a first version of shared heap feature (#3789) 2024-09-14 10:51:42 +08:00
wasm_native.h Appease GCC strict prototypes warning (#3775) 2024-09-10 09:42:23 +08:00
wasm_runtime_common.c Fix WASI Path Mapping Processing (#3923) 2024-11-24 11:31:55 +08:00
wasm_runtime_common.h Allow to set native stack boundary to exec_env (#3862) 2024-10-18 12:49:57 +08:00
wasm_shared_memory.c Implement shared heap for AOT (#3815) 2024-09-29 12:50:59 +08:00
wasm_shared_memory.h Appease GCC strict prototypes warning (#3775) 2024-09-10 09:42:23 +08:00
wasm_suspend_flags.h Do not inherit WASM_SUSPEND_FLAG_BLOCKING from the parent thread (#3051) 2024-01-19 09:55:01 +08:00