Re: userspace stack start and end

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



and look into the function "print_context_stack()" which will teach u how to identify the start/end of stack, whether the address is valid, how to traverse from one frame to another (using RBP / EBP of course, so CONFIG for framepointer is definitely needed).


On Sat, Aug 2, 2014 at 12:22 AM, Peter Teoh <htmldeveloper@xxxxxxxxx> wrote:
FYI, there are many different types of kernel stack:



On Mon, Jul 28, 2014 at 12:52 AM, Xin Tong <trent.tong@xxxxxxxxx> wrote:
I am trying to find the start and end address of the userspace stack. I see in the task_struct there is start_stack. But I could not find end_start anywhere in the kernel code ?

Can someone please tell me how to find the end of the stack ?

Thanks,
Xin 

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




--
Regards,
Peter Teoh



--
Regards,
Peter Teoh
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux