News for hackers. Stuff that matters.
Re:Android libstagefright still exploitable by johncolanduoni on Thursday August 13, 2015 @02:38PM (#10056289)
I think it is time for this removal to be reexamined, considering popular scripting languages like Python and Ruby (which check for overflows on all integer operations) face significant performance hits because of lack of hardware support for these instructions.
Re:Android libstagefright still exploitable by zurn on Thursday August 13, 2015 @02:47PM (#10056344)
The naive check-and-branch approach on current x86 only costs a couple of percent in integer-heavy and well tuned C code (see http://danluu.com/integer-overflow/). Integer operations in Python and Ruby are so glacially slow compared to C that the overflow checking overhead doesn't register at all due to all the other overhead there.