Daniel_Cortez
d965a406e4
pawndisasm: Remove extra space after AMX flags
2019-06-08 00:03:10 +07:00
Daniel_Cortez
cbc647d6bd
pawndisasm: Properly handle invalid instructions
2019-06-08 00:03:09 +07:00
Daniel_Cortez
95685bf4ae
pawndisasm: Remove function 'do_switch()' (a duplicate of 'do_jump()')
2019-06-08 00:03:08 +07:00
Daniel_Cortez
c9dc7008fa
pawndisasm: Fix input and output files not being closed properly and 'code' being leaked on errors
2019-06-08 00:03:07 +07:00
Daniel_Cortez
b4f899e557
pawndisasm: Remove unused data from the opcode table
2019-06-08 00:03:06 +07:00
Zeex
dbc116d18e
Remove extra space after instructions without parameters
2018-09-02 07:12:27 +06:00
Zeex
16995c5ee1
Whitespace cleanup
2018-08-11 23:12:45 +06:00
Daniel_Cortez
20226dd566
pawndisasm: Fix 'switch' argument
2018-01-06 18:31:01 +07:00
Zeex
8847c300f1
Fix compile warnings in pawndisasm
2017-12-30 19:26:48 +06:00
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