tag:blogger.com,1999:blog-5378754772229313948.post1538752685012812037..comments2024-03-11T21:45:40.813+08:00Comments on just do IT: Detect Stack CorruptionAnonymoushttp://www.blogger.com/profile/16045807592439997545noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-5378754772229313948.post-19899958756326160192017-07-24T22:51:20.392+08:002017-07-24T22:51:20.392+08:00Hi ,
I know its a very old blog.But just for my u...Hi ,<br /><br />I know its a very old blog.But just for my understanding on the ARM arch running Android N, I tried to compile and run above piece of code to see if I get the same kind of crash (stack corruption) .<br />To my surprise it did NOT crash and ran successfully. However , it crashed on my linux machine.I also tried to write a long string in buffer <b>var</b> , but still it did not crash on aforementioned ARM machine.<br /><br />Details of ARM machine(where the crash in NOT seen).<br />1. MediaTek 5890 chip running latest Android N.<br /><br />My local ubuntu machine (crash seen )<br />Linux inblrlx039 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux<br /><br />Can someone please explain this behavior ? <br />Thanks you in advance.sovinhttps://www.blogger.com/profile/12243366756411827831noreply@blogger.comtag:blogger.com,1999:blog-5378754772229313948.post-92145929718846199602014-08-13T13:50:35.065+08:002014-08-13T13:50:35.065+08:00The program is dumping in this line
asm("m...The program is dumping in this line <br /><br /> asm("mov (%%ebp),%0" : "=r" (u_STACK_CHECK_EBP_VALUE_ENTER)); <br /><br />Please anyone help .. .Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5378754772229313948.post-80002960730572771802012-01-26T00:41:32.743+08:002012-01-26T00:41:32.743+08:00Thanks man, this was very informative...Thanks man, this was very informative...Sudhakerhttps://www.blogger.com/profile/15940339400232123034noreply@blogger.com