Commit Graph

965 Commits

Author SHA1 Message Date
xarkes
c9db0c47f6
Bump version (2) (#778) 2018-10-07 23:33:01 +02:00
xarkes
b3aca0810b
Version bump (#777) 2018-10-07 22:45:47 +02:00
xarkes
a98354f402
Hide debug plugins IO (#767) 2018-10-05 18:42:54 +02:00
Itay Cohen
005fd53193
fix redundent code (#763) 2018-10-04 18:33:19 +03:00
Itay Cohen
d3766fab12 Improve icon sizes and colors (#762) 2018-10-04 14:37:12 +01:00
smhaziq
d0b5f135b2 Fix Ctrl-F in Flag widget (#759)
* Fixed Ctrl-F in Flags widget
2018-10-04 09:51:22 +02:00
fcasal
dfa803966c Add colors to debug toolbar and string translation (#758)
* Added colors to debug toolbar icons

* Translate debug toolbar strings
2018-10-04 09:15:27 +03:00
mandlebro
d96150528d Debug toolbar update 2018-10-03 22:16:57 +02:00
mandlebro
bc72c53d01 Removed dr from debug start 2018-10-03 22:16:57 +02:00
mandlebro
0562c377fb Enable asm.flags in emulation 2018-10-03 22:16:57 +02:00
mandlebro
ad9d3ccb5f Enable continue in emulation 2018-10-03 22:16:57 +02:00
fcasal
cb173aa616 Attach update (#603)
* Handle process detaching
* List procs wth current filename in separate table;
* Refresh proc list every second
* Fixed restarting debug executable check
* Update r2
* Added option to break esil execution on invalid instructions (#597)
* Added continue until call in esil
* Remove set registers button
* Reordered backtrace widget columns
2018-10-03 22:16:57 +02:00
fcasal
08245a8694 Adds step out funcionality (#598)
* Added step out functionality to toolbar and its shortcut
* Remove step out button when emulating
2018-10-03 22:16:57 +02:00
jamieb122
be4144babe afvn/afvt support via context menu (#708)
* Added ability to re-type local vars in Dissassembly Widget.  Can re-type to any loaded structs, types or enums
* afvn support via context menu
2018-10-03 22:10:53 +02:00
Florian Märkl
0e4930c603
Fix macOS builds and disable QtWebEngine for builds (Fix #689, Fix #629) (#748)
* Fix Info.plist and disable QtWebEngine for builds

* Add CFBundleShortVersionString to Info.plist
2018-10-02 12:54:23 +02:00
xarkes
ec815195cf
Astyle pass (cleaning) (#739) 2018-09-30 22:00:53 +02:00
xarkes
0aace76065
Make default mode being zen (#732)
* Make default mode being zen
* Added imports widgets
* Make dashboard default
2018-09-30 22:00:44 +02:00
xarkes
c3d029e5aa
Keep graph priority if the graph is empty (#734) 2018-09-30 19:46:36 +02:00
xarkes
484cc63214
Disabled QtWebEngine by default. (#728) 2018-09-28 09:40:55 +02:00
Itay Cohen
91a5d9a6d6
add Filename to Title (#726) 2018-09-27 14:16:07 +03:00
Itay Cohen
50e786cbf0
fix editable hex widget (#725) 2018-09-27 12:56:03 +03:00
xarkes
d6a39b127b
Temporary fix for #703 (#724) 2018-09-27 10:24:47 +02:00
Itay Cohen
23757da471 Fix Drag and Drop issue at Windows (#723) 2018-09-27 09:50:06 +02:00
Itay Cohen
95f4d0fbc4
RefreshAll after executing an r2 script (#722) 2018-09-26 22:05:32 +03:00
xarkes
4e71b61a8b
Do not delete running tasks (#721) 2018-09-26 15:48:57 +02:00
fcasal
ce54e4ea8f Remove unneeded menu (#720) 2018-09-26 14:43:37 +02:00
Florian Märkl
96bf32b86a Fix CutterCore::loadScript() for sleeping 2018-09-23 21:58:02 +02:00
Florian Märkl
5c52991cd8 Update r2 and use R_PERM flags 2018-09-22 19:05:54 +02:00
Adam Zambrzycki
6fe3681871 Fix instruction preview dialog (#714) 2018-09-21 23:44:14 +02:00
Florian Märkl
f6955e4eab Fix Jump Tables (Fix #574) 2018-09-20 16:50:54 +02:00
Florian Märkl
4a3435f2bf Add Qt Network to CMake 2018-09-17 15:13:13 +02:00
Vasco Franco
387138908b Write operation failure dialog (#695)
* Write operation failure dialog
* Option to reopen the file in write mode after write failure
2018-09-14 19:20:54 +02:00
optizone8
a40c1ce4bf Add update check(#684) (#704)
* Add update check(#684)
2018-09-13 08:32:14 +02:00
Florian Märkl
6f85616538 Better xref address descriptions 2018-09-11 11:59:28 +02:00
Rune Tynan
a6a8d5a760 Add instruction preview to the bytes edit dialog (#696) 2018-09-09 19:55:13 +02:00
Florian Märkl
e3896dd01f Fix #400 - Support r2dec 2018-09-08 09:32:40 +02:00
Vasco-jofra
f7d1ce8771 fix segfault when pressing f or t in graph mode without a defined func 2018-09-08 09:13:20 +02:00
Vasco Franco
9501ecf38c update offset at startup (#681) 2018-09-06 19:32:12 +02:00
Paul I
ebc9b3e8bb Use RC_ICONS for icon (#677) 2018-09-06 09:26:19 +02:00
xarkes
2e97d3fa5a
Added icon for Windows (Fix #670) (#674)
* Added icon for Windows

* Fix resource file
2018-09-05 18:53:57 +02:00
fcasal
95a7d5f210 Fix #252 - select all lines with the selected offset (#673) 2018-09-05 14:47:09 +02:00
xarkes
66dcaea5bb
Initialize python home before calling any python primitive (#672) 2018-09-05 08:27:33 +02:00
xarkes
c6260b5dcb
Rename macro for travis (#671) 2018-09-05 07:46:40 +02:00
fcasal
590f9fb7b9 Add objectName to Sections widget 2018-09-02 11:23:28 +02:00
Paul I
ef0cb8074e Restore menus for MainWindow 2018-09-01 18:23:02 +02:00
Paul I
ebce2f1ac0 Kill PieChart (#661)
Kill PieChart (Fix #653)
2018-08-27 13:19:30 +02:00
Paul I
f5edf6f213 Add Core()->message() (#658)
* Add Core()->message()

* Remove MainWindows::addOutput

* Use qDebug() for debug messages

* Add message() to PythonApi

* MainWindow: Replace Core() calls
2018-08-27 13:16:48 +02:00
Florian Märkl
239a4bb620
CutterConfig.h (#663)
* Configure CutterConfig.h

* Configure CutterConfig.h in cmake

* Configure CutterConfig.h with meson
2018-08-26 20:37:11 +02:00
Florian Märkl
f3dba964d2 Use qtmaind.lib for debug builds with meson on Windows 2018-08-26 15:24:19 +02:00
Paul I
c6787fd58d Export graph as SVG, PDF, PNG... Fix #242
Export graph as SVG, PDF, PNG... Fix #242
2018-08-25 20:54:23 +02:00
Florian Märkl
ec2807a897 Fix Companion Script 2018-08-25 13:51:50 +02:00
Florian Märkl
d510897ad1 Version 1.7.1 2018-08-25 12:53:09 +02:00
Paul I
5342651e67 Add 'Export as code' feature (#657) 2018-08-25 00:36:15 +02:00
xarkes
9316ff8e92
Fixed #643 empty strings panel (#655) 2018-08-24 18:06:07 +02:00
xarkes
c2fb4ad2fe
Updated radare2 submodule (#652) 2018-08-23 18:44:26 +02:00
Zlatan
4782ac0945 Specify require for QT (#646)
Just a line of code to bloc people when he tries to compile with QT4.
2018-08-20 17:27:35 +02:00
Florian Märkl
49632b2ee4 Don't use native macOS Font Dialog (Fixes #630) 2018-08-20 14:47:28 +02:00
Florian Märkl
f92fb71b0e Make af from DisassemblyContextMenu more meaningful 2018-08-18 21:55:30 +02:00
Florian Märkl
08e55827b7 Fix Default Anal Level 2018-08-18 21:19:53 +02:00
Itay Cohen
57d801612a
fixing graphOptions layout (#640) 2018-08-18 20:13:47 +03:00
Florian Märkl
bab57dea4d Add -i Command Line Arg 2018-08-18 18:34:58 +02:00
Florian Märkl
23e2d5fa9f Use InitialOptions right from the start 2018-08-18 18:34:58 +02:00
Florian Märkl
c2a0de2b31 Rename OptionsDialog to InitialOptionsDialog
And move InitialOptions to InitialOptions.h
2018-08-18 18:34:58 +02:00
Itay Cohen
67019bc892
Navbar color improvements (#628) 2018-08-18 09:07:54 +03:00
Florian Märkl
f4ebd72301 Version 1.7 2018-08-17 19:50:10 +02:00
Itay Cohen
0bdda99596
Fixing #625 - EditInstruction ignores reject() (#626)
* fix #625
2018-08-17 17:34:11 +03:00
Adam Zambrzycki
336c20a955 Graph highlighting (#624)
* Add saving instruction plaintext
* Add graph highlighting
* Remove HighlightToken
2018-08-16 16:05:48 +02:00
Paul I
bb3ff2dc54 Fix #619 (#623) 2018-08-15 23:31:01 +02:00
Florian Märkl
b9436683d5 Fix OptionsDialog initialization warning 2018-08-15 20:09:15 +02:00
Adam Zambrzycki
0c7b8f09be Fix disassembly colors (#617)
* Fix loading colors from radare
2018-08-15 10:45:15 +02:00
xarkes
f98a175c5c
Set bits for analysis after loading the binary (#618) 2018-08-14 17:07:52 +02:00
Itay Cohen
bf07f2a002 UI Improvemetnts + graph.offset implementation (#612)
* Add getBreakpointsAddresses to list breakpoints offsets

* Add breakpoint highligthing and improve of disassembly UIs

* Improve dialogs and positions

* Add graph,offset option to preference

* Tiny text fix

* Updated radare2 sumodule
2018-08-12 18:20:16 +02:00
Vanellope
ae69dc07dd adding Open Shellcode function to the New menu mode (Fix #547) (#609)
* layout done for the shellcode paste function

* paste shellcode functionality done

* fixed a bunch of things for the comments

* replaced the old qregexp with the latest one and some tweaks
2018-08-10 19:12:00 +02:00
Paul I
eb06789958 Add Set to Code/Data feature (#602) 2018-08-04 20:05:56 +02:00
xarkes
f25d93b053 Fix #604 - Forbid double clicking on ok 2018-08-01 21:31:57 +02:00
fcasal
d35f8f64f9 Added continue until call for emulation (#599)
* Added continue until call for emulation
* Updated r2
2018-07-30 08:55:58 +02:00
fcasal
94f417c1ff Added option to break esil execution on invalid instructions (#597)
* Added option to break esil execution on invalid instructions

* update r2
2018-07-27 14:00:23 +02:00
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