CoolSun20
2010-07-12 17:33:00 UTC
Within my x86 driver I update EBP. using inline assembley, push and pop EBP
before my module exits..
I am now porting that logic to AMD64 architecture, due to restrictions of
not able to use inline assembley within my amd64 driver is there a way to
update framepointer value(EBP) before I exit my module. I found an intrinsic
function to retrieve addressofreturnaddress and I can obtain the value which
I want in EBP from this API . Question is how to use this value to update
the EBP register contents? Is there any intrinsic counterpart which I can use
or any other method..Hope I am clear on my concern..
Thanks in advance..
before my module exits..
I am now porting that logic to AMD64 architecture, due to restrictions of
not able to use inline assembley within my amd64 driver is there a way to
update framepointer value(EBP) before I exit my module. I found an intrinsic
function to retrieve addressofreturnaddress and I can obtain the value which
I want in EBP from this API . Question is how to use this value to update
the EBP register contents? Is there any intrinsic counterpart which I can use
or any other method..Hope I am clear on my concern..
Thanks in advance..