Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #18  
Old 07-21-2018, 05:05
ionioni ionioni is offline
Friend
 
Join Date: Jul 2016
Posts: 80
Rept. Given: 8
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 124
Thanks Rcvd at 154 Times in 49 Posts
ionioni Reputation: 3
Quote:
Originally Posted by vic4key View Post
ADD RSP, 40 ; Cleanup the stack... ; Not needed. The LEAVE instruction did it.
Quote:
Originally Posted by Insid3Code View Post
Hi Vic,
Are you already tested your snippets ?
Attached, both snippets (allocate/align) and binaries (one crash the other works fine)

I don't know if you can download the attachment from this topic, here external link:
PHP Code:
http://www.mediafire.com/file/s9dd88iel47s7h8/poc.rar 
Compiled and tested (MSVC 2017 15.7.3)
leave is short for
mov rsp, rbp
pop rbp

lose "add rsp, ..."
Reply With Quote
The Following 2 Users Say Thank You to ionioni For This Useful Post:
niculaita (07-21-2018), vic4key (07-21-2018)
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
inline patche hp3 Source Code 3 06-04-2021 14:48
X64 inline asm Fyyre x64 OS 48 08-10-2014 16:50
Inline Patching MaRKuS-DJM General Discussion 1 01-24-2004 23:03


All times are GMT +8. The time now is 06:35.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )