OSDN Git Service

Add a checksum to jmp_buf on mips and mips64.
authorPredrag Blagojevic <predrag.blagojevic@imgtec.com>
Wed, 16 Mar 2016 14:49:12 +0000 (15:49 +0100)
committerNikola Veljkovic <Nikola.Veljkovic@imgtec.com>
Mon, 28 Mar 2016 14:54:49 +0000 (14:54 +0000)
commit3299590dfe582c212c2928b7b57427db57859d46
treecd9e5167dff64d7b2691891e07259e954c7c0592
parent7c59c70200a86387d3c97e9d7f34e2b8dbed88b3
Add a checksum to jmp_buf on mips and mips64.

Make it easier to diagnose applications mucking with the contents of
jmp_buf by checksumming its contents.

Bug: http://b/27417786
Change-Id: I473bc2871dece23a9b9d02481945246160d671c6
libc/arch-mips/bionic/setjmp.S
tests/setjmp_test.cpp