Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

forcing global variables into a specific memory section

20 views
Skip to first unread message

Pramad Nallari

unread,
Apr 10, 2012, 11:32:23 AM4/10/12
to
Hi,
We are trying to implement a strategy in which we have to force all
global variables into a specific section protected on both ends with
corruption indicators at specific addresses. Can any one let us know
how this can be achieved in C without having to use assembly to do
a .section .data. We would like to have a c file that defines all the
globals that will be used by different files in the code and specify
hard end values as indicators of stack corruption.
Thanks,
Pramad
0 new messages