Commit Graph

2321 Commits

Author SHA1 Message Date
Florian Märkl
b6288ecbf6 Fix a strange comparison 2022-06-09 07:14:25 +08:00
Florian Märkl
76c1ab894e Add missing overrides to SectionsModel 2022-06-09 07:14:25 +08:00
SR_team
8ace08b6e0 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-06-09 07:14:25 +08:00
alexthesys
21ab0e2a9e Convert if-block to early return 2022-06-09 07:14:25 +08:00
alexthesys
7119017eae Hexeditor: add option to write hex bytes 2022-06-09 07:14:25 +08:00
yossizap
b884fe5f74 Update rizin submodule (#2900)
This is also a partial fix for #2897
2022-06-09 07:14:25 +08:00
Florian Märkl
9d2404b486 Rewrite isWriteModeEnabled() with API
This also introduces a slight behavioral change: Previously, only the
core file with the "raised" io desc was checked, which is RzIO.desc. But
that member is deprecated for good reasons, so now we just check if
there is any core file whose primary fd has write enabled.
2022-06-09 07:14:25 +08:00
Florian Märkl
f26f04b5fe Replace usage of wcj by C API 2022-06-09 07:14:25 +08:00
Florian Märkl
b0c2dea772 Remove unused stats query (#2903)
The views showing this info have been removed in the past, so it was
unused. This also fixes some errors with latest rizin where
zero-argument f does not exist anymore (it's now fl).
2022-06-09 07:14:25 +08:00
Akihiko Odaki
518014ee19 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-06-09 07:14:25 +08:00
yossizap
ddaa02c0f8 Remove additional 0x prefix in the registers widget (#2896) 2022-06-09 07:14:25 +08:00
Yossi Zap
c95a5d59a5 Bypass meson Popen_safe_legacy() error 2022-06-09 07:14:25 +08:00
Yossi Zap
a4bc803eea Add missing rz_demangler.dll to windows packaging 2022-06-09 07:14:25 +08:00
Theofilos Pechlivanis
cff49fa2a2 Save and load the layout of the Functions widget (#2844) 2022-06-09 07:14:25 +08:00
Petros S
22cb8e7594 Move more common disassembly-previewing functionality to namaspace (#2849) 2022-06-09 07:14:25 +08:00
Segev Finer
f7e6f9466d Enable console redirection on Windows without starting from a console (#2888) 2022-06-09 07:14:25 +08:00
billow
35408be46f 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-06-09 07:14:25 +08:00
Segev Finer
cabe3ffb3e Fix crash on Windows when starting from a console (#2885)
Fixes #2877
2022-06-09 07:14:25 +08:00
Giovanni
4f627e9bff Return error when applying a signature fails. (#2882)
* Updated rizin commit to 8282cee287abdbf8664a0b2540bad2b5ea5b819d
* Fix messages based on fail/success result while applying a sig/pat file
2022-06-09 07:14:25 +08:00
Giovanni
453974da35 Add signature widget for flirts (#2881)
* Added flirt view and removed zignature one
* Added menu for apply signature from file and create new sig/pat files
* Updated rizin to dev branch
2022-06-09 07:14:25 +08:00
Giovanni
297b9bb192 Enable support for building rz-libswift on cutter (#2841) 2022-06-09 07:14:25 +08:00
Florian Märkl
893baea832 Fix pdj call in nextOpAddr for disasm scrolling (#2874) 2022-06-09 07:14:25 +08:00
nirkog
5c4ba4891d Add double click to seek to global var in decompiler (#2871) 2022-06-09 07:14:25 +08:00
nirkog
138078a6f4 Added support for ctrl+Enter submission in open shellcode tab (#2851)
* Added support for ctrl+Enter submission in shellcode tab in the new file dialog
2022-06-09 07:14:25 +08:00
Riccardo Schirone
98411b4dbf 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.
2022-06-09 07:14:25 +08:00
Anton Kochkov
f5a7a79ee8
Bump Rizin version to v0.3.4 (#2876) 2022-01-10 19:16:51 +01:00
Anton Kochkov
829f4091c5
Update Rizin to 0.3.3 (#2870) 2022-01-07 14:42:53 +01:00
Anton Kochkov
7d50b80d44 Bump Rizin version to v0.3.2 2021-12-30 17:39:13 +08:00
Anton Kochkov
7dfc289660 Update version to 2.0.5 and rizin stable (before 0.3.2) (#2864) 2021-12-26 10:09:38 +01:00
Florian Märkl
9de1d56c93 Update references for dev/stable split 2021-12-21 13:39:25 +01:00
billow
8cc4d14a6f
Use Rizin API for Comments and Instruction writing (#2856) 2021-12-19 10:00:45 +00: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
Anton Angelov
6438cc4d50
Update analysis method handling for name/realname (#2843)
This also fixes a crash when adding a new class method.
2021-12-01 13:11:29 +00:00
Giovanni
78a9a11209
Fix jsdec build on windows (#2840) 2021-11-23 19:25:20 +01:00
Anton Kochkov
8bab611c7f Bump version to 2.0.4 2021-11-17 18:50:52 +01:00
Anton Kochkov
5179ec5d84 Update Rizin to 0.3.1 2021-11-17 18:50:52 +01:00
Florian Märkl
bd4342c4cb Fix VisualNavbar Crash on Haiku 2021-11-16 08:06:18 +01:00
Florian Märkl
c07ce55581 Fix stderr/stdin confusion and avoid crash on fdopen 2021-11-16 08:06:18 +01:00
Anton Kochkov
896be642ff
Port Sections information to the Rizin API (#2785) 2021-11-13 14:02:57 +01:00
AdavisSnakes
4061887bfe
Removed info button globally (#2804) 2021-11-06 10:41:18 +01:00
AdavisSnakes
236f85f83d
Added layout to the attachProcDialog to enable resizing the attach process popup (#2811) 2021-11-06 10:40:11 +01:00
Anton Kochkov
e358ff797d Fix Meson 0.60 build 2021-10-29 00:29:59 +08:00
Anton Kochkov
0786f49842 Fix computing hashes and entropy of the file 2021-10-29 00:29:59 +08:00
Anton Kochkov
e96c53aeeb Update Rizin to the latest stable 2021-10-29 00:29:59 +08:00
AdavisSnakes
e86b7a58c8
Added labels above analysis slider (#2809) 2021-10-20 12:23:59 +08:00
Dhruv Maroo
4ec0a076b4
Remove existing string before converting to code (#2803) 2021-10-17 19:07:59 +02:00
AdavisSnakes
af01134ae3
Made BugReporting.cpp output match bug_report.md (#2808) 2021-10-17 19:02:27 +02:00
Surendrajat
ef4a6cf997
docs: add required pkgs for building cutter on fedora, rhel and centos (#2802) 2021-10-15 12:34:11 +08:00
Petros S
29cce01e1a
Colorize the preview tooltip in the DisassemblyWidget according to th… (#2799) 2021-10-11 07:31:37 +02:00
Giovanni
c205acd773
Build jsdec with -Djsc_folder option to embed the javascript code (#2801) 2021-10-10 14:51:19 +02:00