amxxdump
5 Attachment(s)
This is just a small tool I was working on for personal use, but I figured a couple people may find it useful so I made it a bit easier to use and got it to build on Windows.
This program is an amxmodx specific plugin disassembler. Specifically, plugins built with amxmodx 1.5+ (previous ones will not load). This is meant to compliment Wraith's disassembler, not entirely replace it. My data section examination implementation is very poor (did it in about 5 minutes...), so it's better to use his for that regard. His also makes pseudo labels for jumps, this one just displays the address. Also his is in a nice GUI, this one is entirely console driven. The biggest difference between the two disassemblers is this one was built with the sole purpose of looking up the plugin's symbol table. The symbol table (to my knowledge) was not in Small when Wraith made his disassembler. For disassembly the symbol table is complete hax. You can view a variables exact offsets, the scope of the variable, the name, tags for it, dimensions, etc. General usage: As stated previous, this is ENTIRELY console driven. There is no GUI for this. amxxdump file.amxx [ parameters ] Here are the switches: Quote:
amxxdump admincmd.amxx -D cmdSlap As stated before, the data viewing portion is very poorly implemented. Just a warning, I haven't extensively tested the Windows build. The vast majority of my work has been with the Linux version. v1.01, now with (hopefully!) less crashes on Windows, -f and -l (run with -? for details) v1.02, now with -c (suppress all comments) and -j (generate pseudo labels for jumps) v1.3, now with better Windows support, very basic SourceMod plugin support, and now with native parsing. v1.3.1, fixed a few small quirks with the native parser v1.3.2, fixed a few more quirks with the native parser v1.4, more tweaks to the native parser, added comments to STACK and FILL ops, added comment when a variable scope begins. Added -g. v1.5, fixed some crashes with the native parser on some awkward natives. Added -h, -N, and -A (consult -? for more details). Changed most address output (except for the disassembly itself) to be 0x%08X instead of 0x%X. Changed -m to give better output. |
Re: amxxdump
sawce how is it you're so awesome
|
Re: amxxdump
i no rite
|
Re: amxxdump
I left a post searching for a plugin manager and here it is!!! Well not as I figured it would be but a benning of a program that may be very useful in a near future adding extra tools and make instead of console only a all full acess program with buttons, decomplilers etc...
http://forums.alliedmods.net/showthread.php?t=52770 This litle program is sweeetttt! I tryed some of the options and it's really easy to get the offsets of plugins I got, as well as natives! Hope someone develops this even further and take it to what I meant in the post link! |
Re: amxxdump
Updated to v1.02:
Added: -c Suppress all comments. -j Generate pseudo labels for jumps. v1.01 (old change log): Hopefully fixed crashing on Windows. Added: -l Display file & line comments on BREAK opcodes. -f Display all files that generated code (included stocks). @Juba_PornBorn1 this is nothing like your request... |
Re: amxxdump
Marry me?
|
Re: amxxdump
Quote:
|
Re: amxxdump
Quote:
|
Re: amxxdump
I agree.
Sawce, I love you. |
Re: amxxdump
Updated to version 1.3:
The "includes" directory (provided) needs to be in the same directory as the amxxdump binary for this feature to work. so people know what I'm talking about, here's the example output from the new -E switch (admincmd.amxx, plugin_init): Code:
[~/amxxdump/bin]> ./amxxdump ../admincmd.amxx -D plugin_init -E |
All times are GMT -4. The time now is 10:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.