Welcome, Guest. Please login or register.

Author Topic: Altering the stack size for a Process  (Read 3143 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Altering the stack size for a Process
« on: April 01, 2007, 09:38:49 PM »
No

You can only use StackSwap(), and you MUST keep the previous stack alive aswell, as there might be live pointers pointing to data inside it. You MUST have matching StackSwap that restores the original stack once you're done with the part that uses the swapped stack (at least if your task/process is ever going to exit that is).
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Altering the stack size for a Process
« Reply #1 on: April 01, 2007, 09:42:37 PM »
[EDIT]

StackAttack2 doesn't alter stacksize of a already running task/process.

[/EDIT]