On 06/25/2012 03:33 PM, Caspar Zhang wrote:
> + if (topdown) {
> + x = get_end_addr(u);
> + printf("child : x = %p\n", x);
> + if (x == t + 3*ps)
> + exit(1);
> + else if (x == t && get_end_addr(x) == t + 3*ps)
> + exit(0);
> + } else {
> + x = get_end_addr(t);
> + printf("child : x = %p\n", x);
> + if (x == t + 6*ps)
> + exit(1);
> + else if (x == u && get_end_addr(x) == t + 6*ps)
> exit(0);
> }
Looks good to me.
Reviewed-by: Wanlong Gao <[email protected]>
But why not use tst_resm(TINFO, ) instead?
Thanks,
Wanlong Gao
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list