Home > Back-end >  Is said to exist. BSS section as an uninitialized variable space. But why do not check section in th
Is said to exist. BSS section as an uninitialized variable space. But why do not check section in th

Time:09-16

Recently in learning PE, written VS2019 console program

 
#include
Int a, [100000].
Int b=0 x12345678;
Int main ()
{
Int c;
STD: : cout & lt; <"Hello World! \ n ";
STD: : cout & lt; <"& amp; A="& lt; <& A. & lt; STD: : cout & lt; <"& amp; B="& lt; <& BSTD: : cin & gt;> c;
}


Can see there seems to be a debug program. Textbss so extents, and I can't find it under the release procedure is,
Later said the moment only for release version of the program
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Under this program, I saw, b is stored in. The data, while a [file]. The data, but in. Data VirtualSize internal
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
I know that there is such a section. BSS is dedicated to the runtime for a such an uninitialized variable,
But I check the feast in the table are not so. BSS section, then the loader is how to load this file, about opening up this space? [even if said open up less space, also need a size file this size?]?
Another is that use od seen this program, found. Don't see the BSS section?

Thank you for your old buddies
  • Related