Files
becominginsane 94bff51797 fix(u256): from_be_bytes call with pic
tests(eth): fix payload to not have extra bytes
chore: update snapshots
feat: add vscode debug configuration
2022-09-20 23:58:40 +08:00

52 lines
1.9 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "Zemu Attach S",
"type": "gdb",
"request": "attach",
"executable": "${workspaceFolder}/build/output/app_s.elf",
"target": ":1234",
"remote": true,
"cwd": "${workspaceFolder}",
"valuesFormatting": "parseText",
"gdbpath": "gdb-multiarch",
"stopOnEntry": true,
"autorun": [
"set substitute-path /project ${workspaceFolder}",
"set substitute-path /cargo ${env:HOME}/.cargo",
"set substitute-path /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b ${env:HOME}/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust",
"set architecture arm",
"set backtrace limit 15",
"handle SIGILL nostop pass noprint",
"add-symbol-file ${workspaceFolder}/build/output/app_s.elf 0x40000000",
"b rslib::dispatcher::apdu_dispatch",
"b rslib::__panic_handler::panic"
]
},
{
"name": "Zemu Attach SP",
"type": "gdb",
"request": "attach",
"executable": "${workspaceFolder}/build/output/app_sp.elf",
"target": ":1234",
"remote": true,
"cwd": "${workspaceFolder}",
"valuesFormatting": "parseText",
"gdbpath": "gdb-multiarch",
"stopOnEntry": true,
"autorun": [
"set substitute-path /project ${workspaceFolder}",
"set substitute-path /cargo ${env:HOME}/.cargo",
"set substitute-path /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b ${env:HOME}/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust",
"set architecture arm",
"set backtrace limit 15",
"handle SIGILL nostop pass noprint",
"add-symbol-file ${workspaceFolder}/build/output/app_sp.elf 0x40000000",
"b rslib::dispatcher::apdu_dispatch",
"b rslib::__panic_handler::panic"
]
}
]
}