Commit Graph

2343 Commits

Author SHA1 Message Date
billow
cf30b400f3 Convert Rizin commands to the API calls 2022-06-09 07:14:25 +08:00
billow
df8c2749a6 convert to api for dr 2022-06-09 07:14:25 +08:00
billow
fb82370dfc convert to api for aht 2022-06-09 07:14:25 +08:00
billow
6e07f4d97a convert to api for aoj 2022-06-09 07:14:25 +08:00
Paul I
493ff68365 Revert changes in functionAt (#2941) 2022-06-09 07:14:25 +08:00
Giovanni
6345604172 Replace afcf with C api. (#2940) 2022-06-09 07:14:25 +08:00
Jakob Zielinski
e022e44474 Search button disabled and button text changed while search is occurring (#2928) 2022-06-09 07:14:25 +08:00
staz
34b1f01a86 Fixed an invalid index check (#2937) 2022-06-09 07:14:25 +08:00
Islam Bassuni
6fca09d313 Created adding comments option inside Hexdump. (#2927) 2022-06-09 07:14:25 +08:00
billow
7d42a5c7e6 Convert from Rizin commands to the API for w (#2926) 2022-06-09 07:14:25 +08:00
Giovanni
a48399f73b Adds support for RZ_SIGDB path and fixes sorting on some columns (#2923) 2022-06-09 07:14:25 +08:00
rgnter
cbda0ad27e Fixed a segfault during debugging with gdbserver (#2830)
Fixes issue #2829
2022-06-09 07:14:25 +08:00
Islam Bassuni
5440a0ef50 Added report issue button in "About" window (#2908) 2022-06-09 07:14:25 +08:00
tcoyvwac
12721aaa9e widgets: redundant return-break (#2922)
Removed consecutive return-break statements.
2022-06-09 07:14:25 +08:00
billow
46ea1569d2 Convert various debug code to C API (#2913) 2022-06-09 07:14:25 +08:00
Giovanni
f8744d12c2 ‘memDisp’ may be used uninitialized (#2920) 2022-06-09 07:14:25 +08:00
Florian Märkl
ae2ad5d50c Extend cmake config files with deps, version, etc. (#2916)
This improves how the installed CutterConfig.cmake can be used for
native plugin development:
* Transitive dependencies are resolved automatically
* Version file is included
* Cutter_USER_PLUGINDIR is set to a path that plugins can use as a
  default install destination

src/plugins/sample-cpp/CMakeLists.txt is an example for how to use it.
Rizin was also updated to prevent an error with multiple
`find_package()` calls.
2022-06-09 07:14:25 +08:00
Florian Märkl
6629d579c6 Update windows CI to 2019 2022-06-09 07:14:25 +08:00
Giovanni
3e168fb76a Fixed formatting (#2917) 2022-06-09 07:14:25 +08:00
Nirmal Manoj
085f5024b9 Use RzAnnotatedCode from JSDec (pddA) 2022-06-09 07:14:25 +08:00
Florian Märkl
d65ad504ca 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-06-09 07:14:25 +08:00
Florian Märkl
0dc4e94647 Remove unnessecary str in setToData() (Fix #2901) 2022-06-09 07:14:25 +08:00
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