1
0
Fork 0
Commit Graph

1060 Commits

Author SHA1 Message Date
mrexodia 3b754f0791
BRIDGE+GUI: adjusted behavior for GuiReferenceGetCellContent 2017-03-11 03:51:55 +01:00
mrexodia 5715e1cc27
DBG: allow a title to be specified for refinit 2017-03-11 03:41:48 +01:00
mrexodia aaf610de54
DBG: show logged line in script info 2017-03-11 03:02:16 +01:00
mrexodia 2d605f18ea
DBG: demangle enumerated import symbols 2017-03-11 00:05:54 +01:00
mrexodia 81bf2510e9
DBG: prevent possible overflow on race condition with varget 2017-03-10 23:52:48 +01:00
mrexodia 15bbdd84de
DBG: restore breakpoints when loading database (resolves issue #1479) 2017-03-10 23:11:51 +01:00
mrexodia 4bb5eb2dee
DBG: allow stirng formatting in labelset 2017-03-10 23:10:56 +01:00
mrexodia 448b6ac64c
DBG: refresh views in commentset 2017-03-10 23:09:36 +01:00
mrexodia 8803a50659
DBG: test for InstructionText in 'capstone' command 2017-03-10 23:08:35 +01:00
mrexodia f66acfa410
DBG: possible cbExitThread crash 2017-03-10 21:31:19 +01:00
Torusrxxx 65b1f5a4ac fix (#1487)
* fixed a crash and enable user to dblclick on folding box

* fixed when eip is in the current function it cant select

* Fix strange "Thread switched from 0" message when starting debuggee
2017-03-10 20:40:17 +01:00
mrexodia 92268d009d
DBG: removed unused disasmtext function 2017-03-06 17:25:08 +01:00
mrexodia 378a6c9637
DBG: added string formatting to findasm 2017-03-06 17:23:24 +01:00
mrexodia c4841639e2
DBG+GUI: call stack improvements (closes pull request #1478) 2017-03-04 19:47:44 +01:00
mrexodia 9d71bd3b73
DBG: remove redundant SymEnumerateModules64 dbghelp import 2017-03-01 23:24:00 +01:00
mrexodia f71b7610b0
DBG: performance improvement with saving/loading databases 2017-02-28 23:21:42 +01:00
mrexodia 6e189010d2
DBG: cache file for the command line in the database (~2x performance improvement on big databases) 2017-02-28 05:42:29 +01:00
mrexodia aae9953c6d
DBG: fixed various crashes with very big labels in the call stack (they are now truncated instead, thanks to AlexAltea!) 2017-02-28 05:02:16 +01:00
mrexodia e63874c6bd
DBG: fixed some unclear behaviour and crashes in dbgsetcmdline 2017-02-28 05:00:54 +01:00
mrexodia 01d46dd036
DBG+GUI: check if DEP is enabled before warning about operations on non-code pages 2017-02-26 22:42:52 +01:00
mrexodia df0c75ac03
DBG: support for symbol displacement (#1478) 2017-02-26 01:14:50 +01:00
mrexodia 2736885c09
DBG: improvement for issue #1475 (cache misses on thread creation when reading the stack) 2017-02-25 23:12:58 +01:00
mrexodia b438872319
DBG: drastically improved loop manipulation performance 2017-02-24 20:43:48 +01:00
mrexodia 9e30cc7c3e
DBG: improve range comparison functions 2017-02-24 19:48:00 +01:00
mrexodia 4f704b81bb
DBG+GUI: fixed some warnings 2017-02-24 19:39:32 +01:00
mrexodia bf3ccd7e0b
DBG: significant memory usage improvements for database (~5x less memory used) 2017-02-24 19:38:48 +01:00
Matthijs Lavrijsen 71130601ee Add wait reason to threads list (#1470)
* Implement ThreadGetWaitReason

* Get the wait reason for all threads at once in ThreadGetWaitReason to limit the number of NtQuerySystemInformation calls to 1 per refresh
2017-02-22 19:30:18 +01:00
mrexodia 861686f91e
DBG: allow string formatting in the 'asm' command #1416 2017-02-21 19:52:09 +01:00
mrexodia 6b3d1e71da
DBG: include the member name in struct visiting 2017-02-18 20:35:53 +01:00
mrexodia e83524461c
DBG: correctly enumerate imports as IAT addresses 2017-02-18 20:35:20 +01:00
changeofpace b4bc8546a8 Do not add breakpoint if SetBPX fails. (#1460)
* call SetBPX before BpNew in cbDebugSetBPX to prevent failed bps from being added to the bp map.

* revert previous change.  Call BpDelete if SetBPX failed.

* remove commented code.
2017-02-18 14:03:54 +01:00
Torusrxxx 1ae3b7d178 handles and windows view (#1417)
* handles and windows view

* use references view for heap, cleaned up

* fix #1424 use decimal pid and tid

* thread name in windows view

* fix something when not debugging

* heaps view hidden
2017-02-18 13:56:59 +01:00
mrexodia 8e0a779b20
DBG: correctly enforce reads/writes on page boundaries (closes #1446) 2017-02-05 20:45:06 +01:00
mrexodia 48df1c4c2c
DBG: updated savedata behavior 2017-02-05 20:31:17 +01:00
mrexodia 5a0a932524
DBG: slightly improved import parsing (#1455) 2017-02-05 20:16:47 +01:00
mrexodia 8788d66cf5
DBG: improved exinfo and capstone commands 2017-02-04 06:04:36 +01:00
mrexodia 003260c2dd
DBG: dont crash on strcpy_s when user-provided sizes 2017-01-31 16:08:10 +01:00
changeofpace cc01ae09a0 fix MemRead to only return true if NumberOfBytesRead is equal to the requested read size (#1426)
* fix MemRead to only return true if NumberOfBytesRead is equal to the requested read size

* preserve Size arg value

* adjust readSize before page loop in MemRead
2017-01-18 22:42:45 +01:00
changeofpace 5d36e73033 fixed multiple session process cookie bug when MemInitRemoteProcessCookie fails before brute-force loop (#1418) 2017-01-18 14:42:53 +01:00
mrexodia 0b18f65653
DBG: don't clear patches unless the debuggee is terminating (fixes #1419) 2017-01-18 14:40:46 +01:00
mrexodia 9118d7f9d8
DBG: various small improvements to the mov command 2017-01-10 20:30:54 +01:00
changeofpace 6c9eb3d6e3 Remote process cookie support for Windows XP/Vista/7 (#1412)
* added MemInitRemoteProcessCookie and memory.cpp global fallbackCookie

* changed sizeof arg for MemRead
2017-01-10 12:21:07 +01:00
mrexodia 415fe99871
DBG: support multiple string references in one instruction 2017-01-10 12:19:04 +01:00
mrexodia 9f7f649f7e
DBG+GUI: implemented trace switch condition 2017-01-10 12:14:01 +01:00
mrexodia 6f92218437
DBG: todo note 2017-01-10 10:35:50 +01:00
mrexodia 0f4a5fa074
DBG: workaround for a bug/feature in WOW64 that breaks stepping 2017-01-10 10:34:51 +01:00
mrexodia ee3af0a2df
DBG+BRIDGE+GUI: fixed possible out-of-range access related to data disassembly 2017-01-10 10:16:49 +01:00
mrexodia 0767d74ef2
DBG+GUI: fixed various @coverity issues 2017-01-09 01:10:43 +01:00
mrexodia 94b2280e59
DBG: fixed memory leak with analyze_nukem 2017-01-08 23:43:55 +01:00
mrexodia 0c5a1a89f0
DBG: fixed restart as admin with spaces in the path 2017-01-08 23:32:58 +01:00
mrexodia db44e0b24d
DBG: updated TitanEngine (resolves issue #1190) thanks to @nmikhailov 2017-01-07 16:59:51 +01:00
mrexodia 37fe2150e9
GUI: properly fixed #1408 2017-01-06 11:34:43 +01:00
mrexodia 04a97b51d6
DBG: fixed default trace condition 2017-01-05 02:31:45 +01:00
mrexodia 42978d6359
DBG: fixed small spacing issue in window title 2017-01-04 03:04:07 +01:00
mrexodia b8cf80a32f
BRIDGE+DBG: added apis to access TEB/PEB 2017-01-03 23:36:57 +01:00
mrexodia 53f300b32a
DBG: SIZE_T -> duint 2017-01-03 15:28:49 +01:00
changeofpace 16f0c9871c fix incorrectly restored page protection for cross-boundary memory reads (#1406)
* added a VirtualQueryEx check to MemRead to prevent reads which span multiple memory regions

* replaced VirtualQueryEx check with code to calc # page reads based on base address
2017-01-02 20:44:07 +01:00
mrexodia 598b476132
DBG: further improved string detection heuristics 2017-01-02 13:36:42 +01:00
mrexodia 4ba4bcce1c
DBG: removed restrictive heuristic for string detection 2017-01-02 13:25:51 +01:00
mrexodia ad6b94cfd5
DBG: improvements to the string detection algorithm #1405 2017-01-02 03:54:56 +01:00
mrexodia b52e768b61
DBG: improved the disasmispossiblestring function 2017-01-02 03:14:57 +01:00
mrexodia f2f2255457
DBG: resolved #1407 (weird focus issues with patch dialog) 2017-01-02 03:12:45 +01:00
mrexodia 1379754c16
DBG: reverted change to string detection #1405 2017-01-01 15:55:44 +01:00
mrexodia 5e37953883
DBG: limit the maximum amount of exception to be skippable (resolves #1325 #1341) 2016-12-29 00:21:29 +01:00
mrexodia 8b4c784457
DBG+GUI+BRIDGE: added various menu manipulation functions for plugins 2016-12-26 12:44:03 +01:00
mrexodia e09c325090
DBG: unload all plugin callbacks before FreeLibrary (resolves #1397) 2016-12-26 12:07:23 +01:00
mrexodia 1ebcb070ae
DBG: resolved issue #1383 (still print autocomments for constant values with 'Autocomment on CIP' enabled) 2016-12-17 17:03:30 +01:00
mrexodia 1d00a61ba2
Merge branch 'development' of https://github.com/ThunderCls/x64dbg into ThunderCls-development
Also made various cleanup changes
2016-12-16 14:30:04 +01:00
Torusrxxx 84b1df9bf6 Highlight segment register from reg view (#1376) 2016-12-16 12:22:54 +01:00
ThunderCls 22108bd046 Load/Free Modules in Symbols window
- Added command "freelib" to free a module previously loaded
- Added menu entries for load/free modules in the symbols view
2016-12-14 00:23:00 -05:00
mrexodia c6a486a563
DBG+LAUNCHER: slight refactor of GetFileArchitecture to support certain edge cases 2016-12-13 19:54:43 +01:00
mrexodia 82492025bb
Merge branch 'development' of https://github.com/jossgray/x64dbg into jossgray-development 2016-12-13 19:09:27 +01:00
mrexodia 7bfd2b1a0f
DBG: thread entry symbolic address 2016-12-13 18:53:43 +01:00
mrexodia d37e75d126
DBG+LAUNCHER: fixed launcher with a working directory set 2016-12-13 18:53:43 +01:00
jossgray 9732d3e440 Fix failing to read IMAGE_NT_HEADERS when it is at an address greater than 0x1000. 2016-12-13 17:52:51 +00:00
Xiaoyin Liu 7bb1198900 Use HTTPS for Microsoft symbol server URL (#1300)
Update Microsoft symbol server URL to https://msdl.microsoft.com/download/symbols. This is the default sympath in WinDbg 10.0.14321
2016-12-13 02:41:35 +01:00
mrexodia 72eae713db
DBG+BRIDGE+GUI: added various features to restart as admin 2016-12-13 02:11:40 +01:00
changeofpace 4aca3cba64 added extra info prints for access violation exceptions for the exinfo command (#1361)
* added extra info prints for access violation exceptions for the exinfo command

* reverted to original ExceptionInformation loop in exinfo cmd.  added comments for access violation exceptions
2016-12-11 09:06:07 +01:00
changeofpace 901a25dd45 #1312 disable exinfo on exceptions (#1358)
* Added engine settings option to disable printing exinfo for every exception.

* fixed default tab
2016-12-11 09:05:15 +01:00
Torusrxxx 694d94cf1f config command (#1355)
* config command

* Find window in attach dialog

* attach to hidden process
2016-12-11 09:04:40 +01:00
mrexodia f61509ad8b
DBG: also remove breakpoints on DbLoad 2016-12-07 22:34:44 +01:00
mrexodia 806cc1757a
DBG: fixed a bug with no specified find_size in findallmem 2016-12-07 22:30:58 +01:00
Cornel Punga 4510c594d9 Remove breakpoints from module when calling DbClear, resolves #1310 (#1352) 2016-12-07 22:22:14 +01:00
mrexodia db86648850
DBG: fixed issue #1350 (incorrect detection of unary operators) 2016-12-06 20:37:08 +01:00
mrexodia c680cadfde
DBG: added CB_VALFROMSTRING and CB_VALTOSTRING 2016-12-05 21:09:44 +01:00
mrexodia 6f51d06d88
DBG: various improvements with types #1305 2016-12-01 08:24:59 +01:00
mrexodia 87b029c732
DBG: small sprintf optimization 2016-12-01 08:24:29 +01:00
mrexodia 2305b3a6c2
DBG+GUI: fixed some small issues with types #1309 #1305 2016-11-30 21:23:55 +01:00
mrexodia 5e2ab487a9
DBG: fixed ParseTypes reload error #1305 2016-11-30 11:19:28 +01:00
mrexodia 98da939bf4
DBG+BRIDGE: api to get useful process/thread information 2016-11-29 00:53:08 +01:00
mrexodia 799efc4f31
DBG+BRIDGE+GUI: add (theoretical) support for big endian types 2016-11-27 02:02:45 +01:00
mrexodia da21b3d0b1
DBG: changed ArchValue to macro 2016-11-27 01:00:08 +01:00
mrexodia 526671c44c
DBG: allow loading of 32/64 bit specific types from JSON 2016-11-27 00:58:05 +01:00
mrexodia de1951e9ca
DBG+BRIDGE+GUI: initial version of struct viewer 2016-11-27 00:51:24 +01:00
mrexodia f44c9fa705
DBG+BRIDGE+GUI: basics of type display GUI working 2016-11-26 20:03:37 +01:00
mrexodia 693c22176d
DBG: properly handle arrays in ParseTypes 2016-11-26 12:36:32 +01:00
mrexodia b7ff75abec
DBG: resolved issue #635 #1193 #775 #514 #1273 (cannot get module filename) 2016-11-25 20:44:36 +01:00
mrexodia 688b9fbea5
DBG: full path of debuggee log statement 2016-11-25 19:30:42 +01:00
mrexodia b21672a335
DBG: tr.hitcount alias 2016-11-24 19:41:05 +01:00
mrexodia b89fdcd3c1
DBG+BRIDGE+GUI: make single loops show properly 2016-11-22 21:54:39 +01:00
mrexodia e4efed3eaf
DBG: added loop commands 2016-11-22 21:09:59 +01:00
mrexodia 9d3d77d8fb
DBG: removed useless ParseType error 2016-11-22 21:09:52 +01:00
mrexodia d248d916b7
DBG: (fucking) finally finished layered loop implementation 2016-11-22 21:09:52 +01:00
Torusrxxx ec14fb5813 Show suspected call stack frame, and fix a bug (#1282)
* show suspected call stack frame

* log hyperlink never works on 32-bit platform

* update

* Party in call stack view
2016-11-22 19:03:57 +01:00
mrexodia 1bf7b1298b
PROJECT: updated .gitignore for VS2017 + format btparser 2016-11-22 09:38:31 +01:00
mrexodia eea599b0ac
DBG: very hacky type parser working 2016-11-22 00:10:21 +01:00
mrexodia 943aa09b4f
DBG: added the LoadTypes command 2016-11-21 10:16:54 +01:00
mrexodia 910319a576
DBG: add the ability to load types from a json file. 2016-11-21 10:16:38 +01:00
mrexodia 6856990cc1
DBG: added FileHelper::GetFileName 2016-11-21 10:16:05 +01:00
mrexodia 45ddde5707
DBG: explicitly handle null types in scmp 2016-11-21 09:36:26 +01:00
mrexodia 22bf07bf96
DBG: allow arbitrary pointer depth 2016-11-20 21:42:43 +01:00
mrexodia 54b5347296
DBG: fix unary operators (closes issue #1276) 2016-11-19 20:47:37 +01:00
mrexodia 31e0985713
DBG: fixed compile error on x64 (shit lol) 2016-11-18 17:58:59 +01:00
mrexodia 513b61433b
DBG: don't consider reserved pages as valid in MemFindBaseAddr per default 2016-11-18 17:41:34 +01:00
mrexodia 5441aaf18a
DBG: closes issue #1270 (weird behavior with findall and findmemall) 2016-11-18 17:29:47 +01:00
mrexodia ed20fa8bcd
DBG: show jmp $0 for all types of NOP jumps 2016-11-18 11:31:04 +01:00
mrexodia 5167a040d9
DBG: added dis.isnop and dis.isunusual 2016-11-18 08:30:21 +01:00
mrexodia 58bf10ab41
DBG: removed buggy cache 2016-11-18 08:30:21 +01:00
mrexodia f8ee9aa6df
DBG+GUI: some small fixes 2016-11-18 08:30:20 +01:00
Torusrxxx c1f15b2794 decode function offset in stack (#1243)
* decode function offset in stack

* fix issue 1242

* remove untranslatable thing
2016-11-14 08:25:11 +01:00
mrexodia 80d9db7957
DBG: fixed issue #1237 (wrong analysis of jmp $0) 2016-11-09 22:47:00 +01:00
mrexodia a4419b5457
DBG: CB_ADDRINFO to handle dynamic comments 2016-11-09 22:44:57 +01:00
mrexodia 567d5a8ba4
DBG: dont list autocomments per default 2016-11-09 22:38:54 +01:00
mrexodia 8ef2e4d990
DBG+BRIDGE: resolved issue #1231 (gui not updated) 2016-11-08 08:58:05 +01:00
mrexodia 3a7726015f
DBG: fixed issue with format delimiter 2016-11-07 19:32:38 +01:00
mrexodia a3e097e235
DBG: fixed a bug with breakpoint count not shown 2016-11-05 19:48:21 +01:00
mrexodia 98a009230d
DBG: replaced all 'not enough arguments' (closes #1216) 2016-11-05 05:07:32 +01:00
Nukem e5026590b4 DBG: Capitalize console error/output messages (#1215) 2016-11-05 04:45:39 +01:00
mrexodia b61a681f25
DBG: fixed the ENABLE_MEM_TRACE option 2016-11-05 04:36:33 +01:00
mrexodia 5f6060f9df
DBG: set foreground on cbSystemBreakpoint 2016-11-05 04:36:33 +01:00
torusrxxx 1c1f78fb99 disabled .NET checking for DLL 2016-11-05 11:06:55 +08:00
Torusrxxx da5b38f657 print stack trace (#1210) 2016-11-02 16:38:09 +01:00
mrexodia fa15877303
DBG: allow skipping of INT3 instructions when using run 2016-11-02 01:33:08 +01:00
mrexodia 12fba8887b
DBG: execute trace record on forced CIP change 2016-11-02 01:26:40 +01:00
mrexodia 10f1994bdd
DBG: fixed incorrect variale name for TraceCondition 2016-11-01 14:57:06 +01:00
mrexodia 36cb3b5d9f
DBG: removed useless checks for nullptr before delete 2016-10-31 06:43:57 +01:00
mrexodia 17cbb2bc77
DBG: commands for setting trace log/command 2016-10-31 06:43:57 +01:00
mrexodia 2632a95f03
DBG: advanced conditional tracing with logging and commands 2016-10-31 06:43:57 +01:00
mrexodia 43558700d9
DBG: improved various variable sets with conditional breakpoints 2016-10-31 06:43:57 +01:00
mrexodia d63a39ad80
DBG: better semantics of conditional breakpoint variables 2016-10-31 06:43:56 +01:00
mrexodia 1fdc8c0ebd
DBG: trace refactor to save code duplication 2016-10-31 06:43:56 +01:00
mrexodia d7bc9ceb66
DBG: refactored trace condition in separate TraceState class 2016-10-31 06:43:56 +01:00
mrexodia 70c00cb2bb
DBG: renamed tracing functions for clarity 2016-10-31 06:43:55 +01:00
mrexodia dbc2d54705
DBG: fixed issue #1204 2016-10-30 17:54:39 +01:00
mrexodia 0aa8f50988
GUI: fixed issue #1203 + removed cache 2016-10-30 17:20:20 +01:00
mrexodia 4befc5e4d5
DBG: comments for GuiProcessEvents calls 2016-10-29 18:49:10 +02:00
mrexodia 73c3628d62
DBG: process gui events in the _plugin_waituntilpaused() function to prevent abusers of the GUI thread freezing everything 2016-10-29 18:44:33 +02:00
mrexodia 26959881de
DBG: forgot newline for debug-only commands 2016-10-29 18:43:38 +02:00
mrexodia 96eb2c9022
DBG: removed some useless const 2016-10-29 16:28:12 +02:00
mrexodia a89c65fda7
DBG: simple logging of an instruction 2016-10-29 16:28:03 +02:00
mrexodia c804d267ec
DBG: some more useful expression functions 2016-10-27 17:30:08 +02:00
mrexodia e1fc0926a4
DBG+GUI: FIXEZZ 2016-10-24 23:32:05 +02:00
mrexodia 5795fdc771
DBG: fixed inverted condition when reading global notes 2016-10-24 22:40:00 +02:00
mrexodia e959b42616
DBG: improved split function for commands 2016-10-24 19:30:22 +02:00
Matthijs Lavrijsen f8a1f3f18a Fix VS2015 compilation (#1194)
Add this month's VS db extension to .gitignore
2016-10-24 18:53:13 +02:00
mrexodia 5bbff0242d
DBG: correctly update the side bar 2016-10-24 00:39:45 +02:00
mrexodia 94f03516e6
DBG: fixed some views not being refreshed 2016-10-23 21:06:14 +02:00
mrexodia 5653c1bd55
DBG: always show extended exception information 2016-10-23 16:13:04 +02:00
mrexodia 3512da5c33
DBG: call "exinfo" on exceptions that are not skipped 2016-10-23 14:18:38 +02:00
mrexodia cf9c48b99f
DBG: correctly focus on the disassembly view on Initialize 2016-10-23 14:18:38 +02:00
mrexodia 3951719a12
DBG: don't refresh the GUI unnecessarily 2016-10-22 15:47:35 +02:00
mrexodia f284e6b259
DBG+GUI: allow cbp to be used as register 2016-10-21 16:39:41 +02:00
mrexodia e0d6469dc5
DBG+GUI: maximum trace count option 2016-10-19 13:02:55 +02:00
mrexodia fcf5916250
DBG: fixed various warnings (closes issue #1175) 2016-10-19 12:43:10 +02:00
mrexodia 9138a3410e
BRIDGE+DBG+GUI: basics of analysis plugins 2016-10-18 17:28:08 +02:00
Torusrxxx d0c755e3f8 issue 858 (#1173)
* issue 858

* don't pass selection length to the plugin
2016-10-18 17:26:19 +02:00
mrexodia 27140adfec
DBG: updated keystone 2016-10-18 15:06:06 +02:00
mrexodia 0dc2cde143
DBG+PROJECT: updated capstone_wrapper + added _plugin_hash function 2016-10-18 14:34:51 +02:00
mrexodia a034ddd940
BRIDGE+DBG+GUI: changed BridgeCFGraph to use BridgeCFInstruction instead of flat data 2016-10-18 01:44:11 +02:00
mrexodia 98d04b2a78
DBG+GUI+BRIDGE: allow menu items to be checkable 2016-10-17 17:32:01 +02:00
mrexodia 5a328e8f9d
DBG: const variable instead of #define 2016-10-17 15:11:57 +02:00
mrexodia 5d4dffc6c1
DBG: both newline and auto comments 2016-10-17 14:20:41 +02:00
mrexodia d2f8991805
DBG: slight logic change 2016-10-17 14:13:16 +02:00
Joe Savage 90b74dc764 DBG: add autocomment for call $0 (closes #940) (#1164) 2016-10-17 13:59:14 +02:00
mrexodia 32aa4b0a72
DBG+GUI: improvements to the freeze stack option 2016-10-16 15:24:45 +02:00
mrexodia a3a9dbbbe9
DBG: plugin callback for tracing 2016-10-15 23:26:20 +02:00
mrexodia e7f9fae693
DBG: updated jansson 2016-10-13 22:46:52 +02:00
mrexodia 1df99419c9
restore StackReadProcessMemoryProc64 2016-10-13 20:20:55 +02:00
mrexodia c4587670b3
DBG: use the correct string split on cmddirectexec 2016-10-13 20:15:59 +02:00
mrexodia 94561bb255
DBG: remove CMDRESULT since it's become useless 2016-10-13 17:14:17 +02:00
mrexodia 37ff27c0b4
DBG: allow multiple commands to be executed at once 2016-10-13 17:00:18 +02:00
mrexodia 3e59b6a14e
DBG: rewrote StringUtils::Split for better performance 2016-10-13 16:56:31 +02:00
mrexodia 3da6834e41
DBG: fixed complex expressions in memory assignments (1:[:$C1B91]=90 now works) 2016-10-13 15:51:40 +02:00
mrexodia 18402a4c6b
DBG: workaround for a bug in dbghelp 2016-10-13 14:34:26 +02:00
mrexodia 623d8af93a
DBG: dis.next and dis.prev expression functions 2016-10-13 11:13:47 +02:00
mrexodia 5e720c4ecc
DBG: don't automatically focus on the disassembly when stepping 2016-10-13 11:13:18 +02:00
mrexodia 9d47e9bbbe
DBG: added focusinfo command + moved commands to correct categories 2016-10-13 10:09:48 +02:00
mrexodia caf6b1e1b0
DBG: notice about a crash in taskthread.h 2016-10-13 10:03:33 +02:00
mrexodia d5a621b20c
DBG: improved symcache 2016-10-09 23:40:50 +02:00
Torusrxxx 294a806a31 search for GUID (#1156) 2016-10-09 18:30:37 +02:00
mrexodia 0b4ab9604d
DBG: implemented faster IsJumpGoingToExecute 2016-10-09 16:04:43 +02:00
mrexodia 0210ea5640
DBG: don't create backup file for exports 2016-10-08 01:56:29 +02:00
mrexodia 00eaf4b5aa
DBG: removed debug output 2016-10-08 01:50:55 +02:00
mrexodia f96434355a
DBG: additional behavior for database import/export 2016-10-08 01:42:05 +02:00
mrexodia 2743bb12e0
DBG: don't clear data before loading from JSON 2016-10-08 01:36:26 +02:00
mrexodia 6b6c372340
DBG: removed translation from capstone command 2016-10-06 16:36:14 +02:00
justanotheranonymoususer ca78e9c20c Update _scriptapi_function.cpp (#1147) 2016-10-06 08:21:15 +02:00
Duncan Ogilvie 187250bd98 DBG: Fixed potential ambiguous function definition 2016-10-04 23:50:55 +02:00
mrexodia 43701f57b1
DBG: restored DeleteRange 2016-10-04 22:46:17 +02:00
mrexodia 692f9f5252
DBG: implemented character recognition in auto comments #1145 #1132 2016-10-04 21:36:28 +02:00
Torusrxxx 41ed72d689 fix issue #1141 2016-10-03 13:38:44 +00:00
mrexodia ca2796b487
DBG: re-added sleep command 2016-10-02 22:40:04 +02:00
mrexodia a0512e3f4e
DBG: prefer comments over labels in bookmark list 2016-10-02 16:56:02 +02:00
mrexodia f15f7e2d29
DBG: fixed some code in varlist 2016-10-02 16:12:31 +02:00
mrexodia 2665ba2a4d
DBG: skip callback type if empty 2016-10-02 16:09:12 +02:00
mrexodia fa50db9f6f
DBG: fixed bugs found with Visual Studio static code analysis 2016-10-02 16:09:11 +02:00
Torusrxxx 7edf4616b3 use RIP as default parameter for "imageinfo" (#1137) 2016-10-02 16:07:44 +02:00
Torusrxxx 0751df5a24 use reference view for varlist (#1138) 2016-10-02 16:07:41 +02:00
Atvaark aa99e87477 Add Label/Comment column to Bookmark list (#1136) 2016-10-02 14:33:12 +02:00
Alexandros Naskos 3d1242a315 Added a plugin callback that allows filtering dbghelp exported symbols. (#1135) 2016-10-02 14:32:17 +02:00
RaMMicHaeL b343e1800c For short jumps, reject commands larger than 2 bytes (#1134) 2016-10-02 14:30:16 +02:00
mrexodia 022bceb8f7
DBG: basic of the type system working 2016-10-01 18:50:32 +02:00
mrexodia f542f70b74
DBG: refactor of plugin loader 2016-09-30 19:50:50 +02:00
mrexodia cffb202cbf
DBG: faster disasm instruction 2016-09-30 00:34:38 +02:00
mrexodia eee946237f
DBG: removed strlen, Sleep and GetTickCount commands 2016-09-29 19:15:40 +02:00
mrexodia ce4bf4bf44
DBG: print symbolic name + fixed logic bug in valfromstring_noexpr 2016-09-29 19:15:00 +02:00
mrexodia 830fb5cb99
DBG: don't show CPU on memmapdump 2016-09-29 17:55:10 +02:00
mrexodia c92f5074e1
DBG: fixed SetMemoryBPX command 2016-09-29 13:38:30 +02:00
Torusrxxx 2f8a46841f Allow debugging dotNET applications (#1124) 2016-09-29 13:15:28 +02:00
Torusrxxx 02361f597c Update 2016-09-29 03:30:50 +00:00
Torusrxxx ed2fc683c2 Update cmd-breakpoint-control.cpp 2016-09-29 03:29:36 +00:00
mrexodia 8739e8ae52
DBG+GUI: code improvements 2016-09-28 20:47:29 +02:00
mrexodia aed8b4d259
DBG: renamed cmd-data to cmd-searching 2016-09-27 14:18:50 +02:00
mrexodia 72580be049
DBG: fixed compile error on x32 2016-09-27 03:55:38 +02:00
mrexodia e4f0654326
DBG: moved all commands to separate cpp files 2016-09-27 03:45:28 +02:00
mrexodia 23472fc36f
DBG: removed final traces of x64_dbg 2016-09-27 02:06:07 +02:00
mrexodia 5a1cf5b767
DBG: source files for commands 2016-09-27 01:45:59 +02:00
mrexodia b8c3f51c4d
DBG: moved some commands 2016-09-27 01:39:25 +02:00
mrexodia b6893e0f52
DBG: header move finished 2016-09-27 01:32:07 +02:00
mrexodia e13439fb81
DBG: start of command refactor 2016-09-26 23:56:25 +02:00
mrexodia 144e7b27b6
DBG+GUI: fixed event native event filters for plugins 2016-09-26 15:45:45 +02:00
mrexodia 67447c631a
DBG: fixed typo 2016-09-26 13:58:15 +02:00
Torusrxxx 4a5c69dc40 Remove all breakpoints before detaching;Add warnings when setting new origin or create thread to non-executable memory (403) (#1117) 2016-09-26 13:56:54 +02:00
mrexodia a7421c39f0
DBG: added GetRelocSize command + reorder documented commands 2016-09-25 16:53:39 +02:00
mrexodia 1194f2d353
DBG: added dbclear command 2016-09-25 14:55:20 +02:00
mrexodia 3fcef549a2
DBG: expression functions for reading byte/word/dword/qword/pointer 2016-09-24 13:45:58 +02:00
mrexodia 3ce95cbb04
DBG: better dbload command 2016-09-24 00:46:07 +02:00
mrexodia 9c3c8a3334
DBG+BRIDGE+GUI: implemented more selection queries (graph + memory map + symbol module) 2016-09-21 21:28:37 +02:00
mrexodia a78db8034e
DBG: fixed compile error in yara with pluginsdk 2016-09-21 21:27:46 +02:00
mrexodia 23d83d9c58
DBG: AStyle on plugin_loader 2016-09-19 23:11:35 +02:00
genuine_ 01fc56233f Added capability to dynamically load and unload plugins individually (#1100)
* Adding hot loadable plugins

* squashing bugs

* fixes

* remove unused code

* restore the current directory

* remove unused variables.
2016-09-19 21:33:11 +02:00
mrexodia 63171e77a3
DBG: better structured expressionfunctions 2016-09-12 16:09:32 +02:00
mrexodia d163fc4610
DBG: added various memory related expression functions 2016-09-12 15:59:32 +02:00
mrexodia ead89f85e4
DBG: small change to the findall command to support module search 2016-09-11 20:02:21 +02:00
Torusrxxx e88821d786 fixed crash,more icons for copy menu,changed url for clipboard,add ip address to data copy,auto scroll for log,reordered breakpoints,display 3 tables for breakpoints per default (#1079) 2016-09-11 09:16:53 +02:00
mrexodia 8239c12933
DBG: shit code reduction @x64dbg 2016-09-10 21:25:10 +02:00
mrexodia 3a85ce6e70
DBG: #1064 kinda fixed (module memory map cache problems) 2016-09-10 21:13:28 +02:00
mrexodia fd7190a57d
DBG: fixed typo 2016-09-10 18:24:35 +02:00
Torusrxxx 62a2d16b02 paste script from clipboard (#1078) 2016-09-10 18:24:06 +02:00
mrexodia 626728d08f
GUI: partially reverted performance breaking change 2016-09-10 14:10:48 +02:00
mrexodia be3520f383
DBG: separate directory for memory dumps 2016-09-10 14:00:56 +02:00
mrexodia 67d8b296a4
DBG: fixed warnings and weird strings 2016-09-10 13:48:37 +02:00
mrexodia ddd229302f
DBG: option to not call SetForegroundWindow 2016-09-10 12:40:11 +02:00
Torusrxxx 9288c910cb conditional exception breakpoint (#1073)
* temporary

* Exception breakpoints

* temporary

* temporary

* temporary

* fixes

* fully retire "error"
2016-09-10 07:43:34 +02:00
mrexodia ac0853ffec
DBG: don't attempt to wait when the command failed 2016-09-09 19:38:15 +02:00
mrexodia cb021e420a
DBG: fixed Script DLLs 2016-09-09 18:33:28 +02:00
mrexodia 12cff2b811
GUI: code recuction + intelligent following of addresses 2016-09-09 09:31:29 +02:00
mrexodia d746983ac2
DBG: memmapdump command 2016-09-09 08:50:12 +02:00
mrexodia d533223312
DBG: also show thread id when the thread has a name 2016-09-09 08:49:58 +02:00
mrexodia b1b1e01124
DBG: better initialization messages 2016-09-09 07:33:44 +02:00
mrexodia d1ae94e1c4
DBG: fixed issue #1066 (breakpoint hang) 2016-09-09 06:56:25 +02:00
Torusrxxx 33226fa801 asynchronize initialization script (#1063) 2016-09-08 16:55:05 +02:00
mrexodia 3ec4769040
DBG: use less GetPE32DataW 2016-09-08 13:01:59 +02:00
mrexodia 2281e46588
DBG: thread potentially slow file system operations in dbginit 2016-09-07 15:58:12 +02:00
mrexodia 5ff22566ba
DBG: fixed animation + updated translations 2016-09-07 15:36:13 +02:00
mrexodia 2d50c10dbd
DBG: fixed weird row counts in reference view 2016-09-07 15:36:12 +02:00
mrexodia ac5b76ed44
DBG: dont allow absolute symbols 2016-09-07 15:36:12 +02:00
mrexodia 7daeea750d
DBG: dq alias for DataQword 2016-09-07 13:38:07 +02:00
mrexodia 4f78001ae1
DBG: commands for marking data 2016-09-07 13:06:25 +02:00
mrexodia d4e25474d2
DBG: allow ignoring inconsistent breakpoints #463 2016-09-07 09:08:38 +02:00
mrexodia a7dca613f9
DBG: spam TerminateProcess if the debuggee didn't terminate after 300 ms in StopDebug 2016-09-07 08:53:40 +02:00
mrexodia 7030827067
fs/gs segment support in DbgGetBranchDestination #929 2016-09-07 08:45:14 +02:00
mrexodia b1130e5850
DBG: added dis.issmem expression function 2016-09-07 08:33:37 +02:00
mrexodia e7d09811e5
DBG: initial work for symbol cache 2016-09-07 08:06:27 +02:00
mrexodia 82316efa4e
DBG: one less export from dbghelp 2016-09-07 07:56:14 +02:00
mrexodia 64a10f48b5
DBG: fixed issue #1052 (deadlock on aborting script) 2016-09-07 06:47:53 +02:00
mrexodia afb646140f
DBG: removed potentially dangerous SHARED_RELEASE statements 2016-09-07 06:47:26 +02:00
mrexodia 3165b78af0
DBG: fixed incorrect efree in command 2016-09-07 06:46:58 +02:00
mrexodia b1d55acb9e
DBG+GUI+PROJECT: added asmjit assembler engine 2016-09-07 05:39:18 +02:00
mrexodia 501553b8e6
DBG: reduced code of GetTickCount expression function 2016-09-06 13:19:44 +02:00
mrexodia c143d43269
DBG: performance improvement in ExpressionParser, commands and script 2016-09-06 13:16:42 +02:00
mrexodia 9f17d0aa3b
DBG: huge performance improvement in script runtime 2016-09-06 13:16:41 +02:00
mrexodia a9a8c04218
DBG: forgot LockHistory 2016-09-06 13:16:41 +02:00
mrexodia 3859afb125
DBG: locks in HistoryContext 2016-09-06 13:16:41 +02:00
Torusrxxx 19a3b14e8b GetTickCount (#1050) 2016-09-06 12:19:23 +02:00
mrexodia d97534459f
DBG: possible compile fix for VS2015 2016-09-06 09:16:16 +02:00
mrexodia 267e35ccae
DBG: _dbg_isjumpgoingtoexecute performance improvement 2016-09-06 07:50:49 +02:00
Torusrxxx 4e2636416c DLL breakpoint GUI (#1048)
* New Splitter Widget

* DLL breakpoint interface

* Conditional DLL Breakpoint

* maintain translation file

* Don't animate when it stops

* fixed some issues

* DLL Breakpoint GUI

* DLL Breakpoint GUI

* Fixed DLL Path problem

* When not debugging, the user can use "run" button to restart.

* further fixes
2016-09-06 00:28:25 +02:00
mrexodia 00c25b1b30
DBG: unsafe SymLoadModuleExW to not freeze the GUI while downloading symbols 2016-09-05 01:06:11 +02:00
Torusrxxx d3bb316080 Synchronize branch (#1043)
* New Splitter Widget

* DLL breakpoint interface

* Conditional DLL Breakpoint

* maintain translation file

* Don't animate when it stops

* fixed some issues
2016-09-04 19:33:59 +02:00
mrexodia 184621c1e5
DBG: NTSTATUS codes 2016-09-04 01:08:19 +02:00
mrexodia 08332377db
DBG: fixed log instruction 2016-09-03 17:10:13 +02:00
Torusrxxx cc2875cb3b Add Watch Items to Labels in Sidebar (#1040)
* Add Watch Items to Labels in Sidebar

* fix

* fix
2016-09-03 17:09:09 +02:00
mrexodia 6cd8f5881e
DBG: escape "{" and "}" in auto comments 2016-09-02 19:14:06 +02:00
Torusrxxx 81bc301a79 Add auto-scrolling to tables etc (#1035)
* Add auto-scrolling to tables. Add clear shortcut button. Fix bug with shortcut edit in favourites dialog.

* Add more shortcuts

* GUI for creating thread

* Use thread name in the title bar
2016-09-02 16:47:32 +02:00
mrexodia c671c457a6
DBG: fixed compiler warning 2016-09-02 16:47:03 +02:00
mrexodia e318649fbb
DBG: closed issue #1034 (tiit doesn't work anymore) 2016-09-02 16:45:01 +02:00
mrexodia e2dbccb760
DBG: renamed trace callbacks to something understandable 2016-09-02 16:29:06 +02:00
Torusrxxx 594bda501a Various enhancements to thread management (#1028)
* Use last codepage conveniently

* 1. fix bug: "inc" and "dec" commands have no effect.
2. fix bug: "bswap" command cannot execute when not debugging.
3. fix bug: app crash when displaying a variable smaller than 15.
4. new feature: script timeout
5. new feature: execute script when the debuggee initializes at the system breakpoint.

* Add settings for initialzation script and HelpOnSymbolicNameUrl

* fix

* Don't switch to the same thread

* Allow the user to create a thread. Don't run if there's no active thread.

* fix

* Removed ThreaderIsAnyThreadActive
2016-09-01 19:14:11 +02:00
mrexodia 95b8cc00f2
DBG: moved documented instructions 2016-09-01 14:06:55 +02:00