Henrik Rydgard
ca500b0bf4
Add setting for Kitkat Immersive Mode on Android.
2014-02-09 23:16:08 +01:00
Kingcom
880be6d41d
Module list in Windows debugger
2014-01-27 00:35:16 +01:00
Unknown W. Brackets
983e195dd2
Fix possible module index overlap.
2014-01-26 00:02:01 -08:00
Unknown W. Brackets
76afb2a8d5
Avoid returning points from the symbol map.
...
Now that it uses a lookup, this is even more dangerous. But, the maps
could be reordered while it's trying to print the pointer and cause that
data to become invalid.
This should be safe from race conditions.
2014-01-25 21:40:23 -08:00
Unknown W. Brackets
b1af4f4911
Write symbol maps as ".ppmap" instead.
...
This has some benefits:
* They are smaller, but zgrep/zcat etc. still work.
* Since the format is slightly different, bisecting won't overwrite.
* It avoids conflicts with .map file associations.
2014-01-25 21:12:16 -08:00
Unknown W. Brackets
a2fa53d5c4
Track modules in the symbol map.
...
This makes it so things don't overlap confusingly, and also so that we can
replace funcs more correctly and sanely.
This is unfortunately a bunch more complicated...
2014-01-25 20:59:53 -08:00
Unknown W. Brackets
4de20258eb
Don't bother writing an empty symbol map.
...
For example, when accidentally opening an invalid file.
2014-01-19 21:34:16 -08:00
Henrik Rydgård
00c32ddadb
Mostly get rid of including "Globals.h"
2013-12-30 10:17:11 +01:00
Henrik Rydgard
2140892074
Initial preparations for ability to replace game functions with custom implementations.
...
Also auto-saves hashmap additions and reapplies the hashmap on function
rename so that if you rename a function that exists in several copies
they will all be labelled.
Note that actual function replacement is not activated yet.
2013-12-17 12:27:20 +01:00
Henrik Rydgård
cfbd1b07e8
Some code reformatting in SymbolMap
2013-12-02 15:30:03 +01:00
Henrik Rydgård
16369dde47
Protect against a buffer overflow in symbolmap
2013-12-02 15:29:35 +01:00
Unknown W. Brackets
7de0b28961
Fix an unhandled case value warning.
2013-12-01 11:21:17 -08:00
Unknown W. Brackets
dd2e996838
Fix some type comparison warnings.
2013-12-01 11:21:16 -08:00
Henrik Rydgård
620bb14d6b
Merge pull request #4662 from Kingcom/Debugger
...
Disassembler fix
2013-11-28 02:04:13 -08:00
Kingcom
cca750aab5
Fix invalid memory access on start, remove combo box code from symbol map
2013-11-28 10:49:02 +01:00
Henrik Rydgård
f8227132f9
Merge pull request #4657 from Kingcom/Debugger
...
Create data directives in disassembler
2013-11-28 01:20:21 -08:00
Unknown W. Brackets
bb41e015b9
Truncate func names when reading symbol maps.
...
Otherwise they'll get trashed.
2013-11-27 22:11:18 -08:00
Kingcom
561379f5c2
Create data directives in disassembler
2013-11-28 00:33:21 +01:00
Kingcom
eeb9667726
Fix QT build (hopefully)
2013-11-27 15:06:41 +01:00
Kingcom
5844d0107b
Rewrite SymbolTable
2013-11-27 13:33:30 +01:00
Kingcom
3d4bb3f20b
Remove obsolete functions
2013-11-26 00:51:04 +01:00
Kingcom
00a801f6a3
Don't overwrite label name if it already exists, get label value
2013-11-26 00:43:31 +01:00
Kingcom
7c585485bb
Save labels separately from symbols
2013-11-26 00:23:17 +01:00
Kingcom
9a29e8b0bf
More efficient "loose" opcode detection, clear entries when symbols were loaded
2013-11-25 16:18:29 +01:00
Kingcom
92e2cdcf59
Read function size from .sym
2013-11-01 14:14:06 +01:00