1
0
Fork 0
Commit Graph

36 Commits

Author SHA1 Message Date
torusrxxx 11c8f7e02a
Fix GUI exceptions with massive traceexecute 2021-01-08 22:28:59 +08:00
Torusrxxx 6043dcf5a6
Allow stopping run trace when not debugging (#2326) 2020-05-15 12:31:12 +00:00
Duncan Ogilvie 728f0eaa8d
DBG: fix various issues pointed out by Visual Studio code analysis 2019-06-19 00:12:31 +02:00
Bálint Faragó c7107374d2 DBG: remove capstone references 2018-11-04 23:14:04 +01:00
Duncan Ogilvie 25a67b778e DBG: fix buffer overflow and assert when tracing fxsave or invalid instructions 2018-10-10 15:44:37 +02:00
torusrxxx d4ec06f6de Fixed a crash when tracing into far jump 2018-08-21 17:04:36 +02:00
Duncan Ogilvie db17e323fe
DBG: more message fixes 2018-06-03 17:47:01 +02:00
Duncan Ogilvie 01960c556b fix some whitespace in strings 2018-06-03 17:43:30 +02:00
torusrxxx 1cd3cfc469 fix mistakes 2018-06-03 17:43:30 +02:00
torusrxxx 4cf5508b5f add error descriptions to x64dbg failure messages 2018-06-03 17:43:30 +02:00
Duncan Ogilvie f8e4ed4f1f
DBG: fix bug with operand size in TraceRecord 2018-03-04 23:00:13 +01:00
Duncan Ogilvie 55d99b5647
DBG+GUI: replace Capstone with Zydis in trace record 2018-03-04 22:32:08 +01:00
Duncan Ogilvie 2f26a80b78
DBG+BRIDGE+GUI: deprecate DbgGetRegDump 2017-10-29 02:18:06 +02:00
Torusrxxx 390bf4c5ca Trace recording (#1736)
* run trace file format
* record opcode
* Successfully recorded sample run trace
* fixed order of thread id and opcode
* use capstone in run trace
* Revised format;Stop tracing when stop debug;Changed ext name
* trace browser(draft)
* Lower bound
* Lower bound
* implemented more funcitons in trace file reader
* Initial trace browser
* trace browser works for single-page traces
* fixed page fault
* Multi-selection, fixed page faults
* copy disassembly
* resize columns
* address label;follow in disassembly
* highlight
* history,comment,breakpoint in trace view
* stricter validation to prevent buffer overflow
* MAX_MEMORY_OPERANDS=32
* fixing bug in memory access count
* Temporary info menu to view registers & memory
* assumed to fix thread id bug
* live update trace view
* Fixed a bug with registers recording (similar to thread id bug)
* Search for constant in trace file
* Fixed bugs with memory operands recording
* File header for trace file; Auto update trace viewer
* fix x64dbg_translations.pro
* Default filename for trace; Start trace from trace view
* Switch to Qt JSON
* Copy selection, file offset and RVA; recent files
* Properly implement MRU menu
* shortcut for tracing
* Fix file names with comma
* added interaction with tab closing
* change default directory for trace file
* fix minor issue
2017-10-16 20:00:26 +02:00
Joel Höner af0ff55df3 zydis_wrapper: Better compliance with style-guide
- Removed underscores
- Removed redundant “zy” prefix
- Executed `AStyleWhore` (sorreh, I use git on my macOS host, can’t put it into pre-commit-hook)
2017-10-09 10:02:13 +02:00
Joel Höner 4c841d85c6 Renamed `Capstone` -> `Zydis`
- Prevents name clashes with actual capstone disassembler implementation
2017-10-09 10:02:13 +02:00
Joel Höner 5338a0a85b Replace Capstone with Zydis
- While at it, added branch info logic to disassembler class
  - Thus reduce direct checks by mnemonic in GUI and analysis code
- Replaced direct disassembler struct access with disassembler class calls where trivially possible
- Removed workarounds for empty segment registers
- Temp. disabled `cbInstrCapstone` command
- Temp. disabled flag stuff in `QBeaEngine`
2017-10-09 10:02:13 +02:00
Matthijs Lavrijsen 033a495925 Initial support for compiling with Clang/C2 from VS2017 (Clang 3.8+) (#1498) 2017-03-16 03:13:04 +01:00
mrexodia a3a9dbbbe9
DBG: plugin callback for tracing 2016-10-15 23:26:20 +02:00
mrexodia 2743bb12e0
DBG: don't clear data before loading from JSON 2016-10-08 01:36:26 +02:00
mrexodia 8739e8ae52
DBG+GUI: code improvements 2016-09-28 20:47:29 +02:00
mrexodia e4f0654326
DBG: moved all commands to separate cpp files 2016-09-27 03:45:28 +02:00
Torusrxxx 69580f1cc2 fix issue #851 (#863) 2016-07-17 16:32:56 +02:00
mrexodia fc143a165a
DBG: compressed hex in TraceRecord (6mb -> 34kb for ntdll TraceRecord) 2016-06-24 08:41:33 +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
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 1a13962806
PROJECT: fixed various bugs (thanks to Coverity!) 2016-06-02 11:22:47 +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 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 acfc82630d DBG: Fixed crashing 2016-05-25 14:06:22 +00:00
Torusrxxx 8e39780f2b Trace record
#654
2016-05-25 11:26:24 +00:00