1
0
Fork 0
Commit Graph

420 Commits

Author SHA1 Message Date
mrexodia 43319be9d6
DBG: more efficient ToCompressedHex function (emits bytes directly if repeated 1 or 2 times) 2016-06-24 07:10:46 +02:00
mrexodia ad7a680126
BRIDGE+DBG: fully support arguments (#536) 2016-06-24 05:51:14 +02:00
mrexodia 089a593405
GUI: resolved issues #761 and #731 (crashes) 2016-06-24 03:59:55 +02:00
mrexodia 2956b01962
DBG: various changes to the encodemap 2016-06-24 02:47:22 +02:00
mrexodia b7f6e42e83
DBG+GUI+PROJECT: updated to the latest capstone 2016-06-23 03:43:46 +02:00
Torusrxxx 16065a273e fix 2 issues (#788)
* fix now-broken trace record storage

* fix self-jumping appearance
2016-06-23 03:16:11 +02:00
mrexodia 72888177b3
DBG+GUI+BRIDGE: various fixes with regards to the disassembly view 2016-06-23 01:43:54 +02:00
mrexodia 89017073a6
DBG+BRIDGE+GUI: fixed various issues (thanks to Coverity!) 2016-06-23 00:20:02 +02:00
Mr. eXoDia c7ed20da1f DBG: fixed warnings 2016-06-22 18:27:34 +02:00
Mr. eXoDia fa2db57799 DBG: AStyle 2016-06-22 17:28:54 +02:00
Mr. eXoDia 5fc4d90d8b Merge branch 'patch-2' of https://github.com/torusrxxx/x64dbg into torusrxxx-patch-2
# Conflicts:
#	src/dbg/database.cpp
2016-06-22 17:28:31 +02:00
Mr. eXoDia c048e1db78 DBG+GUI: text files for error/exception codes instead of hardcoded in the source 2016-06-22 17:25:55 +02:00
Torusrxxx becf708133 Run to user code (#762)
* Run to user code

* Fix "access violation" error

* Run to user code

* Run to user code

* Run to user code

* Run to user code

* Run to user code

* Run to user code

* Run to user code

* Run to user code

* Run to user code

* Fixed compiler warnings

* Run to user code

* Run to user code

* Run to user code

Please add an icon for it.

* Run to user code

* change the error message

* Run to user code

* Run to user code

* Update translation

* Update translation

* Enlarge the buffer size to 1KB

* Fix locking condition

* Fix race condition

* re-apply recent commits
2016-06-22 17:22:44 +02:00
Yun Wei 899a1c235c Data Instruction support (#758)
* Added data instruction support

* Fixed project file

* Add advanced analysis

* Add assembler, fixed various bugs

* Fixed various bugs, better float analysis

* Add project file

* Fixed follow menu display

* Added support for temp code list

* Fixed size for invalid instructions
2016-06-22 14:45:34 +02:00
Torusrxxx ce72c539c8 delete non-issue 2016-06-21 11:21:52 +00:00
Torusrxxx 3610fc0e59 plugin storage 2016-06-21 11:13:47 +00:00
Torusrxxx 794eba983e plugin storage 2016-06-21 11:10:13 +00:00
Torusrxxx 8f1f86360c plugin storage 2016-06-21 11:07:55 +00:00
Mr. eXoDia b3d71c2265 DBG: added inline format in various relevant places 2016-06-21 02:34:32 +02:00
Mr. eXoDia ab04fd7374 DBG: corrected some command locations 2016-06-20 22:48:31 +02:00
Mr. eXoDia b82a5d79ba DBG: allow loading of the CV record in download symbol command 2016-06-19 00:14:54 +02:00
Mr. eXoDia 19265d66c8 DBG: SafeSymGetOptions 2016-06-19 00:14:17 +02:00
Mr. eXoDia 338051bb27 DBG: ignore CodeView record in PE header (for performance/security reasons) 2016-06-19 00:13:18 +02:00
Torusrxxx f5c61a5fe4 Trace into/over beyond/into trace record (#756)
* replace map with hash map

* Fix the issue with trace record saving

* Trace into/over beyond/into trace record

* Trace into/over beyond/into trace record

* Trace into/over beyond/into trace record

and fix the issue that when a breakpoint is hit during tracing, trace would not be available.

* Trace into/over beyond/into trace record

* Trace into/over beyond/into trace record

* Trace record now sets the entire module

instead of a single page

* Trace into/over beyond/into trace record

* Trace into/over beyond/into trace record

* Trace into/over beyond/into trace record
2016-06-17 16:25:04 +02:00
mrexodia ab0fff683e
DBG: changes to the way conditional tracing is handled 2016-06-15 05:25:30 +02:00
mrexodia 261e53e21e
DBG: caching for callstack (issue #750) 2016-06-15 05:23:41 +02:00
Torusrxxx 1e1b1f14a0 Debug events counter (#748)
* DBG+GUI: Debug events counter

* DBG+GUI: Debug events counter

* DBG+GUI: Debug events counter

* DBG+GUI: Debug events counter

* DBG+GUI: Debug events counter
2016-06-15 03:10:59 +02:00
Torusrxxx db6d4fbc73 Trace until condition (#749)
* DBG+GUI: Trace until condition

* DBG+GUI: Trace until condition

* DBG+GUI: Trace until condtion

* DBG+GUI: Trace until condition

* DBG+GUI: Trace until condition

* DBG+GUI: Trace until condition

* DBG+GUI: Trace until condition

* DBG+GUI: Trace until condition
2016-06-15 03:10:32 +02:00
mrexodia 4852bc786b
DBG: stricter number parsing in valfromstring 2016-06-13 09:21:39 +02:00
mrexodia ad23074c33
DBG: updated yara to the latest version with all the modules 2016-06-12 22:32:24 +02:00
mrexodia 3276d5b9f0
DBG: VEH/VCH/UnhandledExceptionFilter working (use exhandlers command) #489 2016-06-12 06:16:00 +02:00
mrexodia 233e260206
DBG: fixed a crash in plugins on CB_BREAKPOINT 2016-06-11 22:53:08 +02:00
mrexodia 5c10c9591d
DBG: added keystone (assembler) support 2016-06-11 19:53:49 +02:00
mrexodia 1418b0335d
DBG: AddrInfo + AddrInfoSerializer + AddrInfoHashMap 2016-06-09 17:22:29 +02:00
mrexodia e4920c72a8
DBG: fixed issue #731 2016-06-08 03:11:42 +02:00
mrexodia 137b3f3164
DBG: (probably) resolved issue #732 2016-06-08 02:48:32 +02:00
mrexodia 424c69bc54
DBG: added GetFileNameFromProcessHandle as fallback if CreateProcessInfo->hFile is NULL 2016-06-06 13:51:48 +02:00
mrexodia 8ef2234caa
DBG: (minimal) performance increase in FileHelper::ReadAllData 2016-06-06 11:21:09 +02:00
mrexodia 7830ec98e5
DBG+GUI: resolved issue #609 (fixed assert for UTF-8 characters) + updated translation 2016-06-05 03:16:02 +02:00
mrexodia 60034795e5
DBG: small performance optimizations 2016-06-04 20:24:34 +02:00
Yun Wei 36decf84e3 Added api to supress gui message + add set breakpoint on every command in reference view (#710)
* Added API to supress all gui repaint messages

* Added related command for scripts

* Added Set/Remove Breakpoints on all commands
2016-06-04 11:10:31 +02:00
yuxuanchiadm ac35b0d3ad DBG: fixed weird thread pause (#564) (#709) 2016-06-04 11:09:39 +02:00
mrexodia 42163fa5cd
DBG: resolved issue #711 (condition reverted) 2016-06-04 10:40:29 +02:00
mrexodia abe53d3492
DBG: fixed a bug with database storing on entries with empty modules 2016-06-03 18:35:47 +02:00
mrexodia ee3e030886
DBG+BRIDGE+GUI+LAUNCER: manually merged pull request #705 (thanks to @wynick27) 2016-06-03 14:47:57 +02:00
mrexodia 8c0d2102e8
DBG+GUI: having fun with some control flow analysis 2016-06-02 13:23:46 +02:00
mrexodia 1a13962806
PROJECT: fixed various bugs (thanks to Coverity!) 2016-06-02 11:22:47 +02:00
mrexodia cd0fe880da
DBG+GUI+PROJECT: switched to Qt 5.6.0 (check the wiki for an updated compile guide) 2016-06-02 09:46:54 +02:00
mrexodia 5a5f64e1e1
DBG: fixed warning in TraceRecord 2016-06-01 11:08:47 +02:00
mrexodia 5e01b34178
DBG: added SerializableTMap (less code duplication) 2016-06-01 11:07:49 +02:00
Torusrxxx 94129aa276 db corruption is greatly reduced (#688)
* DBG: db corruption rate is greatly reduced

* DBG: db corruption is greatly reduced

* Add a comment noting the longest IP address

* DBG: db corruption is greatly reduced
2016-06-01 08:26:08 +02:00
mrexodia cba29b0c08
DBG+GUI: resolved issue #470 (jump arrows for register instructions) 2016-05-31 07:44:28 +02:00
mrexodia da607528b1
DBG: resolved issue #661 (improved string search speed) 2016-05-31 05:57:56 +02:00
mrexodia 6f63009c77
DBG: fillbasicinfo option that disables string operations (for performance-critical applications) 2016-05-31 05:56:50 +02:00
mrexodia 6ed2a74a30
DBG: introduced MemReadUnsafe for performance-critical memory reads 2016-05-31 05:55:41 +02:00
mrexodia 17768853d9 DBG: various fixes with mnemonic help and brief + updated mnemdb 2016-05-29 20:32:03 +02:00
mrexodia 5b218f57ba DBG: fixed minor issues with mnemonichelp 2016-05-29 18:07:24 +02:00
mrexodia af7d328447 DBG: refactored Analysis code. 2016-05-29 07:11:11 +02:00
mrexodia 677a5a5f35 DBG+GUI: added AddrInfo format string in CPUArgumentWidget 2016-05-29 04:40:19 +02:00
mrexodia 714583f1c2 DBG+GUI: fixed various things with string detection (fixed #680 #530) 2016-05-29 04:05:34 +02:00
mrexodia a7d7332826 DBG: fixed some bugs with handles 2016-05-29 01:48:58 +02:00
mrexodia 5a1c6971c6 DBG: fixed weirdness in cbDisablePrivilege and cbEnablePrivilege 2016-05-29 01:02:01 +02:00
mrexodia ab1cf7b92c DBG+GUI+BRIDGE: rewrote handles + tcp connections view 2016-05-29 00:32:22 +02:00
mrexodia a92a2c10b7 DBG: fixed privilege stuff 2016-05-28 05:42:59 +02:00
genuine_ 9f3da84df6 fix for issue 673 (#674) 2016-05-28 01:43:33 +02:00
mrexodia 57c3279c3c DBG+GUI: fixed some stuff with HandlesView 2016-05-27 23:24:40 +02:00
mrexodia 1bff3d5f2f DBG: fixed runtime error 2016-05-27 23:11:12 +02:00
mrexodia a7f010f271 PROJECT: AStyle 2016-05-27 22:40:26 +02:00
Duncan Ogilvie 61eb6771f4 Merge pull request #668 from torusrxxx/patch-2
Handles view
2016-05-27 18:42:58 +02:00
Torusrxxx 98bafd4ab5 Handles view 2016-05-27 13:03:02 +00:00
Torusrxxx 7f5b493861 Handles view 2016-05-27 13:02:28 +00:00
Torusrxxx c90fab8f32 Privilege view 2016-05-27 13:01:34 +00:00
Torusrxxx 9acca56b4f Privilege view 2016-05-27 13:00:13 +00:00
Torusrxxx 3e02bb0d39 Privilege view 2016-05-27 12:59:00 +00:00
Torusrxxx 091010106f Handles view 2016-05-27 12:58:12 +00:00
Torusrxxx e1db418aca Privilege view 2016-05-27 12:56:28 +00:00
Torusrxxx 2835adc1c5 Handles view 2016-05-27 12:53:35 +00:00
glindor 0f37eaa058 Add Module name to Intermodule call list in GUI. Addresses issue #649 2016-05-26 17:59:28 -04:00
mrexodia d6ef3f10d8 PROJECT+DBG: fixed release.bat & fixed mnemonic help redirections 2016-05-25 17:29:05 +02:00
mrexodia 225d687192 DBG: resolved issue #664 (bug with relative symbol paths) 2016-05-25 16:57:17 +02:00
mrexodia 39f4175ba2 Merge branch 'patch-1' of https://github.com/torusrxxx/x64dbg into torusrxxx-patch-1
Conflicts:
	src/dbg/TraceRecord.cpp
	src/gui/Src/Gui/CPUDisassembly.h
2016-05-25 16:42:22 +02:00
mrexodia ffac42d16d Merge branch 'patch-1' of https://github.com/torusrxxx/x64dbg into torusrxxx-patch-1
Conflicts:
	src/dbg/_dbgfunctions.cpp
	src/dbg/_dbgfunctions.h
	src/dbg/threading.h
	src/dbg/x64_dbg_dbg.vcxproj.filters
	src/gui/Src/Gui/CPUDisassembly.cpp
	src/gui/Src/Gui/CPUDisassembly.h
2016-05-25 16:39:45 +02:00
Torusrxxx e436d17f13 DBG: finer performance in trace record 2016-05-25 14:28:14 +00:00
Torusrxxx c23b6e31f5 Change the code so they may be auto merged 2016-05-25 14:16:31 +00:00
Torusrxxx 41ab48a444 Change the code so they may be auto merged 2016-05-25 14:15:48 +00:00
Torusrxxx acfc82630d DBG: Fixed crashing 2016-05-25 14:06:22 +00:00
mrexodia 1541f84867 DBG: added mnemonichelp and mnemonicbrief commands + export 2016-05-25 15:57:03 +02:00
Torusrxxx 2359e6a6ed DBG: fixed compile error on 32bit target 2016-05-25 13:38:06 +00:00
Torusrxxx 5e6ace7497 DBG: fixed compile error on 32bit target 2016-05-25 13:37:24 +00:00
Torusrxxx 7f938a06f8 Trace record
#654
2016-05-25 12:21:14 +00:00
Torusrxxx cb66709904 Trace record
#654
2016-05-25 12:20:03 +00:00
Torusrxxx 9b648dedd7 DBG: Nothing acturally changed 2016-05-25 11:41:50 +00:00
Torusrxxx 7912681a04 DBG: add reason to efree() 2016-05-25 11:40:56 +00:00
Torusrxxx c29a754739 Trace record
#654
2016-05-25 11:39:55 +00:00
Torusrxxx 8f72770a20 Trace record
#654
2016-05-25 11:30:36 +00:00
Torusrxxx 069797dfe5 Trace record
#654
2016-05-25 11:29:48 +00:00
Torusrxxx 09270e501a Trace record
#654
2016-05-25 11:29:13 +00:00
Torusrxxx e6502e236e Trace record
#654
2016-05-25 11:28:07 +00:00
Torusrxxx 9caa6365de Trace record
#654
2016-05-25 11:27:09 +00:00
Torusrxxx 8e39780f2b Trace record
#654
2016-05-25 11:26:24 +00:00
mrexodia 8bd6fe8aad DBG+GUI: fixed comments with format strings (now you can also edit them as format strings) 2016-05-25 11:58:04 +02:00
mrexodia a8f70ccc01 PROJECT: updated help 2016-05-25 11:10:12 +02:00
mrexodia b7b27adff5 DBG: fixed flags (now prefixed with an underscore instead of logical not) 2016-05-25 11:08:54 +02:00
mrexodia 6b780024c3 DBG: focus on the disassembly on DebugUpdateGui 2016-05-25 08:31:22 +02:00
mrexodia 321dae7910 DBG: changed pointer format string + removed LongHex format string 2016-05-25 05:04:20 +02:00
mrexodia 35514bdf5e DBG: added LongHex format type "{x:5}" 2016-05-25 05:04:19 +02:00
mrexodia 43dd0c113f DBG: allow the capstone instruction to customize CIP 2016-05-25 05:04:16 +02:00
mrexodia 5b669067f3 DBG: added DbgFunctions()->StringFormatInline 2016-05-25 05:04:16 +02:00
Torusrxxx e06046e85d DBG: Fixed locking condition 2016-05-23 11:32:39 +00:00
mrexodia bf74b6968e DBG: fixed invalid fast resume behavior (issue #655) 2016-05-23 12:41:31 +02:00
mrexodia 23d3fbb157 DBG: set breakpoint name functions + minor performance improvement with fastResume + fixed GetBridgeBp 2016-05-23 08:42:26 +02:00
mrexodia c7a3636a0e DBG: fixed bugs in enable/disable/delete all on various breakpoint types 2016-05-23 06:15:40 +02:00
mrexodia 1049c9c959 DBG: dynamic comments (works like logging breakpoints format string) 2016-05-23 04:38:17 +02:00
mrexodia 490b0ff878 BRIDGE+DBG+GUI: reduced the code for conditional breakpoints + added commandCondition and logCondition (when not set the behavior stays the same as before) 2016-05-23 03:29:52 +02:00
mrexodia 97b2319371 DBG: added GetBridgeBp function 2016-05-22 23:53:17 +02:00
mrexodia 65639ff7d5 DBG: moved some breakpoint print statements to functions 2016-05-22 23:52:44 +02:00
mrexodia 144bfdc8b3 DBG: resolved issue #653 (deadlock in breakpoint callbacks) 2016-05-22 21:07:41 +02:00
mrexodia cf540e73ef DBG: shared locks on BpInfoFromAddr (since that function uses no locks so the pointer might be invalid directly after the call) 2016-05-22 18:33:25 +02:00
mrexodia 7a041f6f05 DBG: correctly serialize fastResume + log formatting works 2016-05-22 18:17:03 +02:00
mrexodia 1941db5c80 DBG: slight AStyle 2016-05-22 17:35:50 +02:00
Duncan Ogilvie c1f505b46e Merge pull request #651 from torusrxxx/development
Conditional breakpoint

This will make a lot of people happy, thanks a lot!
2016-05-22 17:34:01 +02:00
Torusrxxx ed66642a88 Move code from _export.cpp to Breakpoint.cpp 2016-05-22 14:27:14 +00:00
Torusrxxx 08194c49b6 Change comments so they're not misleading 2016-05-22 14:15:03 +00:00
Torusrxxx f25a510918 Manual style fix 2016-05-22 14:00:52 +00:00
Torusrxxx 72050303e8 Manual style fixing 2016-05-22 13:56:43 +00:00
mrexodia 07f18d442e DBG: formatted ExpressionParser 2016-05-22 15:50:40 +02:00
Torusrxxx 9697177e4c Make code safer 2016-05-22 13:39:31 +00:00
Torusrxxx 1b217a481c Conditional breakpoint
#314
2016-05-22 13:21:29 +00:00
Torusrxxx bcd87ac7d8 Conditional breakpoint
#314
2016-05-22 13:20:24 +00:00
Torusrxxx 49d90a5e9d Conditional breakpoint
#314. This existing behaviour should be retained in future versions of this function, otherwise the conditionals may not work.
2016-05-22 13:19:08 +00:00
Torusrxxx 4f07e6d389 Conditional breakpoint
#314
2016-05-22 13:17:06 +00:00
Torusrxxx c2bd651f2f Conditional breakpoint
#314
2016-05-22 13:16:05 +00:00
Torusrxxx 51b2e1efe2 Conditional breakpoint
#314
2016-05-22 13:14:49 +00:00
Torusrxxx cdc7a58a02 Conditional breakpoint
#314
2016-05-22 13:14:03 +00:00
Torusrxxx b7aa03f88b Conditioal breakpoint
#314
2016-05-22 13:13:00 +00:00
Torusrxxx f4c379aa27 Conditional breakpoint
#314
2016-05-22 13:12:10 +00:00
mrexodia c4777b2984 DBG: changed stringformat for the log command (you now write {d:0} instead of {d0}) 2016-05-22 14:52:31 +02:00
mrexodia 637aa0f1b9 DBG: added stringformatinline 2016-05-22 14:43:50 +02:00
mrexodia 12e320e612 DBG: logical expressions will now be evaluated to either 1 (true) or 0 (false) 2016-05-21 19:19:57 +02:00
mrexodia 363a154877 DBG: zero UTF8 IMAGEHLP_MODULE64 structures 2016-05-20 21:40:36 +02:00
mrexodia e914311e55 DBG: SafeSymLoadModuleExW and SafeSymGetModuleInfoW64 for unicode support in dbghelp 2016-05-20 21:37:55 +02:00
mrexodia 7504758427 DBG: unicode compatible dbghelp callback 2016-05-20 21:22:41 +02:00
mrexodia ddfedf50bb DBG+GUI: AStyle (please run install.bat before commiting) 2016-05-20 20:47:56 +02:00
Torusrxxx 562d68d672 Make it possible to reference segment registers 2016-05-20 15:26:10 +00:00
Torusrxxx dd32f71654 Command parse: ignore tabs 2016-05-20 15:22:20 +00:00
mrexodia e2e27ca9e9 DBG: temporarily fixed the ResolveOpValue function (needs a cleaner approach but this works for now) 2016-05-20 04:07:59 +02:00
mrexodia 6c742d0ce1 getregister public in value 2016-05-20 04:07:58 +02:00
mrexodia 8391bd86df DBG: some small fixed in scriptapi 2016-05-18 14:51:22 +02:00
mrexodia 51a9fb5ec9 DBG+BRIDGE: fixed a crash with apienumimports 2016-05-01 21:10:04 +02:00
mrexodia 003daf0624 GUI: fixed a bug with the set label on address (thanks pusher!) 2016-04-25 22:36:12 +02:00