Vyacheslav Chigrin
Vyacheslav Chigrin
This change set adds implementation of client for BLE "Immediate alert service", allowing companion apps get notifications from PineTime watch when requested by user. Fixes: #343
*Description*: 1. Write WASM plugin that causes "VM failure" in `onRequestHeaders` callback (e.g. by calling `std::abort()` in case C++ implementation). 2. Load it in Envoy with `failure_policy: FAIL_CLOSED` setting in...
Following сomment relates to Envoy proxy (I don't know much about other proxy-wasm implementations). Multi-threaded servers may use separate WASM runtime for each worker thread. At least in Envoy identifiers,...
See discussion in issue #4638.
`wasm_runtime_detect_native_stack_overflow` function compares address of local variable with stack boundary here https://github.com/bytecodealliance/wasm-micro-runtime/blob/a6a9f1f45d9f7ebf044ceac71bcf7a9ea2f90f23/core/iwasm/common/wasm_runtime_common.c#L7898 But under ASAN local variables placed on "Fake stack" https://github.com/google/sanitizers/wiki/AddressSanitizerUseAfterReturn#algorithm , so this comparison often produces wrong results,...