Raised This Month: $12 Target: $400
 3% 

Decompiling Plugins (.amx/x -> .sma)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BAILOPAN
Join Date: Jan 2004
Old 10-15-2005 , 04:41   Decompiling Plugins (.amx/x -> .sma)
Reply With Quote #1

Topic: How do you decode a closed source plugin back to source code?

This is a hot topic for some people, and I've been asked about it many times. After the Sputnik53 incident, I decided to publically reveal how it's done. Currently, I'm writing a multipart-article on the SourceMod devlog.

This is not for the faint of heart, and you should step into this with knowledge of C and processor memory layout. I'll update this post as I complete more pieces of the tutorial.

Part 1 - Introduction to the VM
Part 2 - Basic Disassembly
Part 3 - Decoding Branches
Part 4 - Local procedures, variables, and multi-branches
Part 5 - Optimization
Part 6 - Stocks, floats, ternary operators, and for loops
Part 7 - Multi-part if statements, multi-dimensional arrays
__________________
egg
BAILOPAN is offline
 


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode