Compare commits

...

146 commits

Author SHA1 Message Date
Florian Märkl
e9dc99554b Merge branch 'dev' into stable 2026-06-27 12:37:59 +02:00
Anton Kochkov
2f053ddd6c Bump Cutter version to 2.5.0 2026-06-21 14:53:40 +04:00
Anton Kochkov
31413d2d7e Use rz-silhouette v0.9.0-beta4 2026-06-21 14:48:17 +04:00
Anton Kochkov
c71bb46310 Use rz-libswift v0.9.0 2026-06-21 14:45:07 +04:00
Anton Kochkov
d02c98355e Use rz-libyara v0.9.0 2026-06-21 14:42:22 +04:00
Anton Kochkov
cf8a5eeebd Use jsdec v0.9.0 2026-06-21 14:38:42 +04:00
Anton Kochkov
1e8f59f269 Use rz-ghidra v0.9.0 2026-06-21 14:37:07 +04:00
Anton Kochkov
5324efc12a Merge 'dev' branch into stable 2026-06-21 14:35:27 +04:00
Anton Kochkov
a419700f3a Merge branch 'stable' into stable-merge 2026-06-21 14:35:01 +04:00
Karliss
a5f88d10d1 Bump cutter version to 2.4.1 2025-05-09 23:45:18 +03:00
Karliss
e8874be001 Update rizin to 0.8.1 patch. 2025-05-09 23:45:18 +03:00
Karliss
48b3875b2e Update translations. 2025-05-09 18:04:03 +03:00
karliss
2a2fc759a5 Improve disassembly arrow position accuracy. (#3480)
* Improve disassembly arrow position accuracy.

Query line position from textEdit instead of doing naive lineHeight*row. Any differences in rounding logic betwen Qt and Cutter is sufficient to offset arrow by a line or more.
2025-05-09 18:04:03 +03:00
Florian Märkl
6de8b8f491 Add Developer ID signing script for macOS
Additional entitlements are necessary for PCRE2 JIT.
2025-05-09 18:04:03 +03:00
karliss
192c2ac00d Adjust macos dylib references to keep gatekeeper happy. (#3482)
macOS gatekeeper wil block a properly signed/notarized .app from running if it contains absolute rpath references pointing outside the .app.
2025-05-09 18:04:03 +03:00
karliss
8692e63107 Fix windows jsdec install location. (#3469) 2025-05-09 18:04:03 +03:00
karliss
d6c3f3fe4c Update appstream metadata. (#3472)
* missing release versions
* add developer
* remove incorrectly used update_contact
2025-05-09 18:04:03 +03:00
karliss
5c9203b7ec Fix multiple cases of translatable strings not getting recognized (#3470)
* SearchWidget - no default context available in static functions
* MainWindow - unnecesarry macros interfering with context detection
* MainWindow - lupdate getting confused by macro definition that has ternary operator
* Xrefs, Classes, Flags models - missing Q_OBJECT macro

Closes #3458
2025-05-09 18:04:03 +03:00
Anton Kochkov
ec6a6fb142 Use rz-silhouette v0.8.0-beta3 2025-04-26 22:56:25 +04:00
Anton Kochkov
9184085e4d Use rz-libswift v0.8.0 2025-04-25 23:29:26 +04:00
Anton Kochkov
7efb9b2ee3 Use rz-libyara v0.8.0 2025-04-25 23:26:27 +04:00
Anton Kochkov
7d88b0137e Use jsdec v0.8.0 2025-04-25 23:23:07 +04:00
Anton Kochkov
8fface0a4c Use rz-ghidra v0.8.0 2025-04-25 19:27:38 +04:00
Anton Kochkov
de35babfd1 Merge 'dev' branch into stable 2025-04-25 19:24:37 +04:00
Anton Kochkov
47813b55f6 Merge branch 'stable' into stable-merge 2025-04-25 19:24:25 +04:00
Anton Kochkov
209c26b862 Bump version to v2.3.4 2024-03-04 00:18:18 +08:00
Anton Kochkov
90c1bf0826 Update Rizin to the latest stable 2024-03-04 00:16:20 +08:00
Karliss
efa29b63fa Fix multiple crashes related to incorrect rz_iterator usage.
RzAnalysisBytes are owned by the iterator, so returning analysis bytes while destroying iterator owning it is incorrect.
2024-03-04 00:15:04 +08:00
Anton Kochkov
762830d4ac Bump version to v2.3.3 2024-02-24 16:26:59 +08:00
Anton Kochkov
929466c668 Update Rizin to the latest stable 2024-02-24 16:26:59 +08:00
Anton Kochkov
807bbf4032 Use rz-ghidra v0.7.0 2024-02-24 16:26:59 +08:00
Anton Kochkov
e612dcdf33 Merge 'dev' branch into stable 2024-02-24 08:15:30 +08:00
Anton Kochkov
cbb0b805dc Merge branch 'stable' into stable-merge 2024-02-24 08:15:05 +08:00
Anton Kochkov
1d07ebc513 Bump version to v2.3.2 2023-09-14 14:29:16 +08:00
Anton Kochkov
f39540fae4 Update rizin to v0.6.2 2023-09-14 14:29:16 +08:00
Anton Kochkov
9138967ed7 Update translations 2023-09-14 14:29:16 +08:00
frmdstryr
359bd91a21 Seek to first call if multiple references (#3240) 2023-09-14 14:29:16 +08:00
Giovanni
2066a4b3e1 Use tags for jsdec instead of master. (#3231) 2023-09-14 14:29:16 +08:00
Anton Kochkov
58f6c4d6e1 Bump version to v2.3.1 2023-08-20 00:07:39 +08:00
Anton Kochkov
89f53bc073 Update rizin to v0.6.1 2023-08-20 00:04:20 +08:00
Anton Kochkov
fb4c2a1a17 Update translations 2023-08-19 20:20:51 +08:00
Anton Kochkov
ba2c9415a1 Bump version to v2.3.0 2023-08-05 10:53:43 +08:00
Anton Kochkov
eeb2691e42 Update Rizin to latest stable 2023-08-05 10:53:43 +08:00
Anton Kochkov
37fb67a86e Use rz-ghidra v0.6.0 2023-08-05 10:32:25 +08:00
Anton Kochkov
48b35953bb Merge 'dev' branch into stable 2023-08-05 10:27:27 +08:00
Anton Kochkov
351f27d955 Merge branch 'stable' into stable-merge 2023-08-05 10:27:08 +08:00
Anton Kochkov
f4be9a8266 Bump version to v2.2.1 2023-05-15 21:18:17 +08:00
Anton Kochkov
dd216beb9c Use Ubuntu 18.04 docker image (#3180)
Co-authored-by: wargio <wargio@libero.it>
2023-05-15 21:18:17 +08:00
Lucas Hosseini
e523ac8365 Get rid of stale jump arrows in disassembly widget. (#3175)
This commit clears arrows from edited instructions, in order to avoid
stale arrows to remain drawn.

closes #3114
2023-05-14 21:29:26 +08:00
Giovanni
9cbacff329 Fix broken English in UI (#3184) 2023-05-14 21:29:26 +08:00
Anton Kochkov
a96206e7ab Update Hindi, French, Russian translations (#3182) 2023-05-14 21:29:26 +08:00
Giovanni
4191a00965 Fix 'Rizin Graph' widget (#3179) 2023-05-14 21:29:26 +08:00
Anton Kochkov
b6e1778344 Update Japanese, Spanish, Ukranian translations (#3167) 2023-05-14 21:29:26 +08:00
xarkes
546999978e Update IOModesController.cpp (#3166) 2023-05-14 21:29:26 +08:00
xarkes
4f0d8f7e2b Update MapFileDialog.cpp (#3165) 2023-05-14 21:29:26 +08:00
Anton Kochkov
937c01a806 Update Rizin to 0.5.2 2023-05-14 21:29:26 +08:00
Anton Kochkov
c0f260ca69 Fix attaching debugger (#3139)
* Fix attaching debugger
* Fix deadlock on attach

Co-authored-by: wargio <wargio@libero.it>
2023-02-22 23:39:52 +08:00
Anton Kochkov
ef0d69b53a Bump version to v2.2.0 2023-02-22 21:25:45 +08:00
Anton Kochkov
bc979211fe Use rz-ghidra v0.5.0 2023-02-22 21:25:35 +08:00
Anton Kochkov
341d42c3a2 Merge 'dev' branch into stable 2023-02-22 21:24:58 +08:00
Anton Kochkov
6995152366 Merge branch 'stable' into stable-merge 2023-02-22 21:24:30 +08:00
Florian Märkl
8e232bed91 Bump version to 2.1.2 2022-09-11 10:25:39 +02:00
Florian Märkl
2475ffe1a1 Generate and deploy source tarball (Fix #2878) (#3036)
This builds a real tarball, as opposed to the flawed GitHub-generated
one, and also includes the following changes:

Individual builds now have dedicated names like "linux-x86_64". The
structure in the yml is now very similar to how it is in rizin.

Since that means builds are renamed, the filename has also been changed
from the meaningless "ccpp.yml" to "ci.yml", as that would have happened
sooner or later anyway and now will not produce additional intermediate
rename states.

The workflow name inside that file is now also just "CI" since adding
"Cutter" there is redundant.
2022-09-10 17:45:28 +02:00
Edd Barrett
dd4af7e8a0 Fix build on 32-bit systems. (#3032) 2022-09-10 17:45:19 +02:00
Kārlis Seņko
be565f3a88 Do not check "Built from source" in bug report template by default. 2022-09-10 17:44:31 +02:00
Kārlis Seņko
77b93fbab0 Don't leak memory in bb highlighter. 2022-09-10 17:44:13 +02:00
Jeremy Rifkin
fd42ddb0bb Update GraphGridLayout documentation (#3000)
* Updated GraphGridLayout documentation

* Don't use potentially misleading  name "segment tree" .

Not exactly segment tree (although sometimes called that), and for the purpose of high level understanding how graph layout works doesn't matter what it is. Any data structure which provides required queries could be used.

Co-authored-by: Kārlis Seņko <karlis3p70l1ij@gmail.com>
2022-09-10 17:43:28 +02:00
Riccardo Schirone
181506cb1f Mention OBS install mode for Linux (#3006) 2022-09-10 17:43:08 +02:00
Florian Märkl
39dc10a430 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-09-10 17:42:29 +02:00
Florian Märkl
ba4f8a3024 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-09-10 17:42:22 +02:00
Florian Märkl
a6dca2956d Update cutter-deps to v15 with macOS/arm64 included (#2990) 2022-09-10 17:42:14 +02:00
Florian Märkl
2529196df0 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-09-10 17:41:21 +02:00
Florian Märkl
bd49557cab Update rizin to stable v0.4.1 2022-09-10 17:40:02 +02: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
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
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
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
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
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
9 changed files with 10 additions and 10 deletions

4
dist/CMakeLists.txt vendored
View file

@ -201,9 +201,9 @@ if(CUTTER_PACKAGE_RZ_GHIDRA)
# installed Cutter.
ExternalProject_Add(rz-ghidra
GIT_REPOSITORY https://github.com/rizinorg/rz-ghidra
#GIT_TAG v0.3.0
GIT_TAG v0.9.0
#GIT_TAG c7a50a2e7c0a95cd52b167c9ee0fa1805223f08e
GIT_TAG dev
#GIT_TAG dev
#GIT_SHALLOW ON # disable this line when using commit hash
CONFIGURE_COMMAND ""
BUILD_COMMAND ""

View file

@ -4,7 +4,7 @@ $plugin_path = "$dist\plugins\native\"
$pathdll = "$plugin_path\jsdec_cutter.dll"
if (-not (Test-Path -Path 'jsdec' -PathType Container)) {
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch "dev"
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch "v0.9.0"
}
cd jsdec
$jsdecdir = (Get-Item .).FullName

View file

@ -2,7 +2,7 @@ $dist = $args[0]
$python = Split-Path((Get-Command python.exe).Path)
if (-not (Test-Path -Path 'libswift' -PathType Container)) {
git clone https://github.com/rizinorg/rz-libswift.git --depth 1 libswift
git clone https://github.com/rizinorg/rz-libswift.git --depth 1 --branch "v0.9.0" libswift
}
cd libswift
& meson.exe --buildtype=release --prefix=$dist build

View file

@ -3,7 +3,7 @@ $cmake_opts = $args[1]
$python = Split-Path((Get-Command python.exe).Path)
if (-not (Test-Path -Path 'rz_libyara' -PathType Container)) {
git clone https://github.com/rizinorg/rz-libyara.git --depth 1 --branch main rz_libyara
git clone https://github.com/rizinorg/rz-libyara.git --depth 1 --branch "v0.9.0" rz_libyara
git -C rz_libyara submodule init
git -C rz_libyara submodule update
}

View file

@ -3,7 +3,7 @@ $cmake_opts = $args[1]
$python = Split-Path((Get-Command python.exe).Path)
if (-not (Test-Path -Path 'rz-silhouette' -PathType Container)) {
git clone https://github.com/rizinorg/rz-silhouette.git --depth 1 rz-silhouette
git clone https://github.com/rizinorg/rz-silhouette.git --depth 1 --branch "v0.9.0-beta4" rz-silhouette
}
cd rz-silhouette
& meson.exe --buildtype=release --prefix=$dist build

View file

@ -9,7 +9,7 @@ SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
cd "$SCRIPTPATH/.."
if [ ! -d jsdec ]; then
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch "dev"
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch "v0.9.0"
fi
cd jsdec

View file

@ -7,7 +7,7 @@ SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
cd "$SCRIPTPATH/.."
if [[ ! -d libswift ]]; then
git clone https://github.com/rizinorg/rz-libswift.git --depth 1 libswift
git clone https://github.com/rizinorg/rz-libswift.git --depth 1 --branch "v0.9.0" libswift
fi
cd libswift

View file

@ -8,7 +8,7 @@ EXTRA_CMAKE_OPTS="$2"
cd "$SCRIPTPATH/.."
if [[ ! -d rz_libyara ]]; then
git clone https://github.com/rizinorg/rz-libyara.git --depth 1 --branch main rz_libyara
git clone https://github.com/rizinorg/rz-libyara.git --depth 1 --branch "v0.9.0" rz_libyara
git -C rz_libyara submodule init
git -C rz_libyara submodule update
fi

View file

@ -8,7 +8,7 @@ EXTRA_CMAKE_OPTS="$2"
cd "$SCRIPTPATH/.."
if [[ ! -d rz-silhouette ]]; then
git clone https://github.com/rizinorg/rz-silhouette.git --depth 1 rz-silhouette
git clone https://github.com/rizinorg/rz-silhouette.git --depth 1 --branch "v0.9.0-beta4" rz-silhouette
fi
cd rz-silhouette