mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
Branch target collection added the branch displacement to the next instruction address as std::int64_t, which is undefined behaviour for a segment mapped at or above 2^63 (found by fuzzing with UBSan, see #10653). The addresses now add as unsigned values and only targets that wrap past 2^64 are dropped, so the branch-target check also applies to segments mapped across 2^63. Fixes #10653