Aliaksei Levin

Results 707 comments of Aliaksei Levin

TDLib API documentation is at https://github.com/tdlib/td/blob/master/td/generate/scheme/td_api.tl.

Can you use addr2line for wasm to convert the stacktrace to the list of actual source code locations?

You can find the corresponding tool and documentation at https://github.com/bytecodealliance/wasm-tools.

Thank you. The trace points to the line `request_set_.emplace(id, function->get_id());` and `function` isn't null there. I see no way for this code to produce out-of-bounds memory access, unless memory used...

You can try to build `tdweb` with address sanitizer as described at https://emscripten.org/docs/debugging/Sanitizers.html#address-sanitizer to check whether it can catch the real cause.

Thank you for the investigation. Those are mostly false positives. Downcast of address and reference binding with insufficient spase are well-defined if the resulting object isn't accessed afterwards, which is...

In TDLib gifts can be upgraded using the method `upgradeGift`, but you should be aware that automatic actions on behalf of users are against Telegram API ToS and can lead...

See https://github.com/tdlib/td/issues/2935.