Commit Graph

2499 Commits

Author SHA1 Message Date
Itay Cohen
7fc24b8b5d
Add window shortcuts to the docs (#2458) 2020-10-29 13:54:38 +02:00
Josh Maxwell
dd4a40bcc1
Fixes buggy line highlighting (#2444)
* Calling updateCursorPosition before moving cursor.

Previously the call to readCurrentDisassemblyOffset in
updateCursorPosition was causing essentially an off-by-one bug since the
cursor was moved prior to checking the current offset.

* Separated highlightCurrentLine and highlightPCLine logic so they can be
called independently when needed.

Previously logic for highlighting the PC was included in highlighting
the current line. This caused the PC to not be highlighed when the
current line was not on-screen and being highlighted.
2020-10-14 01:01:04 +03:00
xarkes
1cbbc45678
Automating translations updates (#2218)
* Automatically push new strings to cutter-translations
2020-10-10 21:00:34 +03:00
karliss
d971f30d25
Set executable icon in windows CMake build. (#2443) 2020-10-10 13:52:56 +03:00
Surendrajat
de74675861
GH Actions: use of set-env is deprecated (#2442) 2020-10-07 19:51:25 +03:00
karliss
c49cbc9f01
Add cmake script for packaging r2dec on windows. (#2425) 2020-10-03 13:50:57 +03:00
Stephan Bridger
38b317e619
Make Hexdump parsing view read-only (#2434) 2020-09-30 20:15:44 +03:00
Nikita Malakhov
ff609d31b3
Added 'LSOpenURLsWithRole() failed with error -10810' to troubleshooting section in the docs (#2436) 2020-09-30 20:08:04 +03:00
karliss
ad66718f37
Add CMake code for packaging r2ghidra on windows. (#2422) 2020-09-06 11:52:13 +03:00
karliss
1966c76ba7
Update windows CMake breakpad code. (#2421) 2020-09-05 11:25:34 +03:00
karliss
1adc30794b
Update cutter version to 1.12.0 (#2419) 2020-09-03 14:04:24 +03:00
karliss
fc83965555
Do not change the internal widget name to preserve layout. (#2418) 2020-09-03 11:57:49 +03:00
karliss
4ced45d650
Update r2 submodule. (#2417) 2020-09-03 11:03:56 +03:00
karliss
d0a3a042f5
Update Cutter versions and lock decompilers. (#2416) 2020-09-02 19:49:01 +03:00
karliss
aa218b7754
Switch r2 submodule to 4.5 branch. (#2415) 2020-09-02 13:46:37 +03:00
karliss
ff11944fe0
Update translations. (#2413) 2020-09-01 15:09:32 +03:00
karliss
078f40101f
Handle non ASCII characters in decompiler widget. (#2412) 2020-08-31 19:45:18 +03:00
NIRMAL MANOJ C
27dcefdb0c
User documentation for the new decompiler (#2394)
* Decompiler context menu documentation

* New features page with a decompiler section

Co-authored-by: ITAYC0HEN <itaycohen23@gmail.com>
2020-08-31 12:23:31 +05:30
karliss
503907909f
Create SyntaxHighlighter based on RAnnotatedCode. (#2409) 2020-08-31 09:00:55 +03:00
karliss
6fc902894d
CMake windows python packaging (#2406)
* First version of cpack scripts
* Fix python binding building using CMake on windows
* Package python and pyside in the cpack package
* Run windeployqt as part of packaging to include the Qt dlls and vcruntime installer
2020-08-30 23:23:41 +03:00
Oriol Castejón
2c84e07bfa
Add more options to the Analysis widget (#2405) 2020-08-30 16:17:14 +03:00
NIRMAL MANOJ C
d7ef6e9e91
Save layout of the Decompiler Widgets (#2410)
* Create decompiler widgets when loading a layout
* Do not translate the dock widget names used for saving layout.
2020-08-30 14:26:56 +03:00
NIRMAL MANOJ C
691de14853
Synchronized Decompiler and Enabling Multiple Decompiler Widgets (#2402)
* Sync/Unsync decompiler widgets.

* Add multiple decompiler widgets with its own decompiler and functions.

* updateWindowTitle() in widgets for decompiler, disassembly, and hexdump.
2020-08-29 10:45:47 +05:30
sagcan
ec22b01086
Disable Plugins menu if no plugins are installed (#2318) (#2401) 2020-08-28 21:17:31 +03:00
sagcan
013bdba902
Center 'Rename Function' dialog for Disassembly and Decompiler view (#2408)
Previously the 'Rename Function' dialog would pop-up in the top left
corner if triggered inside the Disassembly or Decompiler view. This
commit changes the behaviour so that the Dialog will now be pop-up in
the center of the MainWindow by simply replacing the 'parent' pointer of
the QInputDialog object with that of the mainWindow (this->mainWindow)
2020-08-28 21:06:52 +03:00
Rachel Mant
1955288058
Add shortcut for Advanced string definition and set focus to size specifier (#2340) 2020-08-25 06:44:33 +03:00
Surendrajat
abe43262c2
add minimal VS Code project config (#2393)
* add minimal VSCode project config

* update docs

* add extension recommendations


Co-authored-by: Itay Cohen <itaycohen23@gmail.com>
2020-08-24 20:03:29 +05:30
Surendrajat
05af1c6404
Add large bin foreground analysis issue (#2337) 2020-08-24 12:46:54 +03:00
tsunekoh
4fe94cd959
Do not open multiple setting dialogs to fix #2314 (#2392) 2020-08-22 19:49:21 +03:00
NIRMAL MANOJ C
b7d1059a1b Decompiler Documentation + Clean up (#2374) 2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
1c86f54c95 Edit/Rename Variables Actions for function variables (#2357)
* Edit Function Variables Action

* Rename Function Variables Action

* CutterCore::renameFunctionVariable
2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
6ed32d5d1d Xrefs action for references (#2352)
* X-Refs for references (functions, global variables, constant variables with addresses) in the decompiler.
2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
b42a19e995 Display jumping fix useless decompilation (#2351)
* save scroll position and reset to that if the newly decompiled function is the same as the previous one

* instructionChanged signal replaced completely by breakpointsChanged in toggle/add breakpoint functions.

* removed addbreakpoint(QString) and toggleBreakpoint(QString)
2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
37fc01478f Global variable actions and Show in action and refactoring (#2295)
* Show in action for global variables and functions
* Copy address of global variable or function referenced by the cursor selection
* Rename global variable
2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
eef9baa300 Action to rename functions in the decompiler context menu (#2286) 2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
88f837465f Intercept right-click event in the decompiler widget (#2281)
Update cursor before opening context menu for right-click
2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
8b4c58e07d Comment Menu for the Decompiler Context Menu (#2265) 2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
a4174271f6 Breakpoint Menu and Debug Menu in the Decompiler Context Menu (#2260) 2020-08-18 23:26:44 +05:30
NIRMAL MANOJ C
ea9f3f1831 Skelton for dedicated context menu + action to copy selection (#2256) 2020-08-18 23:26:44 +05:30
tsunekoh
2e573cc171
Explain how to build Cutter docs (#2380) 2020-08-16 08:48:13 +03:00
karliss
48192d799a
Get rid of circular include between Cutter.h and CutterPlugin.h (#2390) 2020-08-14 21:30:51 +03:00
yossizap
83cd7e8698
Update R2 submodule (#2378)
* Handle r2 sdb include path changes.
2020-08-13 17:08:39 +03:00
Gireesh
63d3acb8a2
Add "Documentation" button to the "help" menu (#2381) 2020-08-11 15:52:52 +03:00
Oriol Castejón
9e346275c5
Add new Analysis section to the Preferences widget (#2332) 2020-08-10 19:12:38 +03:00
karliss
724d3f26b4
Adjust r2 paths (#2338) 2020-08-08 18:43:43 +03:00
karliss
32adf0b5ba
Add examples for how not to use signals. (#2377) 2020-08-08 18:35:40 +03:00
karliss
d6d2e90028
Clazy warnings (#2371)
* Refactor some of the connect calls.
* Refactor more old style signal connect calls.
2020-08-07 17:18:42 +03:00
karliss
c149f38f11
Output colors in rgb:nnnnnn format instead of #nnnnnn. (#2376)
ec name #nnnnnn can get mixed up with comment.
2020-08-07 17:01:50 +03:00
karliss
dcb9970f91
Fix an off by 1 bug during hexwidget cursor blinking. (#2368)
1 pixel line sometimes remained on during hexwidget cursor blinking.
2020-08-04 21:19:17 +03:00
Gireesh
2d95786f6e
Improve building documentation (#2366)
* small changes in documentation

* small documentation change

* documents change

* Update docs/source/building.rst

Co-authored-by: Itay Cohen 

* changes done

Co-authored-by: gireeshvm <marathigireesh@gmail.com>
Co-authored-by: Itay Cohen
2020-08-04 14:10:56 +03:00