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 


EBP View erratic?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
paul44
Expert Cheater
Reputation: 2

Joined: 20 Jul 2017
Posts: 152

PostPosted: Thu Feb 01, 2018 4:47 am    Post subject: EBP View erratic? Reply with quote

see: [imgur_com/a/sJtlV]
This only happens when selecting EBP view; ESP view is just fine. And: it happens at this particular location; debugging in other locations show correct view as well!

- game: AC I ~ same effect in both dx9 & dx10
- CE v6.7

ps: the '+' character not showing happens all the time; just a cosmetic bug.

-EDIT-
@ParkourPenguin: the author of the book 'The Art of Assembly Language' emphasizes on numerous occassions NOT to use both stack pointers (I suppose this is "introduced" here by the compiler, rather then 'your average programmer').
Thx for the info: did not know that; and definitely not for the faint-hearted Cool.
Case closed.


Last edited by paul44 on Thu Feb 01, 2018 11:59 am; edited 2 times in total
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4289

PostPosted: Thu Feb 01, 2018 10:32 am    Post subject: Reply with quote

It's only by convention EBP is used as the stack frame pointer. Software is free to use it for other purposes if the subroutine doesn't need to set up a stack frame.

If you try to treat EBP as a stack frame pointer when it's not, you'll get undefined behaviour like this.

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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