+ Reply to Thread
Results 1 to 5 of 5

Thread: Radare2 Frame Pointer Optimization

  1. #1

    Default Radare2 Frame Pointer Optimization

    How do I rename local variables in r2 when the local variables are relative to ESP and not EBP.

    I try

    >afv esp+0x14 AgeVar int

    but it instead creates:

    ; var int AgeVar @ ebp-0x14

  2. #2
    Darwin's Avatar

    Default Re: Radare2 Frame Pointer Optimization

    MOV EAX, 0xAAAAAAAA
    MOV [ESP+0x14], EAX
    XOR EAX,EAX
    PUSH EAX
    MOV EAX, [ESP+0x14] # EAX == ???????, not this is not 0xAAAAAAAA
    Last edited by Darwin; 11-12-2015 at 22:41.
    Счастлив кто отдал, а не взял. (с) Inception

  3. #3

    Default Re: Radare2 Frame Pointer Optimization

    good point

  4. #4
    dukeBarman's Avatar

    Default Re: Radare2 Frame Pointer Optimization

    Hollyw00d, it's a bug. Create github issue plz

    afv and afa - right commands for this task
    A hacker without a cat is not a hacker!

  5. #5

    Default Re: Radare2 Frame Pointer Optimization

    Hi! I really liked the question you raised here! Thanks for asking. Hopefully, we will be able to catch someone who knows the right response to this query!

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT. The time now is 07:23
vBulletin® Copyright ©2000 - 2017
www.reverse4you.org