Skip to content

Arm backend: Use padding for the base64 coded ETDump string #13276

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/arm/executor_runner/arm_executor_runner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ void write_etdump(RunnerContext& ctx) {
if (result.buf != nullptr && result.size > 0) {
// On a device with no file system we can't just write it out
// to the file-system so we base64 encode it and dump it on the log.
int mode = 0;
int mode = base64_enc_modifier_padding | base64_dec_modifier_skipspace;
size_t len = result.size;
size_t encoded_len = base64_encoded_size(result.size, mode);
uint8_t* encoded_buf = reinterpret_cast<uint8_t*>(
Expand Down
Loading