flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 25 Mar 2020, 14:41
If your OS is using paging then you can use guard pages and reserved pages to monitor the stack growth.
|
|||
![]() |
|
Fulgurance 25 Mar 2020, 15:21
It's not my question. I would like to know if processor give flag control when stack encounter an error
|
|||
![]() |
|
revolution 25 Mar 2020, 15:32
I'm not sure what you are asking. There aren't any flags that are related to the stack.
The only method I am aware of is to set up paging and place guard/reserved pages around the stack memory. Then trap the protection faults to see when the app accesses outside with the stack. |
|||
![]() |
|
Fulgurance 25 Mar 2020, 15:43
Yes, you have understand good
![]() Thanks you for your suggestion, thanks you very much ! |
|||
![]() |
|
Fulgurance 25 Mar 2020, 16:49
Just another question, what is the max possible size of stack ? 4 bytes ?
|
|||
![]() |
|
revolution 25 Mar 2020, 17:32
That stack has no specific maximum or minimum. It can be zero bytes up to the entire address space.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.