1
0
Fork 0
Commit Graph

1060 Commits

Author SHA1 Message Date
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
mrexodia 82167887d5
DBG: resolved hang issue with getting handle names 2016-09-01 00:26:32 +02:00
mrexodia 3e8af43bfe
DBG: better expression functions 2016-08-31 17:37:19 +02:00
mrexodia 53d3d40837
DBG: added lots of expression functions 2016-08-31 17:29:28 +02:00
mrexodia e21a2ac12e
DBG: added traceexecute command 2016-08-31 17:20:42 +02:00
Torusrxxx ec43781a10 Execute script automatically on attach or initialize (#1026)
* 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
2016-08-31 16:33:52 +02:00
mrexodia b8ef9d3177
DBG: fixed something weird with 15 2016-08-31 16:09:12 +02:00
mrexodia 4ac867f7de
DBG: slight rewrite for general purpose instructions (closes issue #1025) + fixed crash when displaying values under 15 2016-08-31 15:35:11 +02:00
mrexodia 43d6ad3deb
DBG: don't set the result variable when inputting expressions 2016-08-31 15:32:10 +02:00
mrexodia dc7f20fde4
DBG: added Rol and Ror in ExpressionParser 2016-08-31 15:31:39 +02:00
mrexodia 0899fefe01
DBG: removed single quotes from ExpressionParser 2016-08-31 14:30:11 +02:00
mrexodia 20d19cdb60
DBG: allow quotes in the ExpressionParser 2016-08-30 22:54:36 +02:00
mrexodia 535c84ed3c
DBG: dynamic ":memdump:" option for savedata so scripts can dump memory more easily 2016-08-30 15:36:11 +02:00
mrexodia c02dbf7f73
DBG: commands to change singleshoot flag for breakpoints 2016-08-30 15:36:11 +02:00
mrexodia fd109b8b8f
DBG: added BpSetSingleshoot and fixed possible exceptions with other breakpoint functions 2016-08-30 15:36:11 +02:00
mrexodia b4a005908d
DBG: fixed warning on x64 2016-08-30 15:36:11 +02:00
Torusrxxx 2938fa54c0 Animate into (#1020)
* Translate some strings and export memiscodepage.

* fixed memory leaks in watch view

* warn the user if the breakpoint is not executable

* use dbgfunctions

* remove unused exports

* fix

* fix

* guard translate function with critical section

* DeleteCriticalSection

* Animate Into

* Animate Into

* Animate Into
2016-08-30 12:59:40 +02:00
mrexodia eb2c4ca741
DBG: updated yara to 3.5.0 2016-08-28 12:00:16 +02:00
mrexodia 6cce63f81d
DBG: imageinfo command 2016-08-27 21:40:51 +02:00
Elijah 8cf32e3f26 Improvemets of PEB->CommandLine parsing algorithm (#1005)
* Add some tweaks and improvements to parsing algorithm of command line from PEB

* Remove debug remains

* Check for PE name (with/without extension) is used in path to PE
2016-08-26 17:11:05 +02:00
Torusrxxx c076aa583c Warn the user if the software breakpoint is not executable (#1010)
* Translate some strings and export memiscodepage.

* fixed memory leaks in watch view

* warn the user if the breakpoint is not executable

* use dbgfunctions

* remove unused exports

* fix

* fix
2016-08-26 16:03:08 +02:00
mrexodia 94e157c7dc
DBG+GUI: fixed user experience 2016-08-26 01:36:16 +02:00
mrexodia 71331f9661
DBG: use unsafe memory reading in thread.cpp 2016-08-25 19:57:42 +02:00
Torusrxxx 430746b32e don't halt (#1007) 2016-08-25 16:23:59 +02:00
mrexodia 9ed44d513a
DBG: fixed compile warning + typo 2016-08-25 01:06:31 +02:00
Forsari0 f09586ea18
Use C++ style declaration on wstr_cmd 2016-08-25 01:06:31 +02:00
Forsari0 67cf947fd5
Use strncpy_s with _TRUNCATE flag 2016-08-25 01:06:31 +02:00
Forsari0 0b55e90b27
Add new column in 'Attach' dialog - 'CommandLine arguments', which is show command line arguments taken from target process PEB structure 2016-08-25 01:06:31 +02:00
torusrxxx 2d100b6179 Unified Translation File 2016-08-24 16:52:55 +08:00
torusrxxx 65fd919d08 More fix for #886 2016-08-24 16:18:10 +08:00
torusrxxx 57a3d2e2f7 fix issue #886 2016-08-24 16:09:26 +08:00
torusrxxx a50feb4d33 rewrite general purpose commands 2016-08-23 19:19:58 +08:00
torusrxxx ae32f5dce0 some fixes 2016-08-23 12:35:12 +08:00
torusrxxx cdafdb2b8b restored "fext" sematics 2016-08-23 12:06:30 +08:00
torusrxxx 740684100c Thread Safe 2016-08-23 10:46:25 +08:00
torusrxxx 2324106748 small fixes 2016-08-21 20:28:15 +08:00
torusrxxx 3bab962dbc fine tuning of translations 2016-08-21 17:28:30 +08:00
torusrxxx 7b222f786b removed fhex 2016-08-21 16:10:55 +08:00
torusrxxx 638fca28e4 more strings translated 2016-08-21 15:21:22 +08:00
torusrxxx 3282b0d4ea Translate the DBG (initial work) 2016-08-21 12:49:18 +08:00
torusrxxx 5a04cc70f3 Merge branch 'development' of https://github.com/x64dbg/x64dbg into development 2016-08-20 19:09:27 +08:00
Mr. eXoDia b00b25bcee DBG: allow graph to span over the full module 2016-08-20 06:04:46 +02:00
torusrxxx 35177e8548 thread id functions 2016-08-19 22:42:57 +08:00
Mr. eXoDia 582ec7a77a DBG: small fix for modules without extension 2016-08-17 21:21:19 +02:00
Mr. eXoDia 2d609acafc DBG: fixed a CRT crash with certain module names 2016-08-17 18:17:54 +02:00
Mr. eXoDia e47482dec8 allow user to change thread name #980 2016-08-17 16:41:02 +02:00
CryptXor e6b831e631 Minor fixes (#977)
Minor fixes to jit.h and taskthread.h, as well as an additional entry to .gitignore
2016-08-13 21:25:59 +02:00
Mr. eXoDia 2b10380668 DBG: added run/step commands that swallow the exception 2016-08-05 18:38:15 +02:00
Torusrxxx 1a10ded9a3 prototype of #890 (preview call or jump destination) (#910)
* prototype of #890 (preview call or jump destination

* resolve issue with call dword ptr ds:[MessageBoxA]

* tidy up headers

* hide tooltip when mouse is outside disassembly view
2016-08-04 13:16:52 +02:00
Mr. eXoDia b05a1422b3 DBG+GUI: removed strong language (#211) 2016-07-31 17:59:49 +02:00
Mr. eXoDia e50498956f Merge branch 'development' of https://github.com/torusrxxx/x64dbg into torusrxxx-development 2016-07-31 16:47:11 +02:00
torusrxxx d40897b9f7 fix plugin pause callback 2016-07-31 12:44:40 +08:00
Mr. eXoDia eb8d2ab929 DBG: possibly resolved issue #903 (symbol enum memory leak) 2016-07-30 21:02:44 +02:00
torusrxxx fe77076bc0 push and pop actions 2016-07-30 22:40:28 +08:00
Mr. eXoDia 238e56ead5 DBG: various fixes with the callstack 2016-07-29 20:07:12 +02:00
Mr. eXoDia 34dbdf35d5 DBG: added bswap expression function 2016-07-29 17:47:52 +02:00
Torusrxxx e9fba6c9fe fix app crash (#896) 2016-07-28 12:42:10 +02:00
Torusrxxx 97e99ce7f7 more functions&commands to enable/disable log,add favourite tools and fold disassembly for plugins&scripts. (#895) 2016-07-28 09:36:41 +02:00
Mr. eXoDia 6e61cf5452 DBG+GUI: resolved issue #893 + updated Translations 2016-07-27 23:05:15 +02:00
Mr. eXoDia a0b532baa2 DBG: dont save database when there is nothing inside 2016-07-27 22:04:46 +02:00
Mr. eXoDia 82347cd094 DBG+GUI: added cocksucker option (issue #211, shit) 2016-07-27 22:04:10 +02:00
mrexodia fc6a125810
DBG+GUI: misc changes 2016-07-25 23:42:15 +02:00
mrexodia 57b8c59aa9
Merge branch 'patch00000007' of https://github.com/torusrxxx/x64dbg into torusrxxx-patch00000007 2016-07-25 23:28:51 +02:00
mrexodia 31e53073f0
DBG+GUI: fixed yara reference logic 2016-07-25 23:27:21 +02:00
torusrxxx bd8ac511d5 CPU Time in threads view 2016-07-25 21:25:46 +08:00
torusrxxx 886511fdcd misc improvments 2016-07-25 18:36:06 +08:00
mrexodia c6bf7b6570
DBG: fixed issue #881 (ordinals can now only be hex/dec no registers) 2016-07-23 19:42:52 +02:00
Torusrxxx cc353daafe languages menu (#878) 2016-07-23 12:13:10 +02:00
justin 6eb93678de
Modifications to breakpoint properties now update the breakpoint UI explicitly. Relevant for plugins, command line BP calls 2016-07-22 19:50:09 +02:00
mrexodia e2b4aa1927
Removed extraneous assert 2016-07-22 19:50:09 +02:00
mrexodia 47f044eeb1
DBG: fixes in RecursiveAnalysis 2016-07-21 03:00:02 +02:00
mrexodia b0aba0be5c
DBG+BRIDGE+GUI: don't reload graph when graphing inside currently-browsed function 2016-07-21 02:53:41 +02:00
mrexodia 2d9329238a
DBG: AStyle debugger.cpp 2016-07-20 12:07:41 +02:00
mrexodia cb1f722c4c
PROJECT: fixed build errors in debug mode 2016-07-20 11:47:00 +02:00
mrexodia d584ba10a5
DBG+GUI: small changes to stringformat 2016-07-20 11:47:00 +02:00
Torusrxxx bc1ca1f3c6 fix wrong behaviour with prefixed retn (#869) 2016-07-19 22:09:47 +02:00
mrexodia 2f16292a5f
BRIDGE+DBG: small fixes in pluginsdk 2016-07-18 23:21:26 +02:00
Torusrxxx 2cac1af5de use MenuBuilder in CPUDump (#865)
* use MenuBuilder

* fix error #866 and clean up unused members of CPUDump
2016-07-18 15:31:46 +02:00
Mr. eXoDia cff67aa8ff Merge branch 'graph' into development
# Conflicts:
#	src/gui/resource.qrc
2016-07-17 23:23:22 +02:00
Torusrxxx 69580f1cc2 fix issue #851 (#863) 2016-07-17 16:32:56 +02:00
Duncan Ogilvie 8c1981361a Revert "Added ability to roughly measure UI latency; code to try and maintain that latency at <50ms" (#859) 2016-07-17 14:42:23 +02:00
Mr. eXoDia 2361077011 GUI: RichTextPainter in graph 2016-07-17 14:33:22 +02:00
jdavidberger 85e147a6ab Added ability to roughly measure UI latency; code to try and maintain that latency at <50ms (#834)
* Removed extraneous assert

* Added additional protection to prevent the QT message queue from getting too far behind

* Fixed #503 sorting on thread id, number

* Added the ability to multi-select in symbols view so you can set all breakpoints that match a search

* Added command history from #839

* Modifications to breakpoint properties now update the breakpoint UI explicitly. Relevant for plugins, command line BP calls

* Fixed display issue when selecting more than one page on CPU page

* Fixed issue where last sent debug state was occasionally wrong. This required making all async entries into GuiSetDebugState run on the same thread; so it should have marginal performance gains too.

* Modified getdbgevents to be a 64 bit counter which doesn't reset. Adjusted TimeWastedCounter to match; added two optional modes

* Previous edit to log view broke it -- if you clicked on the screen, text would insert there. movecursor is needed on both sides

* Made it possible to select multiple modules and search them all at once.
2016-07-17 12:55:19 +02:00
bloodwrath c32eefa4dd Issue #852 add bswap command (#856)
* defined 'bswap' command as cbInstrBswap.  seems to work when the dest var is a register or user-defined var.  address args fail.

* rewrote bswap to use StringUtils::sprintf formatting.

* removed debug prints from byteswap func.  added error message when parsed arg isn't a variable.

* formatted.
2016-07-17 12:53:15 +02:00
Mr. eXoDia e24d8c21a3 DBG: various fixes in RecursiveAnalysis 2016-07-17 01:24:05 +02:00
Mr. eXoDia 79cdced6fe DBG: added aliases in expressionfunctions + implemented gui selection functions 2016-07-17 01:19:09 +02:00
Mr. eXoDia 9c008f088c DBG: graph command 2016-07-16 19:41:02 +02:00
Mr. eXoDia dfd8909f73 DBG: GetFunctionGraph in RecursiveAnalysis 2016-07-16 19:40:32 +02:00
Torusrxxx e2074e1e77 fix issue #835 (#848) 2016-07-15 11:27:54 +02:00
mrexodia 6c9c744ba2
DBG: resolved issue #841 (fixed inter modular calls) 2016-07-13 11:07:47 +02:00
mrexodia cdd3194d43
DBG: resolved issue #841 (fixed inter modular calls) 2016-07-13 08:51:55 +02:00
mrexodia 1c09f5ff01
DBG: use BridgeCFGraph in RecursiveAnalysis 2016-07-12 07:49:29 +02:00
mrexodia 0c8d69e493
DBG: speed up with waiting for threads to close 2016-07-12 07:47:25 +02:00
mrexodia ace432accc
DBG: resolved issue #171 (auto-update dump) 2016-07-12 05:08:09 +02:00
mrexodia fdcc3a8236
DBG: improved RecursiveAnalysis 2016-07-12 04:43:54 +02:00
mrexodia bf4856e4ec
DBG: fixed memory map refreshing (#836) 2016-07-12 02:23:09 +02:00
mrexodia b9d7c865ec
DBG: slight refactor of cbGenericBreakpoint + fixed duplicate log message 2016-07-10 18:48:46 +02:00
mrexodia fdf3ec8b8d
Merge branch 'development' of https://github.com/jdavidberger/x64dbg into jdavidberger-development
# Conflicts:
#	src/dbg/_plugins.h
#	src/dbg/expressionfunctions.cpp
#	src/dbg/expressionfunctions.h
#	src/dbg/plugin_loader.cpp
#	src/dbg/plugin_loader.h
2016-07-10 13:04:42 +02:00
mrexodia f768f5cbf3
DBG: userdata in _plugin_registerexprfunction 2016-07-10 11:49:09 +02:00
justin c3f03b6675 Added support for passing user data with expression functions 2016-07-09 15:56:39 -06:00
justin 1d11564437 More modifications to seperate out debug/release modes 2016-07-09 10:40:07 -06:00