Commit Graph

888 Commits

Author SHA1 Message Date
mandlebro
4424c3c45d Only enable emulation 2018-07-26 12:57:05 +02:00
mandlebro
c6e1d20907 Added register references to registerwidget tooltip 2018-07-26 12:57:05 +02:00
mandlebro
a4d160dd3d Added context menu to register refs 2018-07-26 12:57:05 +02:00
mandlebro
118ccbbdbf Added check for non-executable binary 2018-07-26 12:57:05 +02:00
mandlebro
6a87b342d7 Center label vertically in registers 2018-07-26 12:57:05 +02:00
mandlebro
c869a34d99 Added seeking, editing and colors to stack widget 2018-07-26 12:57:05 +02:00
mandlebro
9f0599d542 Fix location of breakpoint contextmenu 2018-07-26 12:57:05 +02:00
mandlebro
2f04984b37 preserve maximization choice when switching to debug 2018-07-26 12:57:05 +02:00
mandlebro
b16df2dc04 * Fix register editing in emulation 2018-07-26 12:57:05 +02:00
mandlebro
886f3f1746 * Fix horizontal scrolling in stack widget 2018-07-26 12:57:05 +02:00
mandlebro
d652241ec2 * Fix naming of program counter in contextmenu 2018-07-26 12:57:05 +02:00
mandlebro
a37eae39d9 Larger stack by default 2018-07-26 12:57:05 +02:00
mandlebro
a55147a0f5 Fix highlighting in RIP when restarting emu/debug 2018-07-26 12:57:05 +02:00
mandlebro
94c0f2b5c2 * Debug geometry is now customizable
* Preserve open widget when switching to and from debug mode
 * Fix wonky widgets when using readSettings
2018-07-26 12:57:05 +02:00
mandlebro
4314add765 Closing Cutter during debug stops the process 2018-07-26 12:57:05 +02:00
mandlebro
13c3ff4cf8 Added register references widget 2018-07-26 12:57:05 +02:00
xarkes
dde5d00b98 Fix wrong rebase 2018-07-26 12:57:05 +02:00
fcasal
971409b4ed Hack to fix continue until commands (#586) 2018-07-26 12:57:05 +02:00
fcasal
96f832dafb Monospace fonts (#584)
* Use preferences font in debug widgets and astyle cleanup
* Use pref font in backtrace widget
* Fix opening correct panel in the preferences dialog via the contextmenu
* Fix highlighting in selected instruction and RIP
2018-07-26 12:57:05 +02:00
fcasal
43215a06ac Add esil stack options and cleanup (#582) 2018-07-26 12:57:05 +02:00
fcasal
9f7b96281d Debugging shortcuts (#578)
* Added debug shortcuts and debug menu
* Added "Add breakpoint" shortcut
* Added debug shortcuts to readme
* Fix double memorymap ui
* Add bp F2 shortcut and fix toggling bp with shortcuts
2018-07-26 12:57:05 +02:00
mandlebro
41cfb78d13 updt r2 2018-07-26 12:57:05 +02:00
Florian Märkl
93596ed62c Fix AttachProcDialog include in DebugToolbar.cpp 2018-07-26 12:57:05 +02:00
fcasal
342fe77886 Added emulation support (#553)
* emulation start button

* add emul continue until syscall

* reopen file after stopping debug

* show debug context menu only when debugging

* updated r2

* Attach to running process

* fix bps issue in debug and attach mode

* renamed signal and added attach icon
2018-07-26 12:57:05 +02:00
fcasal
975e4c4a3d Added new buttons to breakpoint widget (#548)
* Added new buttons to breakpoint widget
2018-07-26 12:57:05 +02:00
fcasal
837ffef20f highlight PC line while debugging (#541)
* highlight PC line while debugging

* highlight PC correctly
2018-07-26 12:57:05 +02:00
fcasal
1f49440c02 Color debug toolbar when debugging (#545) 2018-07-26 12:57:05 +02:00
fcasal
fc94b896c4 Added Breakpoint widget (#546)
* Added breakpoint widget
2018-07-26 12:57:05 +02:00
mandlebro
2bfa3b7a3f fix saving settings when debugging 2018-07-26 12:57:05 +02:00
mandlebro
cd1656fc30 Added debug option to define program arguments 2018-07-26 12:57:05 +02:00
mandlebro
ac4751eb4a added debug option to change debug plugin 2018-07-26 12:57:05 +02:00
mandlebro
ffb3903311 add continue until call/syscall to toolbar 2018-07-26 12:57:05 +02:00
mandlebro
b1fa37a999 when quitting debug, we go to where we were before debug 2018-07-26 12:57:05 +02:00
mandlebro
40ce944381 added basic debug view and stop debug button to toolbar 2018-07-26 12:57:05 +02:00
fcasal
7eea0ed311 Debug toolbar (#521) 2018-07-26 12:57:05 +02:00
Florian Märkl
b74560eb0f Fix flagspace for initial script 2018-07-24 19:50:55 +02:00
Florian Märkl
2987bd833f Fix companion script loading 2018-07-24 18:49:52 +02:00
fcasal
390f30b124 Fix segfault when adding new graph widget (#592) 2018-07-24 09:02:35 +02:00
fcasal
afd6c2fd67 Fix export graph in contextmenu (#593)
It was only exporting the help text of ag
2018-07-24 09:01:34 +02:00
spec-chum
1fa4a5c6bf Added multithreaded compilation on Windows (#591)
* Added multithreaded compilation on Windows

* Changed tabs to spaces
2018-07-23 22:48:09 +02:00
Paul I
2ff84a3abe Update radare2 and fix prepare_r2.bat (#590)
* Fix prepare_r2.bat

* Update radare2 submodule
2018-07-23 20:36:14 +02:00
Florian Märkl
e0c7e625e4 Add R2Task class 2018-07-22 15:04:19 +02:00
Paul I
e4aec07f01 Meson: move some code from meson.py to src/meson.build (#588) 2018-07-22 14:10:52 +02:00
fcasal
662837e38e Fix opening correct panel in the preferences dialog via the contextmenu (#583) 2018-07-18 09:27:29 +02:00
Adam Zambrzycki
db682f6ef9 Added options to remove excessive spacing (#577)
* Add option to configure asm.tabs.off
* Add option to configure asm.cmt.col
2018-07-17 09:25:17 +02:00
Florian Märkl
806bd6346f Set r2 prefix before r_core_loadlibs() 2018-07-14 21:04:13 +02:00
Florian Märkl
4f545f9564 Version 1.6 2018-07-13 20:37:18 +02:00
xarkes
bf911b4ba2
Initialize settings earlier and disable jmptbl (#576) 2018-07-12 15:04:33 +02:00
Paul I
3569842ca6 Enable sorting for plugin lists (#566) 2018-07-09 09:34:46 +02:00
Florian Märkl
5777b1905c Do not show MainWindow if loading failed 2018-07-07 12:39:28 +02:00
Florian Märkl
9ecca8fe38 Reorder starting AnalTask and showing Dialog 2018-07-07 12:32:51 +02:00
xarkes
df61dcdc55 Fix HexDump HTML issues 2018-07-07 12:01:24 +02:00
xarkes
a84b703559 Fix empty IO 2018-07-07 11:57:04 +02:00
Florian Märkl
6f19e8c225 Fix unwanted jumping from Hexdump to Disassembly 2018-07-07 11:47:19 +02:00
xarkes
ecb5fc75cf Added IO list to NewFileDialog 2018-07-07 11:27:13 +02:00
xarkes
b222aaa094 Save last clicked tab in NewFileDialog 2018-07-07 10:47:46 +02:00
xarkes
c0fe9e2c3f Fix dont open any file option 2018-07-06 23:23:51 +02:00
Florian Märkl
125006b1c2 Optimize VisualNavbar Stats Loading 2018-07-06 18:00:26 +02:00
Florian Märkl
b10d132237 Remove unnecessary newline from VisualNavbar tooltip 2018-07-06 17:37:27 +02:00
Florian Märkl
8566e9e2b3 Fix VisualNavbar range 2018-07-06 17:32:50 +02:00
Florian Märkl
f12118f4d4 WIP VisualNavbar 2018-07-06 17:32:50 +02:00
Florian Märkl
7e8e182f72 Use p- in VisualNavbar 2018-07-06 17:32:50 +02:00
Maijin
9c6a103525 Fix #562, replace ?d. by aod 2018-07-03 20:15:20 -04:00
xarkes
9309486770 Cutter 1.5 release 2018-07-02 13:51:30 +02:00
xarkes
520bee81d5 Fixed highlight color in xref dialog 2018-07-02 11:11:06 +02:00
xarkes
22465615a4 Fixed weird widget priority behaviour and fix #514 2018-07-01 13:47:15 +02:00
xarkes
1e721ff32e Increase default graph maxcols 2018-07-01 10:59:10 +02:00
Florian Märkl
1a0f307dcb Add CutterCore::getBlockStatistics() 2018-06-29 12:34:01 +02:00
fcasal
0c1935d3f1 Refreshing now seeks to the correct offset (#552) 2018-06-27 17:33:21 +02:00
Florian Märkl
2293b608a8 Fix uninitialized fields in HexdumpWidget and VisualNavbar 2018-06-26 22:28:51 +02:00
Florian Märkl
2d98943c13 Fix initialization of some attrs in GraphView 2018-06-26 22:23:10 +02:00
Florian Märkl
a076b2ef7b Fix AsyncTaskDialog::interruptOnClose initialization 2018-06-26 22:11:26 +02:00
Florian Märkl
dd7a5f4eb6 Fix some warnings 2018-06-26 18:17:03 +02:00
xarkes
bfa495321a
C++ Plugins (#550)
* Added Cutter plugins listing
* Added SetupInterface callback
* Added seekChanged signal handling to plugin
2018-06-26 09:40:08 +02:00
Florian Märkl
83c6fd5d22 Fetch Functions in Task 2018-06-25 21:28:34 +02:00
Florian Märkl
400a2c184d Remove Callgrind Macros 2018-06-24 21:52:54 +02:00
Florian Märkl
05e49ee8a6 Disable Console QLineEdit when task is running 2018-06-24 21:16:57 +02:00
Florian Märkl
baf7abce60 Add ProgressIndicator for Tasks 2018-06-24 21:12:22 +02:00
Florian Märkl
c0397fdcb5 Run Commands from ConsoleWidget in AsyncTask 2018-06-24 21:12:22 +02:00
Florian Märkl
8b293bfe8c Add CommandTask 2018-06-24 21:12:22 +02:00
Florian Märkl
e3bd0612d9 Use r2 tasks for fetching strings 2018-06-24 21:12:22 +02:00
Florian Märkl
cc3ad67096 Fetch Strings asynchronously 2018-06-24 21:12:22 +02:00
Florian Märkl
2e26ead446 Get Strings from r2 API 2018-06-24 21:12:22 +02:00
Florian Märkl
88830cbd66 Update radare2 submodule 2018-06-23 14:01:11 +02:00
Itay Cohen
bd8243f24f Removed old Dark Theme, and replace it with the "Dark Grey" (#549)
* Remove old dark theme, and replace it with the "Dark Grey"

* Fixed comments
2018-06-22 17:57:26 +02:00
xarkes
b8e876ad9c
Made a quick open file dialog (#543) 2018-06-20 11:24:28 +02:00
mauronz
da2c4770fc Fix references to pkg-config in lib_radare2.pri for Unix (#540)
* Fix references to pkg-config in lib_radare2.pri for Unix
2018-06-19 16:16:22 +02:00
dok
db76bffbe3 widgets/disasm: Add shortcuts to change font-size
Add two shortcut for changing the font-size in the Disassembly window:
CTRL+PLUS : increase font size
CTRL+MINUS: decrease font size

Issue: #298
2018-06-17 17:41:35 +02:00
jcaesar
81aa85e461 Add appstream XML file (#536) 2018-06-12 15:03:01 +02:00
xarkes
2264353507 Reset settings do not modify architecture 2018-06-09 12:14:03 +02:00
fcasal
e8b024042b Added widget to view register values (#509)
* Added backtrace info
* Make stack printing arch agnostic
* Split into registers/stack/backtrace widgets
* hide table idxs in stacktable
* backtrace table header has register name instead of generic PC/SP
* imports cleanup
* add sorting to stack table
* add Qheaderview import
* Added button to set registers
* added color to recently changed register
* reorganized Windows tab and added stacking to debug widgets
2018-06-06 13:05:20 +02:00
Florian Märkl
14cfe74324 Use QSharedPointer for AsyncTask 2018-05-28 16:19:04 +02:00
Florian Märkl
7777707062 Remove Progress UI from OptionsDialog 2018-05-27 22:10:23 +02:00
Florian Märkl
39eee858e6 Fix Memory Bug in AsyncTaskDialog 2018-05-27 21:57:37 +02:00
Florian Märkl
5dbaefb176 Exit AnalTask if interrupted 2018-05-27 21:49:14 +02:00
Florian Märkl
4ce04c4f95 Refactor Analysis Options 2018-05-27 21:38:19 +02:00
Florian Märkl
f09d32bd3d Interrupt AsyncTask from AsyncTaskDialog 2018-05-27 18:45:30 +02:00
Florian Märkl
3e8b76138c Use AsyncTaskDialog for initial Analysis 2018-05-27 18:03:29 +02:00
Florian Märkl
896925736f Add Timer to AsyncTask 2018-05-27 16:51:33 +02:00
Florian Märkl
6dd71958e2 Add AsyncTaskDialog 2018-05-27 16:51:33 +02:00
Florian Märkl
68e57f536f Fix CMake build for Qt 5.11 2018-05-27 16:38:08 +02:00
Florian Märkl
7117846b3e Use AsyncTask for initial analysis 2018-05-26 20:17:01 +02:00
Florian Märkl
790dd4868e Add AsyncTask 2018-05-26 20:17:01 +02:00
Florian Märkl
49dabaab71 Optimize seekChanged in FunctionsModel #498 2018-05-25 20:55:05 +02:00
fcasal
0cea9e3287 Multiple graph/disasm/hexdump widgets and independent seeks (#504) 2018-05-25 16:30:59 +02:00
Florian Märkl
c4a4cb8a25 Fix Graph Local Check 2018-05-24 18:58:57 +02:00
Florian Märkl
e642406192 Replace DisassemblerGraphView::sent_seek with connect/disconnect 2018-05-24 18:58:57 +02:00
rrreeezzz
b857e724e8 Add a panel for zignatures #463 (#505) 2018-05-24 17:37:37 +02:00
Florian Märkl
cd776c24ef Avoid calling triggerRaisePrioritizedMemoryWidget() on every command 2018-05-24 15:42:27 +02:00
Florian Märkl
1ee7061c72 Remove unnecessary pass Statements 2018-05-24 10:41:01 +02:00
xarkes
2391b4eff6 Updated radare2 2018-05-24 08:21:12 +02:00
fcasal
7fdfad32f7 Added headers widget (#499) 2018-05-21 19:34:41 +02:00
Xaltonon
55be4efb8c Graph improvements (#500)
* Add antialiasing to graphview
* Make panning speed up/slow down with current zoom
* Made scrolling proportional to zoom level
2018-05-21 19:33:46 +02:00
Itay Cohen
8ac598f992 Fixed x-refs to Address (#495) 2018-05-14 17:21:59 +02:00
xarkes
24941611fe
g++ fix (#491) 2018-05-13 21:38:53 +02:00
Xaltonon
a04c633655 Replace placeholder icons in preferences window with SVGs (#493) 2018-05-13 20:59:33 +02:00
Itay Cohen
fad76ecddb Disable align to 0 of HexdumpWidget, highlight current seek (FIX #64) (#492)
* Disable align to 0 of HexdumpWidget, highlight current seek

Disabled the alginment to `0x???????0` and made the current seek the first column.
Added color to highlight the current seek address.

* fixed camelCase

* Fixed camelCase#2
2018-05-13 16:43:38 +02:00
Xaltonon
21400952f2 Add tree-structured config dialog (#489) 2018-05-13 09:52:49 +02:00
Xaltonon
58226dda0e Add forward/back functionality to mouse buttons (#490)
* Add forward/back functionality to mouse buttons
* Prevent other widgets from stealing mouseclicks for buttons 4 & 5
2018-05-13 09:50:01 +02:00
fcasal
4b148d74de Added ctrl+wheel zoom in graph view (#484) 2018-05-10 16:08:03 +02:00
xarkes
43b147c6eb Added message box when r_core_file_open fails 2018-05-08 22:44:53 +02:00
fcasal
8ab3a3664c Fixed switching between views in same offset (#483) 2018-05-08 20:09:05 +02:00
xarkes
73d395c2be Fix -B default value 2018-05-07 17:16:51 +02:00
xarkes
923a7e888c A bit of AnalThread cleaning 2018-05-05 15:20:36 +02:00
rrreeezzz
53a7d5a959 Button grayed out if no signatures/version info available #474 (#481) 2018-05-05 14:58:26 +02:00
Itay Cohen
eef5022469 Add entropy to Section widget (#480) 2018-05-05 12:11:44 +02:00
Itay Cohen
31c7289726 Fixed Entropy and baddr on Dashboard view (#479) 2018-05-04 12:50:57 +02:00
Paul I
bebc2ec36d More c++11 (#478)
* Replace 0 and Q_NULLPTR with nullptr
* Use c++11 foreach
2018-05-04 09:58:32 +02:00
fcasal
c4d7dd3383 Added copy address feature in graph/disasm (#476) 2018-05-03 09:53:01 +02:00
Paul I
a30ac22056 Refactor SectionsWidget to use Model/View archictecture (#475) 2018-05-03 09:52:30 +02:00
Paul I
fd829986af Refactor SymbolsWidget to use Model/View architecture (#473) 2018-05-02 14:06:31 +02:00
fcasal
df251dd514 Added new dark grey theme (#471) 2018-05-02 08:02:24 +02:00
fcasal
c0a3ec4481 Reordered related option (#470) 2018-05-01 21:54:51 +02:00
Paul I
41d2fdc690 Refactor CommentsWidget to use Model/View architecture (#469)
Add QuickFilter panel to CommentsWidget
2018-05-01 20:54:34 +02:00
rrreeezzz
f5f2c4702e Add a button "Version Information" in Dashboard (iVj) #317 (#468) 2018-05-01 20:53:14 +02:00
Paul I
e97c22f214 Windows dist: move r2 related data to <radare2> subdir (#466)
* Update radare2
* Windows dist: move r2 related data to <radare2> subdir
2018-04-30 22:03:31 +02:00
Paul I
eeec725b94 Little hack to distribute precompiled cutter_*.py files (#465) 2018-04-30 11:45:02 +02:00
Itay Cohen
5e4dff9639 Load radare script from Options Dialoh (#464)
* Initial implementation of radare script loading from OptionsDialog
* Fixed and removed redundant function
2018-04-30 08:39:48 +02:00
Paul I
d58e69d411 Add QuickFilter to RelocsWidget (#452) 2018-04-24 20:40:40 +02:00
xarkes
a815f8f182 Fixed actionSearch issue 2018-04-24 10:43:11 +02:00
xarkes
e0cb52fa2c Cutter 1.4 release 2018-04-23 19:47:32 +02:00
xarkes
09058ead57 Use default font values 2018-04-23 19:30:41 +02:00
rrreeezzz
756ebec512 Delete project with pop-up confirmation (#451) 2018-04-23 09:54:24 +02:00
Paul I
0ae021f9a1 Check QModelIndex/column before processing double click event (#450) 2018-04-23 09:54:06 +02:00
Paul I
09bfc9f3d0 Add QuickFilter panel for ImportsWidget and ExportsWidget (#449) 2018-04-23 09:53:35 +02:00
Florian Märkl
5f9018f5b9 Fix Error when shutting down Jupyter 2018-04-21 12:13:36 +02:00
Florian Märkl
9be6dba2c2 Temporarily disable Analysis after opening a file (Fix #446) 2018-04-20 14:34:32 +02:00
xarkes
45763f88b5 Fix some font size 2018-04-18 17:14:54 +02:00
rrreeezzz
6642f60f75 Add information about register used in a function #381 (#442)
* Add information about register used in a function #381
2018-04-18 11:13:08 +02:00
Florian Märkl
1e81aafb37 Use r_sys_prefix() for AppImage and macOS AppBundle (Fix #432) 2018-04-16 21:36:55 +02:00