hi, You can use the binutils to get the addresses that the globals are bound to. Addresses of locals are of course dynamic and cannot be determined statically. For globals: readelf -s <<executable>> prints out the symbol table for the executable.For variables, the "value" field should give you the address. regards saurabh