Commit Graph

2591 Commits

Author SHA1 Message Date
Florian Märkl
51c0a3d469
Construct and destruct CutterCore singleton locally (Fix #2704) (#2994)
Using Q_GLOBAL_STATIC meant that the CutterCore was destructed late as
part of a binary destructor. It would then free the RzCore, calling for
example the fini callbacks of all plugins. However global destructors in
shared library plugins may have already been run at this point, leading
to for example rz-ghidra's decompiler_mutex being used after
destruction.
Instead of the Q_GLOBAL_STATIC-managed global object, we are now
handling the lifetime of the CutterCore ourselves and only injecting its
instance to be accessed globally. This can also be a first step towards
making the core instance completely local.
2022-07-09 12:48:48 +02:00
Florian Märkl
2c778d9b82
Add Woodpecker macOS/arm64 CI (#2992)
Package names have also been updated to the scheme used since v2.1.0, to
better represent different architectures.
2022-07-05 14:06:06 +02:00
Florian Märkl
569206fec8
Update cutter-deps to v15 with macOS/arm64 included (#2990) 2022-07-04 13:01:38 +02:00
Florian Märkl
3855576be5
Use meson==0.61.5 to fix libzip strcasecmp errors (#2991) 2022-07-04 10:39:10 +02:00
billow
e4db94eb87
Convert to rizin APIs (#2973)
`rz_core_bin_get_compile_time`, `ij`/`CutterCore::getFileInfo()`,
`aaij`, `iVj`, `iEj`, `izzj`, `iMj`, `aeim-`, `aei-`, `tc`,
`rz_core_config_variable_spaces`, `o`, `oodf`
2022-07-02 15:49:13 +02:00
Florian Märkl
91fce8220b
Remove direct download from update check (#2989)
Hardcoded prediction of filenames for future releases is too prone to
break, which is what happened with v2.1.0.
So better to provide the link to the release page only.
2022-07-02 14:23:13 +02:00
Florian Märkl
df71da8f53
Update rizin dev (#2987)
Relevant breaking commits in rizin:
9ea7c2fa5acd0b9b0c178a1b4316adc129e7c512
2987e035da827903329ec6433410899b985e2434
2022-07-01 22:49:58 +08:00
Florian Märkl
7eb4311c2b Extend blocksize to work around pdJ printing to few lines (#2984) 2022-06-25 17:21:18 +02:00
Giovanni
70bd668af1 Add back jsdec which was wrongly removed. (#2983) 2022-06-25 17:21:18 +02:00
Florian Märkl
ddacbd7828
Extend blocksize to work around pdJ printing to few lines (#2984) 2022-06-25 15:20:50 +02:00
Giovanni
29bd3d0dbd
Add back jsdec which was wrongly removed. (#2983) 2022-06-25 15:03:45 +02:00
Florian Märkl
c60a8ee134 Use rz-ghidra v0.4.0 2022-06-25 13:28:40 +02:00
Florian Märkl
e73a4c60e3 Merge 'dev' branch into stable 2022-06-25 10:10:26 +02:00
Florian Märkl
cf15a5761b Merge branch 'stable' into stable-merge 2022-06-25 10:06:07 +02:00
Anton Kochkov
ed47645405 Update Rizin to the latest stable 2022-06-25 10:04:59 +02:00
Riccardo Schirone
8f7aebe7c7
CutterCore: select the right RzReg based on debug/emulation status (#2977) 2022-06-25 09:51:17 +02:00
Riccardo Schirone
f20b59d8ac
Use API instead of ar- and aets- commands (#2980) 2022-06-25 09:15:13 +08:00
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