Commit Graph

2228 Commits

Author SHA1 Message Date
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
Radwan Selo
2cfa4916c3
Xrefs enhancement (#2362)
* Add number of found results to xrefs dialog
* Hide xref from if the item is not an VA
2020-08-03 20:11:02 +03:00
karliss
8f5fbeddde
Refactor old style macro based signal connect. (#2360) 2020-08-03 12:13:39 +03:00
karliss
45daf2d1d5
Prevent potential crash when opening theme editor dialog. (#2359) 2020-08-02 17:32:17 +03:00
karliss
7c9c7e6fe4
Add symbol exports. (#2345)
* Add symbol exports required for external native plugins to work on Windows
* Make Linux build behave more like Windows so that missing export
annotations can be more easily detected.
2020-08-01 17:14:30 +03:00
karliss
e3aeb770ee
Create minimal widows CMake build job. (#2356)
* Create minimal widows CMake build job.
2020-08-01 17:07:19 +03:00
karliss
186ad03fdb
Use previos Appveyor image because shibokken doesn't work on latest one (#2347) 2020-07-30 11:56:47 +03:00
karliss
0a15b2f55a
Temporary workaround for brew problems in github actions. (#2346) 2020-07-29 23:16:42 +03:00
NIRMAL MANOJ C
f2a867ca28
Xref for function variables in disassembly view (#2297) 2020-07-28 22:49:50 +03:00
Surendrajat
cf96775b74
issue-template: add downloaded Cutter from website (#2336)
Co-authored-by: Itay Cohen <itaycohen23@gmail.com>
2020-07-27 09:48:25 +05:30
Itay Cohen
0c4f6cd024
Fix double jquery in docs (#2335) 2020-07-26 17:05:16 +03:00
Surendrajat
79b2314e5a
misc. documentation updates (#2259)
* move building errors to the troubleshooting section

* add submodule out of sync issue to troubleshooting

* changes to get cutter section

* move common issues to user docs

* add error related to submodule not in sync

* Grammarly scan on all the docs

* update contribution guide now that common-errors is split
2020-07-26 10:26:46 +05:30
Itay Cohen
e0bfcccb87
Change "Run Script" to "Run radare2 script" (#2330)
* Improve "Run script" title to make it more clear
* Update docs to reflect the change
2020-07-25 20:44:03 +03:00
Jan Deinhard
73f99c696f
Fix sorting resources by index, vaddr and size (#2308)
* Fix sorting resources by index, vaddr and size
2020-07-25 11:32:44 +03:00
karliss
00595da5ab
Update version to 1.11.0. (#2327) 2020-07-24 14:07:07 +03:00
karliss
7ca6a1eda0
Update translation submodule and add the new languages. (#2320) 2020-07-23 21:08:16 +03:00
karliss
781a7c6288
Install the python used for build scripts using pyenv (#2323) 2020-07-23 19:15:42 +03:00
karliss
a0eb9e3fa9
Remove debug output. (#2315) 2020-07-22 11:57:26 +02:00
maraflush
d3e5245441
Document the location of the documentation (#2306)
* add notes to explain the documentation is split in two on cutter.re repository and the Cutter repository
2020-07-22 11:05:21 +03:00
karliss
6ba1834f6d
Update version number to 1.11.0-rc1. (#2313) 2020-07-21 22:00:34 +03:00
Itay Cohen
6e0ed8142c
add SECURITY.md (#2312) 2020-07-21 17:12:35 +03:00
karliss
249ad7ad0e
Don't use @a: for listing cpus. (#2307)
For some architectures like 8051 doing @a: has sideeffects.
2020-07-21 14:08:35 +03:00