Commit Graph

2524 Commits

Author SHA1 Message Date
Riccardo Schirone
a7d3eaffb0
wcr command does not exist anymore, use API (#2979) 2022-06-25 00:24:43 +08:00
Giovanni
f99ffc3dbd
Fix #2958 - Add checkbox to fill remaining bytes with nops. (#2974) 2022-06-23 07:44:25 +08:00
Florian Märkl
e60ba18e43 Fix segments listing 2022-06-23 01:09:45 +02:00
Florian Märkl
5b777b8202 Fix sections entropy display 2022-06-23 01:09:45 +02:00
Florian Märkl
cb26142398 Fix many null derefs when opening no file 2022-06-23 01:09:45 +02:00
billow
06c8f15ce0
Convert Rizin command calls to the API (#2968)
* `es`
* `il`
* `wcr`
* `.ar-`
* `aets-`
* `drp`
* `ahts`
*  `e <val>=?`
* `fo`
2022-06-16 07:28:43 +08:00
Florian Märkl
84b33d50bd Merge 'dev' branch into stable 2022-06-12 10:33:02 +02:00
Florian Märkl
9e0e094bbb Merge branch 'stable' into stable-merge 2022-06-12 10:32:56 +02:00
billow
d2e2bcd6b6 Convert more commands to rizin APIs (#2964)
`fdj?`, `iRj`, `om.`, `psx`, `p8`, `fj`
2022-06-11 07:08:10 +08:00
billow
aa222b53df
Convert more commands to rizin APIs (#2964)
`fdj?`, `iRj`, `om.`, `psx`, `p8`, `fj`
2022-06-10 13:05:25 +02:00
Giovanni
05b771b8bb Bump version to 2.1.0 from stable (#2962) 2022-06-09 07:14:25 +08:00
billow
5fd55df710 Convert Rizin command calls to te Rizin APIs (#2960)
* Convert `iCj` call to the API
* Convert `icj` call to the API
* Convert `iij` call to the API
* Convert `iej` call to the API
* Convert `CClj` call to the API
* Convert `iEj` call to the API
* Convert 'ihj' call to the API
* Convert 'iSSj' call to the API
2022-06-09 07:14:25 +08:00
Giovanni
544b904c2c Yara plugin + fix linuxdeployqt plugins (#2924) 2022-06-09 07:14:25 +08:00
Giovanni
266db132aa Download and install sigdb option (#2949)
* Download and install sigdb option and disable swift demangler when libswift is installed
* Remove dir.prefix and use rz_core_analysis_sigdb_list for sigdb
* Use a different color for flirts
* Updated to rizin dev
* Use rz_path_set_prefix to set the prefix path on OSX bundle
2022-06-09 07:14:25 +08:00
Florian Märkl
712709200a Fix null deref in strings loading without any file (#2955) 2022-06-09 07:14:25 +08:00
Islam Bassuni
49cf6555a8 Partially refactor Dashboard to API (#2930)
Also fixes missing NX and PIC bits in Dashboard.
2022-06-09 07:14:25 +08:00
Florian Märkl
832dae38b4 Fix EditVariablesDialog parenting (#2954)
This fixes the dialog being placed weirdly when using the 'Y' shortcut
because it was parented to the DisassemblyContextMenu, which itself
might not be shown at all.
2022-06-09 07:14:25 +08:00
bartoszek
575952d22e Add missing Rizin headers in python bindings (#2943) 2022-06-09 07:14:25 +08:00
Florian Märkl
82f14b5667 Refactor VisualNavbar to use API instead of p-j (#2953)
With the updated rizin, this also fixes any error prints saying
"Cannot alloc for this range" and json errors when no valid range is
available.
2022-06-09 07:14:25 +08:00
billow
b3e74b2dad Convert Rizin commands to the API calls (#2948)
Including wx wr wd ws ww wz ahi ahb aec aecu aecc aecs aes aesb aets+
aets- afc afcl omfg+w oo+ oo p8 aei aeim aeip aecb aeso dbs avj
2022-06-09 07:14:25 +08:00
Giovanni
ebe4ca5072 Fix the lib name on windows (#2950) 2022-06-09 07:14:25 +08:00
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