Zeex
898e02b771
Fix MSVC compile warnings
2015-04-06 17:36:10 +06:00
Zeex
568c277b03
Fix unused fread() return value warnings
2015-04-05 01:39:44 +06:00
Zeex
eeefc4ba3b
Fix compile warnings
2015-04-02 15:58:00 +06:00
Zeex
531d72d8cc
pawndisasm: Print function name next to proc/call
2014-12-21 17:12:07 +06:00
Zeex
68b1bf06c7
pawndisasm: Print source code along with disassembly
...
The algorithm isn't the best, but it's simple and it works.
2014-09-03 19:32:40 +07:00
Zeex
47d961ec63
pawndisasm: Fix first line bug
...
The first line of the file was always skipped due to prevline being
initialized to 0 instead of -1 (line numbers in the line table are
0-based).
Also fix the gap between file:line and "proc".
2014-09-03 18:42:28 +07:00
Zeex
b1fb2739cb
pawndisasm: Add "no-checks" and "sleep" flags
...
#define AMX_FLAG_SLEEP 0x08 /* script uses the sleep instruction (possible re-entry or power-down mode) */
#define AMX_FLAG_NOCHECKS 0x10 /* no array bounds checking; no BREAK opcodes */
2014-09-01 16:29:08 +07:00
Zeex
ed0fdd91ef
pawndisasm: Fix jump/call addresses
2014-08-31 14:49:06 +07:00
Zeex
2796907cd7
pawndisasm: Output native names as comments for sysreq.c instructions
2014-08-31 14:17:26 +07:00
Zeex
2f6b38dc51
pawndisasm: Remove old function declarations
2014-08-31 14:15:55 +07:00
Zeex
e0a61e5f93
Fix jump addresses in casetbl disassembly
2014-08-31 04:53:32 +07:00
Zeex
5ea9b1fef3
Remove support for opcodes from newer versions of Pawn
2014-08-31 04:40:42 +07:00
Zeex
dda49fbd08
Fix Linux build error
2014-08-29 23:23:51 +07:00
Zeex
030be737b5
Make pawndisasm display file names and line numbers
2014-08-29 23:11:15 +07:00
Zeex
6cbc4203b5
Backport pawndisasm from Pawn 3.3.3875
2014-08-29 22:45:16 +07:00