Commit Graph

1962 Commits

Author SHA1 Message Date
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
8957e5eb64
update radare2 submodule (#2153) 2020-04-15 22:24:30 +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
7fbac90dcb
Do the depoly build on Ubuntu 16.04 (#2135) 2020-04-10 19:53:41 +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
karliss
401b824030
Update github checkout action to v2. (#2126) 2020-04-03 14:41:17 +02:00
karliss
742442d64a
Install ninja from backports on Ubuntu 16.04. (#2125) 2020-04-02 20:55:24 +03:00
Itay Cohen
4f64980834
Fix redundent word in the docs (#2114) 2020-03-26 20:53:58 +01: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
3f4edfb3a0 update radare2 submodule 2020-03-25 19:17:55 +02:00
itayc0hen
394b6ca8d1 Update docs for cmdRaw and cmdRawAt 2020-03-25 19:12:18 +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
Florian Märkl
557fb323e7
Install radare2 to /usr on Linux in Travis (#2113) 2020-03-24 22:22:25 +02:00
itayc0hen
8501d03615 Version 1.10.3-pre 2020-03-24 13:00:36 +02:00
Itay Cohen
fa4be70b0c
Update radare2 submodule (#2112) 2020-03-24 11:29:37 +01: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
nk521
867631d27a add astyle backup .orig extension in .gitignore 2020-03-19 17:41:13 +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
Itay Cohen
971a0c7a77
Update PR Template for Cutter (#2096) 2020-03-19 10:21:46 +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