Commit Graph

2440 Commits

Author SHA1 Message Date
Surendrajat
5dcf53dff6
refactor hexdumpwidget sidepanel parsing (#2222)
Avoid use of magic numbers.
2020-05-30 16:29:29 +03:00
Surendrajat
4ddba1b8d3
add pci to hexwidget sidepanel (#2219) 2020-05-30 13:00:29 +03:00
tobigrimm
cd6fc26ed1
Cmdline option to open a file in write mode (#2216)
* Added an option to directly enable write mode via -w/--writemode to the command line option parser
2020-05-28 14:33:19 +03:00
NIRMAL MANOJ C
433f056ec5
updated radare2 after shifting rannotatedcode to r2 (#2217) 2020-05-28 01:05:17 +03:00
Anton Kochkov
7b779159e8
Fix Coverity build (#2215) 2020-05-25 13:42:41 +02:00
Itay Cohen
bfec29f825
Toggle Console Widget and clear output (#2213)
* Add shortcuts to toggle Console and clear its output
* Update the docs

Co-authored-by: Kārlis Seņko <karlis3p70l1ij@gmail.com>
2020-05-25 12:19:05 +03:00
Surendrajat
b1e79ec6a6
export cutter version before building Appimage (#2212) 2020-05-24 13:58:54 +03:00
karliss
0ea5d6fa4b
Add UI for managing layouts (#2211)
* Add dialog for deleting and renaming layouts.

* Add documentation.

Co-authored-by: Itay Cohen
2020-05-24 01:12:32 +03:00
Itay Cohen
6f75fa1a71
Add menu options for changing IO mode (#2187) 2020-05-23 14:41:12 +03:00
karliss
3545f059f1
Rewrite layout management code (#2172)
* Use QDockWidget::toggleViewAction instead of custom solution.
* Improve new dock placement.
2020-05-22 14:49:34 +03:00
karliss
8a3b51c291
Take into account interactive flag in more cases (#2208)
* Edge style
* Token highlighting
2020-05-21 16:31:22 +03:00
NIRMAL MANOJ C
1181f7ff5c
Cutter RC Editor - Part B (basic editor) (#2162) 2020-05-20 23:38:20 +03:00
fcasal
26cafecc4e
Add emu.str to be saved in settings (#2205) 2020-05-18 21:10:47 +03:00
Itay Cohen
a68ce67b2a
Use "analysis" for -A option (#2203) 2020-05-17 22:34:38 +03:00
NIRMAL MANOJ C
2078790278
Update r2 and fix API changes (#2199) 2020-05-16 20:28:34 +03:00
Itay Cohen
18a21048dd
Update radare2 submodule (#2189)
* Update radare2 submodule

* Use the new API, r_meta_get_string doesn't return owned pointer anymore.
2020-05-11 19:55:38 +03:00
karliss
1aad797722
Update version number 1.10.3-pre2 -> 1.10.3 (#2185) 2020-05-08 19:51:36 +03:00
karliss
1eeb2c166b
Switch to appveyor VS2019 image to match cutter-deps (#2184)
* Force gyp to generate vs2017 project and then upgrade it to vs2019 because version used by breakpad doesn't recognize vs2019.
2020-05-07 22:09:58 +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
a3661fa259
Update version to 1.10.3-pre2 . (#2171) 2020-04-29 23:17:22 +03:00
logankonopatzke
d6be2624d3
Fix issue with backslash being used in place of forward slash (#2170) 2020-04-28 10:37:35 +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
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