Florian Märkl
2c31d38d85
Rewrite getVariables with API
...
This also avoids annoying "ERROR: No function found in ..." beging
printed by afvj when right-clicking anywhere outside a function.
The heuristics in functionIn() also have been adjusted to prefer the
function that has its entrypoint at the given addr, if there is any.
2022-03-29 09:37:17 +02:00
Florian Märkl
72a3815c01
Remove unnessecary str in setToData() ( Fix #2901 )
2022-03-29 09:37:17 +02:00
Florian Märkl
206fee601b
Fix a strange comparison
2022-03-29 09:37:17 +02:00
Florian Märkl
fc3f072ed7
Add missing overrides to SectionsModel
2022-03-29 09:37:17 +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
alexthesys
c535badacd
Convert if-block to early return
2022-03-17 00:36:27 +08:00
alexthesys
15282d9bc5
Hexeditor: add option to write hex bytes
2022-03-17 00:36:27 +08:00
yossizap
72ab12a23d
Update rizin submodule ( #2900 )
...
This is also a partial fix for #2897
2022-03-15 11:58:09 +01:00
Florian Märkl
bca7a7a2a6
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-03-14 10:35:08 +01:00
Florian Märkl
9441c3b470
Replace usage of wcj by C API
2022-03-14 10:35:08 +01:00
Florian Märkl
b8243a2b61
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-03-14 10:09:35 +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
yossizap
d65a352b1d
Remove additional 0x prefix in the registers widget ( #2896 )
2022-02-19 17:34:08 +02:00
Yossi Zap
1b271a0ae8
Bypass meson Popen_safe_legacy() error
2022-02-09 22:44:41 +08:00
Yossi Zap
f762b93e65
Add missing rz_demangler.dll to windows packaging
2022-02-09 22:44:41 +08: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
Segev Finer
84d4a64f47
Enable console redirection on Windows without starting from a console ( #2888 )
2022-02-05 08:51:36 +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
Segev Finer
734abd5609
Fix crash on Windows when starting from a console ( #2885 )
...
Fixes #2877
2022-01-26 14:53:05 +01:00
Giovanni
91d99ba219
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-01-21 18:48:10 +01:00
Giovanni
46d29c1e85
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-01-21 09:39:56 +01:00
Giovanni
75c334596e
Enable support for building rz-libswift on cutter ( #2841 )
2022-01-15 21:02:01 +01:00
Florian Märkl
239343bb20
Fix pdj call in nextOpAddr for disasm scrolling ( #2874 )
2022-01-08 17:16:41 +01:00
nirkog
71297ad118
Add double click to seek to global var in decompiler ( #2871 )
2022-01-08 13:53:27 +00:00
nirkog
37064e8a21
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-01-08 13:07:20 +02:00
Florian Märkl
9e77cf1362
Bump version to 2.0.5 from stable ( #2865 )
2021-12-26 10:07:59 +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
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
Petros S
552cd6dff6
Add option to disable the preview when hovering over the assembly ( #2795 )
2021-10-09 18:17:52 +02:00