Commit Graph

1545 Commits

Author SHA1 Message Date
karliss
b173d05865
Limit amount of JSON dumped in case of error. (#2081) 2020-03-04 09:39:52 +02:00
Florian Märkl
b3f2c9c6c3
Fix deprecated QString usage on empty relro info (#2075) 2020-02-28 13:40:51 +01:00
Itay Cohen
7008d4e9b9
Refactor hashes in dashboard to support newly added hashes (#2067)
* Fix regression of API to get all hashes
* Refactor hashes and entropy in Dashboard
* Update radare2 submoudle
2020-02-28 10:48:30 +02:00
Itay Cohen
c93681649b
Change column oreder in xrefs (#2068) 2020-02-28 10:37:07 +02:00
Florian Märkl
e38ff14bac
Add -B option for Base Address (#2074) 2020-02-27 20:12:49 +01:00
Itay Cohen
dd7e01be3a
Show realname on disassembly context menu (#2049)
* Show realname on disassembly context menu
2020-02-15 19:31:11 +02:00
Itay Cohen
9b7e3a3a30
Fix typo "Adanced" -> "Advanced" (#2060) 2020-02-15 10:46:19 +02:00
yossizap
eb88c8b21a
Add AddressableItemContextMenu bindings (#2054) 2020-02-06 18:32:15 +01:00
karliss
5af4dce7f6
Fix crash when opening theme editing window. (#2050) 2020-02-04 11:02:34 +02:00
Itay Cohen
37544b45d5
Don't set comments to vertical when resizing (#2045) 2020-02-01 16:54:36 +01:00
Itay Cohen
cf65c0304a
Fix themes in welcome dialog (#2043) 2020-02-01 15:06:45 +02:00
Florian Märkl
857ca7fa8d
Version 1.10.1 (#2041) 2020-01-31 19:04:11 +01:00
karliss
1ae78655fa
Simplify and move Plugin context menu gui code out of core. (#2039) 2020-01-31 11:13:28 +01:00
yossizap
a1b5a41e56
Register refs widget improvements (#2038)
* Move register refs to the new telescoping function and add an addressable context menu
2020-01-30 19:40:27 +02:00
yossizap
969ce5ac30
Make breakpoints available outside of debug (#2027)
* Make breakpoints available outside of debug
2020-01-29 18:58:05 +02:00
Hye Sung Jung
57b5879593 fix spelling errors (#2036) 2020-01-28 10:02:17 +02:00
karliss
63ae6e665e
Make user plugin path in settings a link. (#2034)
Closes #1793
2020-01-25 21:26:41 +02:00
Itay Cohen
8266cd074f
Add realname and libname to Flags and Imports widgets (#2024)
* Add realname and libname to flags and imports
2020-01-25 09:18:53 +02:00
Florian Märkl
7b83bbf07b
Bundle r2dec into macOS Builds (#2033) 2020-01-24 21:15:34 +01:00
Florian Märkl
14f830dd81
Bundle r2dec into AppImage (#2023) 2020-01-24 12:18:18 +01:00
Itay Cohen
d88bb43d22
Add virtual-size to section widget (#2030)
* Add virtual-size to table
2020-01-24 13:16:40 +02:00
yossizap
409102afa7 Add api for context menu extensions (#2029) 2020-01-24 10:49:52 +01:00
Itay Cohen
e3f7036de7
Improve default line-width values on graph (#2026) 2020-01-23 13:09:47 +02:00
Paul I
27449af445 Fix potential nullptr dereference (#2028) 2020-01-23 01:07:41 +02:00
Itay Cohen
c7d66cec06
If available, set r2ghidra the default decompiler (#2007)
* If available, set r2ghidra the default decompiler
* Honor user preferences
2020-01-21 18:43:30 +02:00
Itay Cohen
1c39aa6d41 Add asm.flags.real to preferences and enable by default (#2014) 2020-01-21 11:00:38 +01:00
karliss
e0c80182dd
Improve flag and string widget performance (#2021)
* Deffer vtable refresh.
* Use uniformRowHeight mode
* Adjust StringsWidget column resizing mode.
2020-01-20 20:36:32 +02:00
Florian Märkl
a9ed742cad
Update radare2 and fix Cutter for it (#2017) 2020-01-15 20:19:24 +01:00
Itay Cohen
3eeb631c68
Add sha256 and crc32 to the hexdump widget (#2006)
* Add SHA256 and CRC32 to hexdump widget
* Fix layout
* Add copied-to-clipboard messages
2020-01-13 21:48:43 +02:00
karliss
b3776a6b73
Set zoom factor when opening appearance settings. (#2003) 2020-01-11 00:02:28 +02:00
yossizap
830e9cd947 Add a custom telescoping function and improve StackWidget's output (#1990)
* Add a custom telescoping function and improve StackWidget's output

* Use colors from the color configuration for stackswidget

* Improve telescoping output
2020-01-10 22:46:49 +02:00
karliss
c645cbee01
Refresh monospace font after it gets reset by style or font change. (#2002) 2020-01-08 00:03:25 +02:00
xarkes
2850a61086 Added translations target languages (#1988) 2020-01-05 12:53:40 +02:00
ps
692346f08b src/CutterApplication.cpp: Fix Typo (#1987) 2020-01-04 21:22:41 +02:00
Itay Cohen
653cefc2b1
set Style tab to default view (#1986) 2020-01-04 20:43:05 +02:00
karliss
90c7bfab1e
Breakpoint editor dialog (#1975)
* Add breakpoint dialog for editing breakpoint properties
* Allow editing breakpoint using context menu from breakpointWidget and disassembly menu.
2020-01-04 20:05:49 +02:00
int_13h
32be76fabc multiple instructions can be patched now (#1984) 2020-01-02 10:07:10 +02:00
int_13h
7fdd8117a9 added a ';' delimiter and responsive dialog box (#1983) 2020-01-02 10:03:04 +02:00
int_13h
12c1d2c5ab Show multiple instructions in edit->bytes dialog
closes #1940
2020-01-01 15:39:27 +02:00
yossizap
7e6a8ae17a Fix debug not working with paths that have a space in them (#1978)
* Fix debug not working with paths that have a space in them
* Updated r2 for spaced paths fix and other debug fixes
2019-12-30 17:00:54 +02:00
karliss
46ba0dc20a
Add more breakpoint editing options (#1967)
* Convert breakpoint widget to AddressableItemWidget
* When selecting multiple breakpoints and pressing delete key delete all of them
* Allow toggling breakpoint trace and active properties by doublicking them in table
2019-12-26 22:51:55 +02:00
karliss
550d079f14
Improve graph HighDPI scaling (#1963) 2019-12-22 20:56:33 +02:00
Florian Märkl
c0d4fda0c7
Version 1.10.0 (#1954) 2019-12-20 18:13:31 +01:00
yossizap
45f7c78726 Moved the debug exit dialog to DebugActions
Qt may crash or freeze if a window is created outside of the main loop
2019-12-20 18:03:39 +01:00
yossizap
f5cd754a0d Use events to notify the user about the debugee's death 2019-12-20 18:03:39 +01:00
yossizap
3be0472837 Fix remote debug crash after the first session 2019-12-20 18:03:39 +01:00
yossizap
96baaeada6 Prevent the update of some widgets while debug task is in progress to avoid freezing 2019-12-20 18:03:39 +01:00
yossizap
2fb59b26ad Switch to registerChanged from seekChanged where possible
Some widgets would constantly refresh when moving around, making the
interface very laggy
2019-12-20 18:03:39 +01:00
karliss
0b849bc05e When using add breakpoint button add it not toggle. (#1953) 2019-12-20 18:02:27 +01:00
karliss
faf6959278 Workaround for new debug widgets being opened in normal mode. (#1950) 2019-12-20 08:19:44 +02:00
karliss
05acb30076
Show debug widget menu under Debug. (#1949) 2019-12-19 20:03:44 +02:00
Itay Cohen
4e84d1b502 Highlight Breakpoints and PC in decompiler (#1948) 2019-12-19 18:58:30 +01:00
Florian Märkl
58b44893f9
Add -F command line option to specify Format (#1946) 2019-12-19 13:59:15 +01:00
Properrr
78c6e651c8 Define string of length N in address (#1915)
* Implemented "setString" submenu for the Disasm widget
2019-12-18 16:26:51 +02:00
Florian Märkl
8f480d9c2c
Fix Segfault on Quit after Debug/Emulation (#1943) 2019-12-18 14:56:57 +01:00
Florian Märkl
fd98694c9a Fix automatic function naming (#1942) 2019-12-18 15:20:33 +02:00
karliss
6b2433e986 Increase input field size when resizing NativeDebugDialog. (#1930) 2019-12-16 00:16:11 +02:00
yossizap
64371bb07a Fix formatBytecount's sizes (#1928)
This caused a crash (ref #1925) when seek was set to UT64_MAX.
2019-12-15 09:44:43 +02:00
yossizap
59af77fb72 Separate the search widget's boundaries for debug and non-debug modes
Previously, you could search in spaces that weren't available in debug
mode and freeze Cutter. That also meant most existing searches would freeze
Cutter when debug started.
2019-12-14 16:44:57 +02:00
yossizap
17d5ae0cfd Replace changeDebugView and changeDefinedView with toggleDebugView 2019-12-14 16:44:57 +02:00
yossizap
2f6e4b183e Removed disabling of startEmul to show the restart debug option when emulating 2019-12-14 16:44:57 +02:00
yossizap
77081526b2 Add startRemote to the debug dropdown menu 2019-12-14 16:44:57 +02:00
yossizap
d60f9aa52a Updated r2 for 'doc' and 'oo' reloc fixes and integrated 'doc' 2019-12-14 16:44:57 +02:00
yossizap
a8bc37f0de Add a signal for widget rebasing and switch to oodf for remote debug rebasing (#1913)
* Add codeRebased to sync widgets after debug starts
* Switch attachDebug to oodf to enable rebasing
2019-12-14 16:44:57 +02:00
yossizap
519cd5dabd Add debug dialogs (#1903) 2019-12-14 16:44:57 +02:00
yossizap
ef97c84351 Add processes widget for kernel and child debugging (#1894)
* Update r2 for dp fixes and general debug fixes

* Added ProcessesWidget for kernel debugging and switching between children

* Update r2 for dpl fixes

* Update r2 for linux and gdbserver dp/dp= fixes

* Added switchedThread and switchedProcess events to refresh their widgets

Seek doesn't always change after switching if the other process is at
the same offset in the same binary so it's better to have another event
for it.

* Disable threads/processes widget during a debugtask/when not debugging and clear it's history after a session

* Improve Processes Widget's UI

- Remove vertical numbers
- Highlight the current process with bold instead of using the "current"
  column

* Updated r2 for fork fixes
2019-12-14 16:44:57 +02:00
itayc0hen
4d306616f9 Use proper docstrings 2019-12-14 16:44:57 +02:00
itayc0hen
272cf68818 Remove metadata from inkscape icons 2019-12-14 16:44:57 +02:00
itayc0hen
52f9a57c04 Remove auto scroll from registerRefs widget 2019-12-14 16:44:57 +02:00
itayc0hen
e54ab621fc Support multi-theme icons on debug 2019-12-14 16:44:57 +02:00
itayc0hen
a75533c3ae Improve debug icons 2019-12-14 16:44:57 +02:00
itayc0hen
bb4a82a352 Show icon in menus 2019-12-14 16:44:57 +02:00
itayc0hen
d197339665 Use uppercase for program counter name 2019-12-14 16:44:57 +02:00
itayc0hen
c15cac1cba Make labels selectable by mouse 2019-12-14 16:44:57 +02:00
itayc0hen
88afd22af8 Disable auto scroll in stack widget 2019-12-14 16:44:57 +02:00
itayc0hen
0eb5753758 Rename backtrace func name column 2019-12-14 16:44:57 +02:00
itayc0hen
a02753f866 Auto-select text in EditInstructionDialog 2019-12-14 16:44:57 +02:00
itayc0hen
035aa52cca Improve RegistersWidget grid UI 2019-12-14 16:44:57 +02:00
itayc0hen
489b89dc7c Improve stack widget ui 2019-12-14 16:44:57 +02:00
itayc0hen
ccd8e86052 Remove column of active thread in ThreadsWidget 2019-12-14 16:44:57 +02:00
itayc0hen
44e68146db Remove vertical numbers in debug widgets 2019-12-14 16:44:57 +02:00
itayc0hen
a63c3401b6 Change label to suspend process 2019-12-14 16:44:57 +02:00
yossizap
f284f9d209 Stdin redirection for locally debugged processes (#1892) 2019-12-14 16:44:57 +02:00
yossizap
49d58b3624 gdbserver and windbg remote debugging support (#1874)
* Added remote debugging
2019-12-14 16:44:57 +02:00
yossizap
c85e1db3b3 Detach Cutter interface from debug command execution (#1857) 2019-12-14 16:44:57 +02:00
yossizap
a3e140bf4d ThreadsWidget and r2 debugging fixes (#1846)
* Added wrappers for dpt and dpt=

* Added ThreadsWidget used for thread monitoring during debugging

* Updated r2 for dpt, dpt= and drrj fixes

* Convert r2's pid status letters to more informative strings

* Replaced cmdj with cmd and ensure the thread's data is synced

* Moved viewThreas to threadsWidget.ui, switched from onDoubleClick to Activated and added a column cleanup

* Add old row cleanup to BacktraceWidget

* Clean up

* Added sorting and filters

* Modified ThreadsWidget for Qt5.3 compatibility
2019-12-14 16:44:57 +02:00
xarkes
c3ce953134 Fixed include 2019-12-14 16:44:57 +02:00
mandlebro
9e9ad353c6 Look for sym.main instead of main 'cause latter is not rebasing in PIEs 2019-12-14 16:44:57 +02:00
mandlebro
9970028914 Fix PIE debug 2019-12-14 16:44:57 +02:00
mandlebro
b0effdf94f Hides the ContinueUntilMain button if there is no flag called main 2019-12-14 16:44:57 +02:00
mandlebro
75ae47dbcb Fixes issues with reset layout in debug mode 2019-12-14 16:44:57 +02:00
mandlebro
721870ac0e Fix emulation not working after a debugging session 2019-12-14 16:44:57 +02:00
mandlebro
f627b1306b Reenable debugging/attaching 2019-12-14 16:44:57 +02:00
Itay Cohen
7a34cf2024
Improve seek backward and outside of function in Decompiler widget (#1916)
* Improve seek backward and outside of function
* Improve seekToReference
2019-12-14 14:57:36 +02:00
Itay Cohen
108fff8925
Fix 1756: Disable seek when selecting text on Decompiler Widget (#1917) 2019-12-14 12:42:24 +02:00
Properrr
3700bc63f5 Pressing Enter in disassembly will jump to the desired location (#1910)
* Implemented processing of 'Return' key in the disassembly widget
* renamed method in the DisasmWidget
2019-12-12 11:52:42 +02:00
karliss
55017f6ba0 Replace hardcoded system plugin directories with list from Qt. (#1814) 2019-12-12 08:35:25 +01:00
karliss
c255fd1cfd Add menus to seek backward and forward buttons. (#1889) 2019-12-10 08:34:21 +01:00
Itay Cohen
a50a8939ef Adding Adikso's Midnight Theme (#1895) 2019-12-08 10:57:42 +01:00
xarkes
9929694314
Added a temporary fix to allow backslashes names (#1899) 2019-12-08 08:08:44 +01:00