Said function had a few shortfalls:
- didn't set an abort message on Android
- was logged on several lines
- didn't provide extra information like the size requested if OOM'ing
This improves the function to address those points.
Paths
| Differential D103034
[scudo] Rework dieOnMapUnmapError ClosedPublic Authored by cryptoad on May 24 2021, 9:26 AM.
Details Summary Said function had a few shortfalls:
This improves the function to address those points.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 24 2021, 9:59 AM Closed by commit rG1872283457fc: [scudo] Rework dieOnMapUnmapError (authored by cryptoad). · Explain WhyMay 25 2021, 8:28 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 347685 compiler-rt/lib/scudo/standalone/common.h
compiler-rt/lib/scudo/standalone/common.cpp
compiler-rt/lib/scudo/standalone/fuchsia.cpp
compiler-rt/lib/scudo/standalone/linux.cpp
compiler-rt/lib/scudo/standalone/string_utils.h
compiler-rt/lib/scudo/standalone/string_utils.cpp
|