Commit Graph

200 Commits

Author SHA1 Message Date
Nirmal Manoj
b92ad19148 Use RzAnnotatedCode from JSDec (pddA) 2022-03-29 18:06:29 +02:00
SR_team
b9df65a6c9
Update includes compat with KF5.92 on some distributions (#2912)
With KF5.92 headers KSyntaxHighlighting/{header}.h copied to KSyntaxHighlighting/ksyntaxhighlighting/{header}.h. Headers KSyntaxHighlighting/{Header} now include ksyntaxhighlighting/{header}.h instead of {header}.h. Than on some distros like ArchLinux headers KSyntaxHighlighting/{header}.h removed, because it copies of KSyntaxHighlighting/ksyntaxhighlighting/{header}.h and because KSyntaxHighlighting/{Header} now include ksyntaxhighlighting/{header}.h.
2022-03-28 14:12:09 +02:00
Florian Märkl
9441c3b470 Replace usage of wcj by C API 2022-03-14 10:35:08 +01:00
Akihiko Odaki
d34349b49f
Use rizin instead of Qt to parse JSON (#2902)
Qt truncates integers to 52-bit, corrupting e.g. memory addresses. Use
rizin's JSON parser, which can parse integers whose size is up to 64
bits.
2022-03-14 09:04:49 +01:00
Theofilos Pechlivanis
2dbf136de8
Save and load the layout of the Functions widget (#2844) 2022-02-05 09:00:08 +02:00
Petros S
2b50e2722b
Move more common disassembly-previewing functionality to namaspace (#2849) 2022-02-05 08:55:10 +02:00
billow
97b3aaaa3f
Convert rizin commands to C apis (#2861)
* "fr" renameFlag
* "f-" delFlag
* "f" addFlag
* "fsj" getAllFlagspaces
* "fj" getAllFlags
* "afn" renameFunction
* "af-" delFunction
* "af" createFunctionAt
* "eco"
* "ecd"
2022-01-27 10:06:20 +01:00
Riccardo Schirone
009c8dffb4
Update Rizin to dev and use CMake config files (#2855)
API usage has been adjusted.
There are now also cmake config files directly installed by Rizin itself, so we don't need to keep a custom FindRizin.cmake file in Cutter. This remove that file and just uses `find_package(Rizin COMPONENTS Core)`, which will use the cmake files installed on the system.
2021-12-22 09:57:58 +01:00
Petros S
d85383fcfc
Support for previewing in the Graph widget (#2797)
Common functionality has been moved to the DisassemblyPreview namespace.
2021-12-05 08:53:45 +00:00
AdavisSnakes
af01134ae3
Made BugReporting.cpp output match bug_report.md (#2808) 2021-10-17 19:02:27 +02:00
Petros S
552cd6dff6
Add option to disable the preview when hovering over the assembly (#2795) 2021-10-09 18:17:52 +02:00
Florian Märkl
dada19cf1c
Various improvements for native macOS UI (#2776) 2021-09-23 16:09:51 +02:00
Riccardo Schirone
99070e86b9
Use new Rizin API instead of cmdRaw/cmdRawAt (#2770)
* Use new Rizin API instead of cmdRaw/cmdRawAt
* add CutterRzListForeach as a foreach-keyword for clang-format
2021-09-23 10:15:03 +02:00
Anton Kochkov
5595193b70
Minor renames of analysis-related things (#2761) 2021-09-15 20:48:02 +02:00
Anton Kochkov
57f34bfb98
Use open API instead of commands (#2757) 2021-09-14 23:40:01 +02:00
Florian Märkl
8fd35f2109
Replace eco Command with API (Fix #2751) (#2759) 2021-09-14 16:59:04 +00:00
Maria
417a0a2221
Complete Color Theme Lists (Fix #2672) (#2752) 2021-09-14 15:24:47 +02:00
Kamay
a38d77c969
Improved function widget (#2659) 2021-07-25 09:33:51 +03:00
Kārlis Seņko
8da572d6ec Fix crash due to language handling when opening settings.
Qt doesn't have native language name for some of them. Trying to
capitalize it caused crash.

Use `QLocale(QString)` constructor instead of manually looping and
comparing. The old code incorrectly matched "tr" as "trv".

Don't try to capitalize language name:
* In many cases Qt already returns it capitalized
* capitalization doesn't make sense for some scripts
* in general case splitting first "character" is a hard problem
* in some languages even with latin based scripts name of language isn't
a proper noun which needs to be capitalized
2021-04-24 13:13:36 +03:00
Kārlis Seņko
585dc961db Qt6 keyboard and mouse API compatibility
* Some of the API replaced int with QKeyCombination, use typedef in
cutter code
* Use of + operator depracted, replace with recommended "|" operator
* QMouseEvent globalPos and localPos renamed to globalPosition and
position, replace with helper function or use of integer position which
wasn't renamed.
2021-04-24 13:13:36 +03:00
Kārlis Seņko
2799390314 QT6 color handling changes
* use typedef for floating point value used in color related API
* changes in screen grabbing API used by color picker
2021-04-24 13:13:36 +03:00
Kārlis Seņko
988918a038 Various fixes for functionality deprecated or removed in QT6. 2021-04-24 13:13:36 +03:00
Kārlis Seņko
fe92aaeb3d Update usage of deprecated qt model and regex API. 2021-04-24 13:13:36 +03:00
karliss
d73d486ca0
Add setting import from Cutter before RadareOrg to rizin renames. (#2588) 2021-03-06 18:26:58 +01:00
yossizap
de234e600e
Add dbg.trace_continue to debug options (#2613) 2021-02-26 19:03:28 +02:00
Itay Cohen
42f01fcf5d
Support loading projects from the command line (#2606) 2021-02-24 08:10:01 +02:00
Alexis Ehret
a47c2bb5aa
Add clang-format linter CI jobs (#2604) 2021-02-19 16:32:58 +02:00
optizone
00d2245538
refactor DisassemblyLeftPanel::paintEvent (#2559) 2021-02-15 08:46:57 +02:00
ITAYC0HEN
48ae2150a9 Apply clang-format 2021-01-24 18:34:16 +02:00
Anton Kochkov
88478ffb30
New JSDec home (#2563)
Switch from r2dec to jsdec
2021-01-16 11:48:31 +01:00
karliss
18e98e7868
Don't compile files for features that are disabled. (#2561)
Don't wrap whole cpp file in ifdef, it confuses clang-format.
2021-01-11 23:49:54 +02:00
Florian Märkl
ac8c0e4175
Add Setting for Minimum Font Size in Graphs (#2524) 2020-12-19 16:04:48 +02:00
Florian Märkl
5bf513c45b
Add RizinFunctionTask and common base class with RizinCmdTask (#2520) 2020-12-18 10:47:50 +01:00
Florian Märkl
269cedd36e
Fix Warnings by g++ 10.2 (#2523) 2020-12-17 20:14:40 +01:00
Anton Kochkov
70cef2c1af
More R2/Radare -> Rizin renames (#2516) 2020-12-16 11:59:23 +01:00
Florian Märkl
58745547a2
Update Rizin with RizinTask (#2517) 2020-12-16 10:51:53 +01:00
xarkes
00f6d47357 First iteration at renaming remains of radare2 2020-12-14 19:39:29 +01:00
Florian Märkl
46f7a8e4f6
Update Rizin for defines 2020-12-07 19:20:47 +01:00
Florian Märkl
5218fa0fd6
Update Rizin 2020-12-07 09:19:18 +01:00
Florian Märkl
85042000e8
Add Support for new Projects (#3) 2020-12-07 09:17:58 +01:00
Florian Märkl
2b8ac6ecf7
Port to Rizin 2020-12-07 09:17:56 +01:00
karliss
f9bde4a2ff
Start making adjustment for qt6 compatibility. (#2463)
* Introduce cmake option for using Qt6, build doesn't work fully yet.
* Recursive mutex, QActionGroup, QComboBox::AdjustToMinimumContentsLength
* Cleanup dock locking
2020-11-30 09:42:13 +02:00
Pulak Malhotra
ef9b1328f4
Adding Labels to Graph Blocks in Disassembly (#2482) 2020-11-29 16:41:13 +02:00
smhaziq
ca3d8ce78f
Show comment column in each panel that have "add comment" option in the context menu (#2441) 2020-11-19 20:17:28 +02:00
karliss
503907909f
Create SyntaxHighlighter based on RAnnotatedCode. (#2409) 2020-08-31 09:00:55 +03:00
Oriol Castejón
9e346275c5
Add new Analysis section to the Preferences widget (#2332) 2020-08-10 19:12:38 +03:00
karliss
d6d2e90028
Clazy warnings (#2371)
* Refactor some of the connect calls.
* Refactor more old style signal connect calls.
2020-08-07 17:18:42 +03:00
karliss
c149f38f11
Output colors in rgb:nnnnnn format instead of #nnnnnn. (#2376)
ec name #nnnnnn can get mixed up with comment.
2020-08-07 17:01:50 +03:00
karliss
7c9c7e6fe4
Add symbol exports. (#2345)
* Add symbol exports required for external native plugins to work on Windows
* Make Linux build behave more like Windows so that missing export
annotations can be more easily detected.
2020-08-01 17:14:30 +03:00
karliss
a0eb9e3fa9
Remove debug output. (#2315) 2020-07-22 11:57:26 +02:00