Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


conditional breakpoint on stack

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
CERuleZ
Newbie cheater
Reputation: 0

Joined: 29 Dec 2013
Posts: 13

PostPosted: Sat Nov 03, 2018 6:16 pm    Post subject: conditional breakpoint on stack Reply with quote

Is it possible to "watch" the stack for a certain value being pushed to it? I can't just set a breakpoint on a specific address, I don't know what that address is. I want to somehow watch the stack for a specific value, and break at the instruction that writes that value to the stack. Is that even possible? Thanks!
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Sat Nov 03, 2018 6:39 pm    Post subject: Reply with quote

yes, mem viewer -> debug ... set condition.
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4291

PostPosted: Sat Nov 03, 2018 9:35 pm    Post subject: Reply with quote

Yes, that's possible (e.g. page exceptions?), but looking at the entire stack would be almost as ridiculous as stepping through the program one instruction at a time. You severely underestimate how often it's written to.

If you know the instruction doing the push or the address where it's likely to be pushed onto, then set the relevant breakpoint at the address and check the register (memory viewer -> view -> breakpointlist -> right click -> set/change condition).

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Sun Nov 04, 2018 5:11 am    Post subject: Reply with quote

edit:
sorry i meant, mem viewer -> breakpoint list.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites