Commit Graph

2550 Commits

Author SHA1 Message Date
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
Giovanni
3e74b9ad67
Fix arrow line calculation when disasm line is has multiple newlines. (#3217) 2023-08-03 20:36:34 +08:00
Giovanni
3bcafe9625
Bump rizin dev (#3212) 2023-08-02 23:04:28 +08:00
Anton Kochkov
6a48b97402
Enable Ukrainian translation (#3213) 2023-08-02 18:03:52 +08:00
Anton Kochkov
08d5c7aed7
python: disable deprecated API for newer versions (#3210) 2023-08-02 15:21:53 +08:00
Anton Kochkov
de0e55d684
python: use proper way to return None (#3209) 2023-08-02 14:30:05 +08:00
frmdstryr
7418f9c76c
Show disassembly var tooltips (#3206) 2023-07-30 16:37:52 +08:00
Anton Kochkov
d1da807de1
Update Rizin to latest dev (#3207) 2023-07-21 16:13:26 +08:00
Anton Kochkov
b757f85350
Add few missing tr() string wrappers (#3204) 2023-07-07 09:24:19 +08:00
Anton Kochkov
61710535bf
Update Rizin to latest dev (#3201) 2023-06-29 17:12:59 +08:00
Giovanni
cf14fd1006
Add Tools > BaseFind + command line options (#3198)
* Add Tools > BaseFind
* Rewritten how cutter parses and stores the initial options
* Update docs and fixed comments
* Add missing endianness option
2023-06-25 11:42:23 +08:00
wargio
579ac236b6 Implement RzIL statement graph 2023-06-20 17:31:49 +08:00
Giovanni
4742003ff4
Update rizin & translation submodules (#3194)
* Fix plugins paths for windows builds due recent changes in rizin
* Disable openssl support for yara win
* Disable use_sys_yara in linux/osx/win builds
2023-06-20 16:40:57 +08:00
wargio
44917603fa Disable KSyntaxHighlighting on Qt6 2023-05-20 13:05:43 +08:00
Anton Kochkov
da7fc439db Rename PYSIDE_INCLUDE_DIR to PYSIDE_INCLUDE_DIRS 2023-05-20 13:05:43 +08:00
Anton Kochkov
aa40f69458 Specify PySide version in bindings template 2023-05-20 13:05:43 +08:00
Anton Kochkov
93f88263a0 Address Python and PySide API changes 2023-05-20 13:05:43 +08:00
Anton Kochkov
553a8eef5c Specify include paths for Shiboken 2023-05-20 13:05:43 +08:00
Anton Kochkov
e78a1fe9ed Add FindPySide6 CMake module 2023-05-20 13:05:43 +08:00
Anton Kochkov
48c8e0c44d Allow building Python bindings with Qt6 2023-05-20 13:05:43 +08:00
Anton Kochkov
9bfe0c4e1d
Use Ubuntu 18.04 docker image (#3180)
Co-authored-by: wargio <wargio@libero.it>
2023-05-15 20:37:45 +08:00
Lucas Hosseini
a5fa4103b2
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 12:59:13 +08:00
Giovanni
3ccccae291
Fix broken English in UI (#3184) 2023-05-13 10:22:05 +08:00
Lucas Hosseini
a6a7667852
Keep scroll history in decompiler widget. (#3177)
* Keep scroll history in decompiler widget.

This commit adds a `scrollHistory` on top of the rizin-managed
history, that keeps track of the scroll position within decompiled
functions.

* Fix clearing history upon init.
2023-05-13 05:57:35 +08:00
Lucas Hosseini
f1a421c9f6
Fix disassembly scroll history. (#3183)
Avoid calling `erase()` when `topOffsetHistoryPos + 1 >=
`topOffsetHistory.size()`.

closes #3181
2023-05-12 19:52:41 +08:00
Anton Kochkov
3e402c225e
Update Hindi, French, Russian translations (#3182) 2023-05-12 14:48:27 +08:00
Giovanni
5a12f7c626
Fix 'Rizin Graph' widget (#3179) 2023-05-11 13:44:33 +08:00
Lucas Hosseini
beec78b4e2
Keep topOffset history in disassembly widget. (#3171)
This commit adds support for a `topOffset` history (on top of the
rizin-managed history), that keeps track of the offset of the top
instruction in the disassembly widget.

closes #2970
2023-05-11 09:16:06 +08:00
Lucas Hosseini
b63ea5b3e4
Disable expandsOnDoubleClick for Functions widget. (#3172)
closes #2788
2023-05-09 09:49:43 +08:00