Commit Graph

2004 Commits

Author SHA1 Message Date
karliss
cd42adc832
Use cmake for linux DEPLOY build. (#2223)
* Add cmake script for building and installing translations.
* Improve APPIMAGE related path handling.
2020-06-17 12:35:26 +03:00
karliss
53da90625c
Add missing includes on VS2019. (#2251) 2020-06-17 11:49:39 +03:00
Surendrajat
7736088ea9
Expose asm.reloff.flags in Preferences (#2244) 2020-06-16 13:54:36 +03:00
karliss
e28ee3bebd
Add options for tweaking graph layout. (#2246)
* Fix overview refresh when switching layout.
2020-06-16 13:43:45 +03:00
karlis
1d8c9de37c Link cutter r2ghidra decompiler against ghidra_core. 2020-06-16 00:27:51 +03:00
NIRMAL MANOJ C
255ffe1208 Refactored Decompiler Widget and R2Dec Plugin to use RAnnotatedCode (#2227) 2020-06-16 00:27:51 +03:00
Surendrajat
498d2076c8
Expose asm.reloff in configuration (#2243)
* Expose asm.reloff in configuration
2020-06-11 19:43:32 +03:00
Itay Cohen
592c050617
Improve warning for multiple x-refs causing unexpected behavior (#2236)
* Improve warning for multiple x-refs causing unexpected behavior
2020-06-07 11:39:58 +03:00
karliss
76773eadd6
Reduce amount of warnings (#2233)
* Deal with QT depracated warnings
2020-06-06 19:02:24 +03:00
karliss
837dd63e6b
Horizontal graph (#2234)
* Create adapter for converting vertical layout into horizontal

* Fix edge spacing override for edges going out of switch statement.

* Update documentation.
2020-06-06 02:06:38 +03:00
bartoszek
56c2e3741a
Fix qt>5.15 build (#2231) 2020-06-04 06:51:03 +03:00
Ali Raheem
7127f0e556
Fix mismatch closing parenthesis (#2232) 2020-06-04 06:41:55 +03:00
karliss
54ecc33ca9
Rewrite part of graph layout code (#2207)
* Rewrite node placement and edge routing parts of graph layout code
* Document the high level structure of layout algorithm
* Tighter layout and less edge crossings
* Better worst case memory and CPU usage
2020-06-03 18:36:44 +03:00
karliss
1e9b82839e
Add documentation for TempConfig. (#2221) 2020-05-31 09:20:54 +03:00
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