Sunday, March 9, 2014

On x86-32 Linux, at which address the code segment of the program and stack starts?

code segment of the program starts from 0×08048000 ( though it can be changed but this is the default one). We don't start from 0 because that is reserved for NULL pointer exception.

Stack grows downwards starting at  address-0xbfff0000 .

3 comments:

  1. Bhaiya thoda ache se samjhao.

    ReplyDelete
    Replies
    1. Kaam dhaam hai nahi. amchoor kha ke kaan chod raha hai

      Delete
    2. Tum kaun sa amras pi ke kaan chod raha hai.

      Delete