Commit Graph

1596 Commits

Author SHA1 Message Date
karliss
1aad797722
Update version number 1.10.3-pre2 -> 1.10.3 (#2185) 2020-05-08 19:51:36 +03:00
karliss
cd85582164
Don't do e- when resetting settings. (#2180) 2020-05-07 12:05:09 +02:00
Florian Märkl
fab5f901f9
Fix Sample C++ Plugin (#2182) 2020-05-07 11:32:21 +02:00
Itay Cohen
fe96ee1b51
Recreate hashes widgets when refreshing (#2181) 2020-05-06 20:21:51 +03:00
karliss
ca7b3a623d
Detect when native theme's darkness doesn't match color theme. (#2176) 2020-05-04 12:49:40 +03:00
karliss
f65f5cab4b
Notify about seek change when using seek(QString). (#2175) 2020-05-02 19:10:02 +03:00
karliss
6135fc7024
Add option for not loading plugins (#2160)
* Separate commandline parsing from rest of logic.
* Add options for not loading plugins.
2020-04-21 00:22:10 +03:00
karliss
aa8ecee8e2
Use drrj to read values for RegistersWidget. (#2141)
* Avoids problem with 64bit value as number in json
* Keeps registers in the order reported by r2
2020-04-17 16:01:05 +03:00
karliss
b69dff0fcd
Add commandline option for disabling stdout redirection (#2144)
* Add option for disabling stdout and stderr redirection.
* Add command line option description to documentation.
2020-04-17 15:02:44 +03:00
karliss
4d2ef58e6a
Fix errors reported by UB sanitizer (#2150)
* Use qt parent for deleting completer

Manually deleting causes some UAF due to it being installed as event
filter.
Qt seems to destroy things in correct order. Sanitizer doesn't report
completer as being leaked.

* Fix sanitizer problems in HexWidget

* Initialize size properties to somewhat sane values to avoid
unrealized variable use when calculating them first time.
* Change AbstractData interface. Old one returned pointer to unknown
sized block of data which was difficult to use correctly. Adjust bound
checking to avoid out of bounds access when comparing with oldData and
scrolling.
2020-04-16 20:32:24 +03:00
karliss
ccb53fedbf
Use r2 c api for reading comments. (#2154)
C api allows specifying address directly thus avoiding unnecesarry reads
caused by seek(rb=true).
2020-04-16 20:31:15 +03:00
Itay Cohen
a4cf66d13c
Resource names are strings (#2151) 2020-04-15 19:20:57 +03:00
karliss
56543fa0c7
Fix memory leak in listFlagsAsStringsAt. (#2145) 2020-04-14 10:58:25 +03:00
Itay Cohen
b7d0c8531b
Slight improvements to light theme (#2137) 2020-04-12 09:38:46 +03:00
karliss
80c2128039
Change include order to prevent warning from GNUInstallDirs (#2132)
CMake >= 3.17 warns that GNUInstallDirs might not work correctly if
included before some target details are known.
closes #2122
2020-04-08 16:45:13 +03:00
itayc0hen
f789337f45 Rename OpenFileDialog to MapFileDialog 2020-04-08 00:10:31 +03:00
itayc0hen
e7691eb956 Rename "Open" to "Map File" and "New" to "New Window" 2020-04-08 00:10:31 +03:00
karliss
0753147930
Update cutter-deps to include qt 5.14.2 (#1868)
* Use the qt from cutter-deps on windows.
* Adjust shiboken lib name to match cutter-deps
2020-04-07 23:24:25 +03:00
karliss
55d4ee3ce4
By default search r2 in /usr/local used by sys/install.sh. (#2128) 2020-04-07 12:39:15 +03:00
Dhaval Purohit
7110d73979
Add tooltip for displaying flag and comment in hexdump (#1471) (#2116)
* Add tooltip for displaying flag and comment in hexdump (#1471)


Co-authored-by: Itay Cohen <itaycohen23@gmail.com>
Co-authored-by: karliss <karlis3p70l1ij@gmail.com>
2020-04-04 10:09:30 +03:00
NIRMAL MANOJ C
b06a6d0da8
Added function to load cutterrc from all standard paths along with home (#2109)
* added function to load cutterrc from all standard paths along with home
2020-03-26 15:07:33 +02:00
itayc0hen
5d02449094 Use cmdRaw and cmdRawAt in Cutter.cpp 2020-03-25 19:12:18 +02:00
itayc0hen
281e75389f Use cmdRaw and cmdRawAt in MainWindow 2020-03-25 19:12:18 +02:00
itayc0hen
638c838e6f Use cmdRaw and cmdRawAt in TypesWidget 2020-03-25 19:12:18 +02:00
itayc0hen
1849568c5f Use cmdRaw and cmdRawAt in HexdumpWidget 2020-03-25 19:12:18 +02:00
itayc0hen
cb1177b35c Use cmdRaw and cmdRawAt in GraphWidget 2020-03-25 19:12:18 +02:00
itayc0hen
fa2350dfb6 Use cmdRaw and cmdRawAt in DisassemblerGraphView 2020-03-25 19:12:18 +02:00
itayc0hen
4f01d54443 Use cmdRaw and cmdRawAt in DebugActions 2020-03-25 19:12:18 +02:00
itayc0hen
b98c2671b3 Use cmdRaw and cmdRawAt in Dashboard 2020-03-25 19:12:18 +02:00
itayc0hen
31c994ae4c Use cmdRaw and cmdRawAt in ColorThemeListView 2020-03-25 19:12:18 +02:00
itayc0hen
34e2cdf960 Use cmdRaw and cmdRawAt in DisassemblyContextMenu 2020-03-25 19:12:18 +02:00
itayc0hen
1f41983923 Use cmdRaw and cmdRawAt in ColorThemeEditDialog 2020-03-25 19:12:18 +02:00
itayc0hen
a47dcb26f9 Use cmdRaw and cmdRawAt in XrefsDialog 2020-03-25 19:12:18 +02:00
itayc0hen
647978260a Use cmdRaw and cmdRawAt in WriteCommandsDialog 2020-03-25 19:12:18 +02:00
itayc0hen
87b9741767 Use cmdRaw and cmdRawAt in NewFileDialog 2020-03-25 19:12:18 +02:00
itayc0hen
932318b407 Use cmdRaw and cmdRawAt in EditVariablesDialog 2020-03-25 19:12:18 +02:00
itayc0hen
07a5b4a748 Use cmdRaw and cmdRawAt in CommentsDialog 2020-03-25 19:12:18 +02:00
itayc0hen
b735cb6f23 Use cmdRaw and cmdRawAt in Configuration.cpp 2020-03-25 19:12:18 +02:00
itayc0hen
6bd0d78b73 Use cmdRaw and cmdRawAt in ColorThemeWorker 2020-03-25 19:12:18 +02:00
itayc0hen
cccbf62ec0 Use cmdRaw and cmdRawAt in AnalTask 2020-03-25 19:12:18 +02:00
itayc0hen
2cefc7444c Improve cmdRaw 2020-03-25 19:12:18 +02:00
itayc0hen
8501d03615 Version 1.10.3-pre 2020-03-24 13:00:36 +02:00
Liumeo
d202b7d15d
fix statement has no effect warning (#2110) 2020-03-23 18:33:55 +02:00
NIRMAL MANOJ C
5fb7fa5b99
fixed - a word not clearly was not clearly visible in preferences-debug (#2106) 2020-03-21 19:45:35 +02:00
karliss
1304624b03
Define dependency between python binding target and generated sources. (#2104) 2020-03-21 11:29:31 +02:00
optizone
e50eddb8cd
Implement some of w? commands in HexWidget (#1854)
* Implement write commands in hex widget 
* Add cmdRawAt and seekSilent
* Document patching context menu

Co-authored-by: itayc0hen
Co-authored-by: Kārlis Seņko
2020-03-19 11:36:36 +02:00
karliss
c4d7d649f1
Add installing to CMake (#2084) 2020-03-15 14:43:42 +01:00
Dhaval Purohit
ddeb7fbe53
Toggle remove option for string definition of instruction (#2059) (#2094)
* Toggle remove option for string definition of instruction (#2059)
2020-03-15 14:51:49 +02:00
ITAYC0HEN
b78df947d0 Version 1.10.2 2020-03-10 11:02:52 +02:00
NIRMAL MANOJ C
d12aae2ac0
Add scaling and background transparency options to graph export (#2089) 2020-03-09 22:59:03 +02:00
Itay Cohen
a327a33c3e
Add configuration description getter to improve Initial Analysis dialog (#2088)
* Implement configuration description getter

* Use helper function and remove trimming
2020-03-08 18:27:47 +02:00
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