Commit Graph

2528 Commits

Author SHA1 Message Date
Karliss
6b660e7a48 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-02-27 23:37:57 +02:00
wargio
70024929af Build cutter native jsdec 2024-02-25 22:35:51 +08:00
wargio
2106551d00 Remove JSDec as decompiler and use rizin C api 2024-02-25 22:35:51 +08:00
Anton Kochkov
c20d2c61d6 Bump version to v2.4.0 2024-02-24 23:39:01 +08:00
Anton Kochkov
372b45c8b9 Update Rizin to the latest dev 2024-02-24 00:55:16 +08:00
Anton Kochkov
1a52a7eea4 Fix compilation error of undefined TRUE 2024-02-22 00:54:25 +08:00
Anton Kochkov
8574f0b0e4 Fix rz_core_analysis_bytes() API use 2024-02-22 00:54:25 +08:00
Anton Kochkov
0c96878500 Update Rizin to the latest dev 2024-02-22 00:54:25 +08:00
Anton Kochkov
acbb418447
Update translations (#3295) 2024-02-15 16:41:02 +08:00
Anton Kochkov
f97ab44072
Update rizin to latest dev & update jsdec to v0.7.0 (#3292)
* Update rizin to latest dev
* Use jsdec for rizin 0.7.0

---------

Co-authored-by: wargio <wargio@libero.it>
2024-02-13 22:54:02 +08:00
karliss
e7a5931c76
Include instruction highlighter in python bindings. (#3291) 2024-02-12 12:32:51 +08:00
Herman Semenov
7a812a11ec 'this' is not used in lambda function 2024-01-29 22:30:34 +02:00
Karthik Prakash
e3087e727a
Highlight matching braces in decompiler view (#3285) 2024-01-27 18:38:34 +02:00
Khairul Azhar Kasmiran
aabf442348
Use RzPVector for rz_bin_object_get_sections/segments (#3281)
* Use `RzPVector` for `rz_bin_object_get_sections`/`segments`

* Bump rizin submodule to latest
2024-01-13 18:39:13 +08:00
wargio
33882a2e15 small refactoring 2024-01-07 23:02:55 +08:00
wargio
4f004a2442 Update Rizin Dev 2024-01-07 23:02:55 +08:00
Giovanni
c4dd2eda7d
Update rizin, translation to latest dev and fix deadlock (#3279) 2023-12-29 15:17:36 +08:00
Anton Kochkov
8c03b14290
Update Rizin to the latest dev (#3278) 2023-12-25 21:22:06 +08:00
Anton Kochkov
a7246f9532
Add Bengali and Urdu translations (#3274) 2023-12-19 00:22:58 +08:00
Anton Kochkov
9fd65308fd
Add Korean and Vietnamese translations (#3271) 2023-12-05 07:28:35 +08:00
karliss
a6af2911dc
Simplify python binding include handling (#3268)
* Simplify python binding include handling

* remove duplicate code introduced in #2952
* specify include path using  multiple include-path lines instead  instead of single line with with directories separated by ; or :
* Fix macoS qt6 python bindings build
2023-11-29 10:34:23 +02:00
Florian Märkl
653435cb14
Update rizin to latest dev (#3266)
Some fields were changed from RzList to RzPVector in Rizin.
2023-11-19 12:15:42 +01:00
Karliss
7256fbb00e Temporary fix for command output to console widget.
* partially revert #3193 - printing the terminal escape sequences directly to text widget causes more issues than the tab problem it tried to fix
* move the conversation to html from command task to the console widget
* add hack converting tab to multiple spaces
2023-11-11 17:02:38 +02:00
Karliss
fe85af2560 Remove unnessary mouse grab.
* Causes warning spam with Qt wayland backend
* Can sometimes cause crash on wayland
* According to docs shouldn't be necesarry
2023-11-11 14:01:41 +02:00
Anton Kochkov
91f40f2f71
Update Rizin to latest dev (#3262)
* Update rizin to latest dev

* Update used RzBin resources API
2023-11-08 07:32:12 +08:00
Karliss
900b1a3e14 Fix decompiler widget crash when starting unsynced 2023-11-04 13:46:45 +02:00
Anton Kochkov
13953d213a Update translations 2023-11-01 00:28:43 +08:00
Anton Kochkov
bb5fe07659 Bump bundled Rizin version to 0.7 2023-09-26 10:51:49 +08:00
Dhruv Maroo
83391396b9 Start using RzPVector and CutterPVector instead of RzList 2023-09-26 10:51:49 +08:00
Anton Kochkov
3c682b0458 Update translations 2023-09-26 10:51:49 +08:00
Dhruv Maroo
de15212bb4 Update Rizin submodule to current dev 2023-09-26 10:51:49 +08:00
Dhruv Maroo
c8c625a830 Fix build failures when compiling Cutter with Rizin's dev
* `rz_debug_stop` returns an `int`, so we cannot cast it to
      `RxConsBreak`, which is a typedef of a function signature
      returning `void`
    * `rz_debug_bp_add` siggnatue was recently modified, and thus Cutter
       couldn't build with the new signature
    * `rz_bin_object_get_imports` was also modified recently to return a
      `RzPVector`, thus it also needed to be updated in Cutter
2023-09-26 10:51:49 +08:00
frmdstryr
1e1c93d9d1
Add 'Copy instruction bytes' to disassembly context menu (#3242) 2023-09-06 08:51:32 +08:00
Anton Kochkov
fc3e7c6378
Update translations (#3243) 2023-09-05 17:25:38 +08:00
frmdstryr
2730244ec1
Seek to first call if multiple references (#3240) 2023-09-04 22:52:07 +08:00
Anton Kochkov
f3e35a160f
Update translations (#3241) 2023-09-02 13:16:18 +08:00
Lion
8f707e4a69
append rizin results in plaintext to include tabs etc (fixes #3193) (#3236)
the output of rizin was formatted as html, which caused \n to become
<br/>, making it impossible to just use appendPlainText() as-is. We have
to tell rizin not to give us html, so that we can use \t in the output.

Simply replacing \t with spaces, `&emsp;` or similar doesn't work, as
the appendHtml() replaces multiple spaces with one.
2023-08-30 14:25:42 +08:00
8dcc­
238dd62165
Add optional arch packages to building.rst (#3234)
Add packages for KSyntaxHighlighter and graphviz
2023-08-28 11:30:13 +08:00
Anton Kochkov
4fec17bf05
Update translations (#3230) 2023-08-18 11:42:58 +08:00
Giovanni
28e7ca567c
Use tags for jsdec instead of master. (#3231) 2023-08-18 10:57:05 +08:00
Giovanni
215ab373d4
Translation fixes (#3227) 2023-08-11 09:52:05 +08:00
Anton Kochkov
aa9920ed11 Update translations 2023-08-10 12:10:26 +08:00
Anton Kochkov
a0f5eca191 Fix compiler warning 2023-08-05 10:22:22 +08:00
Anton Kochkov
dccbc7363b Update translations 2023-08-05 10:22:22 +08:00
Anton Kochkov
77aba60152
Update translations (#3219) 2023-08-04 12:51:07 +08:00
Anton Kochkov
66629d6288
Update Rizin to latest dev (#3218) 2023-08-04 11:43:03 +08:00
Anton Kochkov
3d30892a30
Add Global Vars widget, dialog, context menus (#3203)
* Add global variables support

- Add Globals widget
- Add global variable add/modify dialog
- Add "Add at" context submenu in Disassembly widget

Co-authored-by: Giovanni <561184+wargio@users.noreply.github.com>

---------

Co-authored-by: Giovanni <561184+wargio@users.noreply.github.com>
2023-08-04 10:17:35 +08:00
Anton Kochkov
041118dbd7 Reformat the code 2023-08-03 21:08:07 +08:00
Anton Kochkov
0d9851c1e0 ci: run clang-format.py script 2023-08-03 21:08:07 +08:00
Anton Kochkov
b3181b5493 Add clang-format script 2023-08-03 21:08:07 +08:00