Commit graph

102 commits

Author SHA1 Message Date
Henrik Rydgard
6cc7a85cde Rename WndMainWindow to MainWindow 2015-09-19 13:14:05 +02:00
Henrik Rydgard
d3018c1787 Windows: Enable ASLR (had to fix a few pointer truncations) 2015-07-15 20:02:42 +02:00
Kingcom
f6cedcbff5 Replace assembler with a submodule 2014-11-23 21:09:40 +01:00
Unknown W. Brackets
fba0110073 Properly clamp some iterative snprintf()s. 2014-11-05 08:06:15 -08:00
Henrik Rydgård
3b1476c8ec MIPSTables: Annotate fp and hi/lo in/out more accurately than just "other"
Some typo fixes
2014-10-12 19:46:50 +02:00
Henrik Rydgard
f84ebf6bff sprintf->snprintf, fix some too short buffers 2014-09-14 00:14:11 +02:00
Unknown W. Brackets
0ae9f06376 Skip emuhacks when showing encodings in debugger.
This can cause confusion when it doesn't match the displayed disasm.
2014-08-18 07:49:34 -07:00
Unknown W. Brackets
55403e42c2 Introduce a memory shutdown lock.
This allows the debugger to access memory in a safe way that should never
crash.
2014-07-19 23:30:19 -07:00
Unknown W. Brackets
9efbc2694b Add an invalidate all method to the jit. 2014-06-19 01:13:06 -07:00
Kingcom
6256f64507 Display label name in status bar 2014-03-31 17:00:48 +02:00
Unknown W. Brackets
f70f70925d Highlight arguments from the selected range.
For example, if "lui v0,0x8000" is selected, highlight "v0" or "0x8000"
used as arguments on other lines.  Makes it a bit easier to follow.
2014-03-02 22:49:22 -08:00
chinhodado
9ba79f31a2 minor change in file filter 2014-02-22 22:35:15 -05: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
Henrik Rydgard
455a73bba7 Bugfix replace function inlining (compilerPC needs to be increased). Misc. 2013-12-20 15:37:37 +01:00
Henrik Rydgard
2eab4aa1bf Play around with function replacement. Turned off by default of course. 2013-12-17 23:40:27 +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
1296aad6c7 Merge pull request #4675 from Kingcom/Debugger
Small debugger fixes and enhancements
2013-11-29 08:30:08 -08:00
Kingcom
85abd37ed1 Small debugger fixes and enhancements 2013-11-29 17:21:48 +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
aa37461084 Allow adding functions by selection range. 2013-11-27 23:50:08 -08:00
Kingcom
561379f5c2 Create data directives in disassembler 2013-11-28 00:33:21 +01:00
Kingcom
33dee2d287 Sort symbols when adding or removing function 2013-11-27 13:38:32 +01:00
Kingcom
5844d0107b Rewrite SymbolTable 2013-11-27 13:33:30 +01:00
Kingcom
274632f304 Minor disassembly tweaks 2013-11-26 11:38:01 +01:00
Kingcom
7c585485bb Save labels separately from symbols 2013-11-26 00:23:17 +01:00
Kingcom
8146e7bfb0 Fix stepping 2013-11-25 19:51:16 +01:00
Kingcom
ea38eb4318 Correctly rescan visible data 2013-11-25 17:31:39 +01:00
Kingcom
60987d9217 Minor optimization 2013-11-25 14:19:45 +01:00
Kingcom
aab6f588f1 Fix branch lines 2013-11-24 14:46:53 +01:00
Kingcom
0672458a33 Fix follow branch, display symbols 2013-11-24 13:53:50 +01:00
Kingcom
9ea00b2761 Fix copy disasm 2013-11-24 13:53:50 +01:00
Kingcom
63e2f34beb Correctly identify the start of a line when changing the address 2013-11-24 13:53:50 +01:00
Kingcom
a928c62ad1 Basic implementation and integration of DisassemblyManager 2013-11-24 13:53:50 +01:00
Unknown W. Brackets
c1c1b5213e Fix logging missing in headless with --log. 2013-11-17 10:15:13 -08:00
Kingcom
819ffec322 Improve copied disassembly 2013-11-16 12:21:05 +01:00
Kingcom
7ba00fa65f Change register value by "assembling" "reg=value" 2013-11-16 10:49:39 +01:00
Kingcom
2ec48b0154 -scan functions on vscroll
-scroll without moving the cursor with ctrl+up/down
-set cursor to start/end of window with ctrl+prior/next
2013-11-16 10:26:46 +01:00
Unknown W. Brackets
3771ec1959 Use Ctrl-C/Ctrl-Insert to copy in disasm.
This means trading Ctrl-C (was find again) for F3.  Also made Ctrl-F find
as well as Ctrl-S.
2013-11-09 10:57:43 -08:00
Kingcom
aae08173f1 Extend follow functionality of disassembly 2013-11-05 21:20:21 +01:00
Henrik Rydgård
ebd3763c7e Merge pull request #4458 from Kingcom/KeyStateFix
Correct use of GetAsyncKeyState
2013-11-05 02:36:39 -08:00
Kingcom
0e61913839 Remove redundant != 0 checks 2013-11-05 11:34:53 +01:00
Kingcom
a972b5d0dc Correct use of GetAsyncKeyState 2013-11-05 11:29:55 +01:00
Henrik Rydgård
2af9ef45a3 Merge pull request #4413 from Kingcom/Debugger
Change "goto in memory view" behavior
2013-11-03 03:19:12 -08:00
Kingcom
6ac29b314a Advance cursor after assembling 2013-11-03 10:14:46 +01:00
Kingcom
e8b8f89aa8 Use the disassembly's memory view for "goto in memory view" 2013-11-02 17:39:39 +01:00
Henrik Rydgård
7678107a4a Merge pull request #4380 from Bigpet/disasm_additions
added disasm debugger features to remove and add functions
2013-10-30 11:45:59 -07:00
Peter Tissen
d8b4ec6680 added disasm debugger features to remove and add functions 2013-10-30 16:13:18 +01:00
Kingcom
5bb7ac8b7e Various debug ui fixes and enhancements 2013-10-30 12:12:33 +01:00
Unknown W. Brackets
f9e4cae3c0 Debugger: fix "run to here" functionality. 2013-10-27 12:52:21 -07:00
Kingcom
ef1e34bffd Only display full disassembly lines 2013-10-19 00:58:42 +02:00