summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJoel Fernandes <joelagnelf@nvidia.com>2026-01-26 15:23:04 -0500
committerAlexandre Courbot <acourbot@nvidia.com>2026-02-25 08:16:55 +0900
commit35ae4e58a7c0edd7249a0bcd0d2c151afc185bc2 (patch)
tree2f9097f054967c42813e5464030145b0f576e9ff /tools/perf/scripts/python/stackcollapse.py
parent457c70b7dde5c14f940664fdc7f0e1998aff56be (diff)
gpu: nova-core: use checked arithmetic in BinFirmware::data
Use checked_add() when computing the firmware data end offset in the BinFirmware::data() method. The data_offset and data_size fields 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-5-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