diff options
| author | Joel Fernandes <joelagnelf@nvidia.com> | 2026-01-26 15:23:05 -0500 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2026-02-25 08:16:55 +0900 |
| commit | 4bef417ea46cbc701500b1b92b962586ec6e0900 (patch) | |
| tree | 790563d9c9ec771e02b0d440a30e0bacf4e613e2 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 35ae4e58a7c0edd7249a0bcd0d2c151afc185bc2 (diff) | |
gpu: nova-core: use checked arithmetic in RISC-V firmware parsing
Use checked_add() when computing offsets from firmware-provided values
in the RISC-V firmware parsing code. These values come from the BinHdr
structure parsed from the firmware file header.
Reviewed-by: Zhi Wang <zhiw@nvidia.com>
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260126202305.2526618-6-joelagnelf@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
