Commit Graph

1555 Commits

Author SHA1 Message Date
Rune Tynan
3400314cd2 Change edit dialog to allow no preview (#869)
* Change edit dialog to allow no preview

* AStyle fixes

* More style fixes, forgot some files
2018-10-23 08:06:26 +03:00
Paul
528adf429a Fix segfault in EditFunctionMenu (#868) 2018-10-23 00:31:50 +02:00
Michael Wiarda
f0fc9fc5e3 Disable the debug window menu outside Debug/Emulation mode (resolves #859) (#860)
The debug windows menu is now grayed out if not in Debug/Emulation mode.
2018-10-22 20:06:30 +02:00
Paul
899d64c6f8 Edit Function Menu/Dialog (#528) (#765)
* button added, dialog todo

* WIP EditFunctionDialog

* dialog retrieving function parameters, but not yet setting them

* minor fixups, ok button not working

* wire everything up and add calling convention selection

* fixup Cutter.pro
2018-10-22 12:16:55 +03:00
Ankur Saini
04148a6834 Minor Changes to Hexdump Widget (#863)
* Minor Changes to Hexdump Widget

* Some changes to side view

* Minor change to placeholder text
2018-10-21 20:07:02 +03:00
Florian Märkl
4167b3828f Fix exit() calls in CutterApplication constructor 2018-10-21 19:03:47 +02:00
tushar khurana
3347104cf1 Enable colors for ConsoleWidget (#823) 2018-10-21 16:53:38 +02:00
Vanellope
ac64bbface Segments implemented (#851)
* Segments implemented

* Not util anymore but common

* Fixed the strings to be shown as the headers better

* Quick Filter functionality is supported on both Section and Segment Widget

* QuickFilter should basically be on but for some widgets, they should be off
2018-10-20 21:20:06 +03:00
xarkes
d3572b9eb5
Updated Appstream metadata file and desktop name (#854) 2018-10-20 10:10:00 +02:00
xarkes
989555872e
Changed Cutter.sh to Cutter for macos (Fixes #787) (#853)
* Changed Cutter.sh to Cutter for macos (Fixes #787)
2018-10-19 01:36:31 +02:00
Ankur Saini
d5513c66dc Added Close and Reopen button to HexWidget SideView (#852) 2018-10-18 21:36:46 +02:00
Florian Märkl
d4a77d9c97 Rename src/utils to src/common 2018-10-17 15:24:56 +02:00
Florian Märkl
a13a620017 Clean up some unused things 2018-10-17 09:47:47 +02:00
Itay Cohen
0567114b09
Bye bye "General Settings", welcome "Appearance" (#837)
* Bye bye "General Settings", welcome "Appearance"

* Fix Windows header

* fix typo
2018-10-17 10:30:56 +03:00
Vanellope
842dda45bd Adding a header to the DisassemblyWidget to show the function prototype (#771)
* Adding a header to the DisassemblyWidget to show the function prototype

* Moving the afcf headerLabel functionality to the GraphWidget

* In middle of implementation

* In middle

* syntax highlighter added

* Implementation done.

* Fixed the changes that were not necessary.
2018-10-16 17:49:26 +03:00
icebp
4b454e086e create keyboard shortcuts for widgets (solve #733) (#819)
* Add shift-F12 shortcut for strings widget.

* change strings shortcut to use global map

* add Shift-I shortcut for Imports

* add Shift-E shortcut for Exports

* add Shift-G shortcut for Graph view

* add widgets shortcuts map file

* update widget checkboxes when using shortcuts
2018-10-16 09:25:09 +03:00
Itay Cohen
25b4301906
Minor fixes to function-widget's tooltip (#836) 2018-10-16 09:20:44 +03:00
a1ext
9118deebf3 Fixed #807 - Function summary displaying in tooltip (#831)
* Fixed #807 - Function summary displaying has bad disasm preview formatting (-monospace font)

* FunctionsWidget: tooltip has made less transparent, hardcoded constants utilization refactored, replaced raw command with json'ed one, added some space between paragraphs in tooltip (thanks to @ITAYC0HEN's advice)
2018-10-15 21:54:52 +02:00
Ankur Saini
3dc71c90d2 Added Context Menu to Strings Widget (#817)
* Added Context Menu to Strigns Widget

* Fixed slot getting called twice without Qt::UniqueConnection
2018-10-15 11:06:15 +02:00
a1ext
781235ba87 Fixed #795 (#829)
Thanks! Resolves #795
2018-10-15 07:11:47 +03:00
Adam Zambrzycki
4dda930410 Fix non-mono font token highlighting on graph (#825) 2018-10-14 17:44:49 +02:00
a1ext
ff4bbb9aa0 Fixed commit c8f02fd - logic bug with close window flag (#826) 2018-10-14 17:43:15 +02:00
Florian Märkl
bd600ee737 Remove isForbidden() 2018-10-13 19:06:26 +02:00
optizone8
2105b1fba2 improve option desctiption displaying (#814) 2018-10-12 15:23:37 +02:00
Florian Märkl
a9c09339cf Fix Command Line Args when skipping InitialOptionsDialog 2018-10-12 13:24:08 +02:00
Florian Märkl
705735c150 Update r2 submodule with ptrace-wrap 2018-10-12 13:15:16 +02:00
Florian Märkl
d625681391 Fix standardR2ThemesLocationPath 2018-10-12 12:52:18 +02:00
Florian Märkl
a73492a718 Fix asm.var.sub* fetching in AsmOptionsWidget 2018-10-12 11:02:28 +02:00
a1ext
ea1080f412 [Fix] Fixed issue #805 - wrong handling of Close button in Save Project dialog which had a Discard meaning (#806) 2018-10-12 10:08:04 +03:00
NieGrzegorz
ac4beedbd7 Don't show the "Load Options" dialog when choosing "Don't open any file" (#800)
* Don't show the "Load Options" dialog when choosing "Don't open any file" #712

* Load option only if skipOptionsDialog flag isn't set
2018-10-11 16:04:57 +03:00
Ankur Saini
7c37d3413f Fixed an extra empty row inside Vertical View in Function Widget (#797)
* Fixed an extra empty row inside Vertical View in Function Widget

* Should use full column name inside Vertical view
2018-10-11 15:05:47 +03:00
optizone8
8bf4058499 runtime crash fix (#799)
* folders mess fix

* improvements

* remove dot and dotdot from search list

* array bound check
2018-10-11 14:35:59 +03:00
Vanellope
c18912b74c Indicator that tells a command is being executed is implemented. (#789)
* Indicator that tells a command is being executed is implemented.
2018-10-10 20:09:07 +02:00
smhaziq
7c7cb4083c Add status bar and display items count (#779)
* Add status bar and display items count
2018-10-10 14:34:46 +02:00
Paul I
8d3e8a65e1 Remove useless begin-/end-ReloadModel methods (#793) 2018-10-10 13:33:55 +02:00
optizone8
cd4b86fa69 WIP: Color scheme feature (#709)
* shiny commit
* removes extra displaying of custom schemes
2018-10-10 11:37:24 +02:00
Ankur Saini
b298ce8325 Added extra function information to function widget (#788)
* Added Extra Information to Functions Widget
* Sorting enabled through recently added columns in Functions Widget
2018-10-10 08:41:16 +02:00
a1ext
6398df6880 [NewFileDialog] filling recent projects list at startup has been added (#785) 2018-10-09 12:18:59 +03:00
Vanellope
116ffddb6a Remove an inappropriate line (#775)
* Remove a dispensable function
* fix for a comment
2018-10-09 01:04:18 +02:00
xarkes
25e45c8ca2
Changed default theme to Cutter (#780) 2018-10-08 09:20:46 +02:00
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
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
Florian Märkl
6934d785f4 Limit Disassembly scrolling from 0 and RVA_MAX 2018-04-15 19:06:05 +02:00
Florian Märkl
b8594e3bf5 Remove White Border from Console Input 2018-04-15 15:42:20 +02:00
Florian Märkl
dc871ca8a1 Revert "Added Zip to cmake Fix #433"
This reverts commit abfb29d5c8.
2018-04-13 17:25:03 +02:00
Florian Märkl
73848d26e7 Fix initial Hexdump Loading with Limits 2018-04-13 16:48:10 +02:00
Florian Märkl
1c58e2706c Limit Hexdump Scrolling from 0 to RVA_MAX 2018-04-13 14:21:39 +02:00
Florian Märkl
d3b8bcb62a Fix blank lines when scrolling up Hexdump 2018-04-13 11:36:30 +02:00
Florian Märkl
2af51a1af0 Fix Hexdump Scroll Up Loading 2018-04-13 11:29:11 +02:00
Florian Märkl
839ec9fffe Fix seeking to anything but Adresses in Omnibar 2018-04-13 10:55:54 +02:00
Abdel-Rahman A
c79106ef84 Use Core() everywhere (#440) 2018-04-12 08:33:30 +02:00
Abdel-Rahman A
05fe4e60ea RelocsWidget: Change from QTableView to QTreeView (#439) 2018-04-12 08:33:03 +02:00
Abdel-Rahman A
e1f17db235 Refactor ImportsWidget to a view and a model (#438)
* Refactor ImportsWidget to a view and a model
* Remove unused delegate
2018-04-12 08:32:31 +02:00
fcasal
7181c81a2b Added /v search ability and usage hints in the box (#435) 2018-04-11 11:55:37 +02:00
xarkes
d263778ad2 Radare2 update 2018-04-11 11:44:01 +02:00
xarkes
abfb29d5c8 Added Zip to cmake Fix #433 2018-04-11 11:19:07 +02:00
rrreeezzz
997b68ac38 Add more information in Function Panel #382 (#436)
* Add more information in Function Panel #382
* Fix sort
* Fix calltype
* Fix build dir
2018-04-10 20:34:11 +02:00
Paul I
ec8d54b597 Remove cutter_win32 dir (#430) 2018-04-05 10:05:00 +02:00
xarkes
6f14b3c0e3 Added cutter.refresh() to jupyter API 2018-04-04 16:30:30 +02:00
Abdel-Rahman A
c8fdf4b193 Use qhelpers::adjustColumns in all widgets (#423) 2018-04-01 10:25:31 +02:00
xarkes
459aaf482f Fix multiple poping DisassemblyWidget 2018-03-30 18:23:59 +02:00
xarkes
d4903c0f3d Pseudo fix for #422 2018-03-28 11:25:40 +02:00
xarkes
8afc02dd4e Hexdump and Pseudocode widgets colors Fix #410 2018-03-25 19:34:25 +02:00
David Roman
87ee023235 Add dir.projects cutter setting (#416) 2018-03-25 18:58:34 +02:00
int 0x80
0ecc0ed113 Allow to run Cutter without any file opened #404 (#419)
* Allow to run Cutter without any file opened #404
2018-03-25 14:36:14 +02:00
xarkes
152503a936 Segfault fix 2018-03-25 13:21:07 +02:00
Abdel-Rahman A
5001d395af Refactor RelocsWidget to a model and a view (#418) 2018-03-25 12:57:55 +02:00
Florian Märkl
adb311a122 Move default AsmOptions code to Configuration and shorten it (#415)
* Correct asm.cmtright to asm.cmt.right
* Add asm.flgoff to Disassembly Options
* Add Configuration::get/setConfig
2018-03-22 09:42:54 +01:00
Florian Märkl
0cc1f23826 Add --keep-one-line-blocks to astyle 2018-03-21 23:10:52 +01:00
xarkes
3cd71f75e1 Changing coding style 2018-03-21 21:33:40 +01:00
Paul I
b14be4acb2 Some little fixes (#411) 2018-03-20 21:44:00 +01:00
int 0x80
bba02f4b9d Add a button Certificate in Dashboard (iCj) Fixes #316 (#409)
* Add a button Certificate in Dashboard (iCj) #316
2018-03-17 20:26:51 +01:00
Nics
c4e8a1c178 Small refactor for the widgets of Cutter (#405)
* Small refactor for the widgets of Cutter

This refactor include the following :

* Creation of a new class
Creation of a new class, named CutterWidget, that inherits from QDockWidget and
is used to represent all of the widgets of the main window.
The goal of this class is to regroup all the behaviour shared by the widgets of
Cutter.

For example : in the constructor, instructions corresponding of those
present in the macro **ADD_DOCK** (in MainWindow.cpp) are executed.
This was made because I think that the macro **ADD_DOCK** which is used
to construct the widgets does not take advantage of the object structure.

* Ensure that every widget has a parent
Some widgets were created using the constructor QDockWidget, but using
**nullptr** (default) as argument, thus they haven't got any parent.

The constructor of a CutterWidget takes as argument the MainWindow and an
action (optional) and calls the constructor of QDockWidget with the main
window as argument. This is valid under the assumption that it is mandatory
for every widget to have the main window as a parent.

* Constructors removal
The constructors of some widgets are not used anywhere and does not seem not
fullfill any current usecase. They were removed.

* Renaming CutterWidget to CutterDockWidget
2018-03-16 22:46:57 +01:00
Florian Märkl
98ea17c85a Make CUTTER_ENABLE_* individual vars in qmake 2018-03-16 18:37:38 +01:00
fcasal
0a252bda7b Added rop gadget search (#403) 2018-03-16 10:07:41 +01:00
Mohd Shahril
8a71d1bb07 SectionsWidget - remove unnecessary dot checking (#392) 2018-03-13 14:53:53 +01:00
Florian Märkl
cd28e00bb5 Add FlagsWidget Context Menu 2018-03-11 17:40:52 +01:00
Florian Märkl
6b7a5c9227 Add Flags Source to ClassesWidget 2018-03-11 16:57:38 +01:00
Florian Märkl
523e4b471a Fix restoring Window Layout 2018-03-11 12:41:19 +01:00
Florian Märkl
2ab6907746 Add CutterCore::getAllClassesFromFlags() 2018-03-11 12:13:08 +01:00
Marco Grassi
391e847ebc Dynamic size for color selection and compile warning fixes (#380) 2018-03-11 11:29:37 +01:00
Abdel-Rahman A
cd38fb9277 Improve 'About' plugins window (#378)
* Show detailed information of RAsm plugins in 'About' window
* Improve 'About' plugins window UI with tabs
2018-03-11 09:39:31 +01:00
fcasal
3ef8218e49 Added option to swap conditional jmps (#373) 2018-03-10 08:27:09 +01:00
Abdel-Rahman A
742690afd0 Add asm.size option in preferences (#374) 2018-03-10 07:26:58 +01:00
Florian Märkl
c127772dc1 Fix themes for AppImage 2018-03-09 18:04:05 +01:00
xarkes
8849f25a8d Changes for 1.3 release 2018-03-09 16:28:04 +01:00
Abdel-Rahman A
4cc5e49a24 Add plugin information in 'About' window (#363)
* Add RBin plugin information in 'About' window
* Add RIO plugin information in 'About' window
* Add RCore plugin information in 'About' window
* Add RAsm plugin information in 'About' window
2018-03-09 16:05:40 +01:00
Florian Märkl
051b95c69d Make AnalThread interruptable (Fix #264) 2018-03-09 13:57:57 +01:00
xarkes
d3e48cdae1 Better settings cleaning and initialization 2018-03-09 12:44:29 +01:00
fcasal
e4f428e959 added search button to Edit menu (#371) 2018-03-09 12:43:01 +01:00
xarkes
54a91425f2 Fix arrow colors #370 2018-03-09 12:24:26 +01:00
xarkes
d6bc8c3af4 Disable search flags by default 2018-03-08 14:02:34 +01:00
fcasal
d9592edd1b added basic search (#367)
* Added basic search
2018-03-08 13:24:15 +01:00
Florian Märkl
7b552694f0 Adjust QMainWindow::separator and QSplitter::handle in dark theme 2018-03-08 12:45:34 +01:00
xarkes
1b7462327e Temp fix for seek arrows color 2018-03-08 10:11:29 +01:00
Paul I
a1fba8e6b1 Bundle Python for Windows in AppVeyor (#361) 2018-03-08 10:06:02 +01:00
xarkes
20c7b25308 Using solarized by default. 2018-03-08 08:57:04 +01:00
Florian Märkl
47d9990f84 Fix Jupyter for macOS 2018-03-07 15:23:46 +01:00
Florian Märkl
1d583fe441 Add --pythonhome Arg 2018-03-07 15:23:46 +01:00
Florian Märkl
5bb1a5be6c Bundle Python for macOS in Travis 2018-03-07 15:23:46 +01:00
mandlebro
b0c3d438d1 Added load option to set anal.bb.maxsize 2018-03-07 14:15:56 +01:00
xarkes
8a73abf63f Fixed SegFault when closing LoadOptions dialog 2018-03-07 11:49:49 +01:00
xarkes
2eda598ea2 Cleaning 2018-03-07 08:53:37 +01:00
xarkes
395a383ca1 Set anal.hasnext to false by default, as in radare2 2018-03-07 08:53:37 +01:00
fcasal
09e4bf348e Added typeswidget (#358) 2018-03-06 18:21:48 +01:00
xarkes
93be7f4907 Easier build instructions 2018-03-06 17:50:09 +01:00
fcasal
fa7da352cf Added option to Nop instructions (#355) 2018-03-05 15:20:55 +01:00
Florian Märkl
4a8352169b Make HexdumpWidget more resizable 2018-03-05 15:10:47 +01:00
fcasal
e115cbc9e9 Fixed sorting in Strings widget (#354)
Sorting by string, type, size or length now works when selecting the corresponding column.
2018-03-05 00:16:54 +01:00
Moritz
2439eb52a5 Fix compilation error. (#352) 2018-03-04 20:15:09 +01:00
xarkes
08c2ac54c4 cutter => Cutter 2018-03-04 19:07:33 +01:00
Florian Märkl
0ec363a214 Set PYTHONHOME for AppImage
Keep PYTHONHOME string
2018-03-04 17:32:47 +01:00
Florian Märkl
78c3e5f1e3 Set ResourcesWidget objectName 2018-03-03 18:48:39 +01:00
Florian Märkl
1505aefdd1 Make Jupyter Home Button beautiful 2018-03-03 18:40:06 +01:00
Florian Märkl
09a34d265e Make Jupyter Tabs closable, Add Home Button 2018-03-03 18:12:03 +01:00
Boris Ryutin
17f7c0b593 Add double click function to VTables (#343) (#349) 2018-03-03 12:23:53 +01:00
Maijin
efc7a7e90e Fix issue with cmd/cmdj 2018-03-03 10:54:18 +01:00
Paul I
98b9de504b meson: Make Jupyter optional (#348) 2018-03-03 08:03:08 +01:00
Maijin
06a9507aea toUtf8 -> toLocal8Bit 2018-03-02 21:49:57 +01:00
xarkes
e52d002fea Refine cutter.pro rules 2018-03-02 21:42:27 +01:00
xarkes
422a43f344 Set qmake Jupyter optional 2018-03-02 21:00:41 +01:00
Florian Märkl
b48d88c6a5 Add QTabWidget declaration 2018-03-02 19:03:12 +01:00
Florian Märkl
a30579a536 Jupyter Tab Titles 2018-03-02 17:56:59 +01:00
Florian Märkl
7914deb887 Fix CUTTER_ENABLE_QTWEBENGINE define for CMake 2018-03-02 17:34:03 +01:00
Florian Märkl
7ae1cee66b Fix Meson 2018-03-02 16:42:41 +01:00
Florian Märkl
f89d9c0434 Add Optional Features Info to AboutDialog 2018-03-02 15:11:08 +01:00
Florian Märkl
011d113a5e Disable actionJupyter if not needed, Display Jupyter URL if QtWebEngine is disabled 2018-03-02 15:11:08 +01:00
Florian Märkl
ccedd3d59f Make Jupyter optional for CMake 2018-03-02 15:11:08 +01:00
xarkes
784fe17652 Updated dark theme ColinDuquesnoy/QDarkStyleSheet 2018-03-01 17:10:16 +01:00
xarkes
995429b77e Fix scr.color int value 2018-03-01 17:06:13 +01:00
xarkes
13efdf86d5 Removed old Notepad 2018-03-01 16:43:27 +01:00
xarkes
3843864ff9 Remember color scheme on exit 2018-03-01 16:30:31 +01:00
xarkes
427f3797e8 Set more options at file opening + cleaning 2018-03-01 13:16:23 +01:00
xarkes
2626ee02b8 Added python cmdj 2018-02-28 23:00:33 +01:00
exokortex
607b8b8ca8 make FunctionsWidget and SectionsWidget sort numbers correctly and align right (#344) 2018-02-28 21:12:51 +01:00
xarkes
5db9722644 Eval var asm.cmtright => asm.cmt.right 2018-02-27 23:04:06 +01:00
xarkes
a738c020f4 CI Fixes 2018-02-27 21:26:14 +01:00
Florian Märkl
9434476c11 Fix JupyterConnection Shutdown on Error 2018-02-27 21:26:14 +01:00
Florian Märkl
47e99f6d11 Use Py_Finalize() instead of Py_FinalizeEx() for compatibility 2018-02-27 21:26:14 +01:00
xarkes
1ffc2bb742 Qmake python3 lib 2018-02-27 21:26:14 +01:00
xarkes
93c836249e Added pythn dependency for meson 2018-02-27 21:26:14 +01:00
xarkes
3ca97e248d Removed extra file in cutter.pro 2018-02-27 21:26:14 +01:00
Florian Märkl
b45314fd19 Fix IPyKernel restarting 2018-02-27 21:26:14 +01:00
Florian Märkl
06dffde0fe Fix error handling in Python API, minor cleanup 2018-02-27 21:26:14 +01:00
Florian Märkl
ec55e40d5e Support interrupting nested IPyKernel 2018-02-27 21:26:14 +01:00
Florian Märkl
693fc1eb1f IPyKernel signal and poll 2018-02-27 21:26:14 +01:00
Florian Märkl
926a9ffd1e Prepare IPyKernel communication 2018-02-27 21:26:14 +01:00
Florian Märkl
05be34ae6b Jupyter refactoring and cleanup 2018-02-27 21:26:14 +01:00
xarkes
3b8bdb6995 Warnings removal 2018-02-27 21:26:14 +01:00
xarkes
d23cc71b79 Added an error tab when Jupyter fails 2018-02-27 21:26:14 +01:00
Florian Märkl
b9b903052c Run IPyKernel in subinterpreter and thus expose Cutter bindings to it 2018-02-27 21:26:14 +01:00
xarkes
abd9cca091 Added basic Cutter python bindings 2018-02-27 21:26:14 +01:00
Florian Märkl
0a9fba0677 Load cutter_jupyter.py from Qt resources 2018-02-27 21:26:14 +01:00
xarkes
a5e77c5095 Removed old r2pipe server 2018-02-27 21:26:14 +01:00
Florian Märkl
3164b5c118 Embed Jupyter using Python/C API 2018-02-27 21:26:14 +01:00
Florian Märkl
cea55dfdb1 Start Jupyter with single Process 2018-02-27 21:26:14 +01:00
xarkes
7526965b26 Added listening r2 server for Jupyter + r2pipe 2018-02-27 21:26:14 +01:00
Florian Märkl
1ba8e03f04 Basic Jupyter Integration 2018-02-27 21:26:14 +01:00
Florian Märkl
f01fa9d4ea Enable Qt::WA_DeleteOnClose for PreferencesDialog 2018-02-27 14:08:39 +01:00
Florian Märkl
8c3d8d77cb Properly delete MainWindow 2018-02-27 14:06:04 +01:00
xarkes
a0a3f9278d Using raw permissions rather than rw 2018-02-27 11:20:48 +01:00
Abdel-Rahman A
c1132aba0c Add virtual tables panel (#340) 2018-02-26 23:26:18 +01:00
xarkes
a9f669e27e Splitted Qt theme and color theme (now using eco/ecoj) 2018-02-26 23:25:23 +01:00
chq-matteo
b7a89a619d Update cutter.desktop with capital C (#338)
[https://github.com/radareorg/cutter/issues/333](https://github.com/radareorg/cutter/issues/333)
2018-02-23 12:41:22 +01:00
0xcpy
7fa2b9bf61 Added export graph as dot (#330) 2018-02-14 10:33:34 +01:00
0xcpy
16ebe024a3 Right click edit instruction fix #312 (#328)
* Right click edit instruction fix #312
* added bytes editing
2018-02-12 21:12:13 +01:00
nico
4f484eb1f4 Apply logo fix also to AboutDialog (#327) 2018-02-12 13:59:47 +01:00
xarkes
524be44dc2 Fixed white logo on startup #319 2018-02-12 13:22:53 +01:00
xarkes
b229513620 Added ahb to disasm context menu 2018-02-12 10:48:13 +01:00
0xcpy
b119181757 Added Main function highlighting Fix #124 (#326)
* fix #124
* use cmdj instead of cmd
2018-02-12 09:59:45 +01:00
xarkes
b5a2ec74b0 Fix Strings panel/Updated r2 2018-02-11 22:34:28 +01:00
xarkes
28ff13729f Made "load bin" checkbox more understandble
It is also now doing as the -n option of radare
2018-02-10 23:31:15 +01:00
xarkes
a869009909 Build fix 2018-02-10 19:12:08 +01:00
Marco Grassi
0fb1086aca macOS file operations improvements (#321)
* Implemented macOS open with functionality and drag of files to the icon

* fixed bug when dropping a different binary

* fixed Uppercases for application names

* refactor to avoid code in header for CutterApplication

* removed unused includes

* more consistent includes and main.cpp cleanup
2018-02-10 19:04:31 +01:00
xarkes
bc22302d7d Travis fix 2018-02-10 19:03:16 +01:00
xarkes
bc8b890557 Fix strings list #322 2018-02-10 18:50:00 +01:00
Maijin
5d1bf80b5b Fix #323 2018-02-10 18:16:16 +01:00
Paul I
9a0416d218 Introducing mesonbuild for Cutter (#314)
* Introducing mesonbuild
* appveyor.yml: Added meson builder
* Cleanup Windows build scripts
* Updated radare2 submodule
* meson: Clone capstone before building r2
* Some appveyor.yml cleanup
2018-02-09 20:51:30 +01:00
xarkes
b15900be54 Added strings info Fix #240 2018-02-09 15:22:45 +01:00
xarkes
dd6b591d9d FunctionsWidget code cleaning 2018-02-09 15:03:03 +01:00
xarkes
c8e6cae150 Resources Widget name/double click fix 2018-02-09 14:19:36 +01:00
xarkes
0c035f7ad8 Hexdump widget improvements 2018-02-08 12:46:23 +01:00
xarkes
689cb06ff2 Some HexdumpWidget fixes 2018-02-07 21:15:33 +01:00
nico
ef8118a52e Refactored code to handle NewFile dialog to honor black theme fix #291 (#315)
* Added displayNewFileDialog()

* Added MainWindow::displayNewFileDialog()

* Use displayNewFileDialog()
2018-02-06 19:23:01 +01:00
nico
fc6159c6b3 Remove the close button and put the About one under the cutter logo fix #289 (#313)
* removed cancelButton_clicked()
* removed NewFileDialog::on_cancelButton_clicked()
* removed cancel button and moved about button
2018-02-04 21:54:54 +01:00
Florian Märkl
3dcd9cab9d Add asm.fcnlines option (Fix #248) 2018-02-04 20:34:52 +01:00
Maijin
330e230572 Add more human readable size 2018-02-04 18:27:48 +01:00
xarkes
3712cf1529 Added ResourcesWidget (fix #259) 2018-02-04 15:32:49 +01:00
Florian Märkl
293078d358 Fix Console Title 2018-02-04 13:21:03 +01:00
Florian Märkl
0dbadc59d8 Fix QDockWidget Header Background on macOS #290 2018-02-03 21:00:31 +01:00
Florian Märkl
51a79c89ac Adjust Omnibar size and padding #290 2018-02-03 20:27:45 +01:00
xarkes
ba3f655a9f Added double click handling on SectionsWidget
fix #303
2018-02-02 16:56:46 +01:00
Florian Märkl
085b858bb6 Enable asm.slow by default, Remove some unneeded config 2018-02-02 11:56:07 +01:00
Florian Märkl
9f945ca585 Disable asm.bbline for graph 2018-02-01 18:28:26 +01:00
Florian Märkl
f21cdfa5c0 Use r2 colors in graph 2018-02-01 18:28:26 +01:00
Florian Märkl
75bf8cf5b6 Use agJ for graph 2018-02-01 18:28:26 +01:00
xarkes
613a3e422a Changed VisualNavbar colors to be consistent with r2 2018-02-01 17:06:41 +01:00
nico
bcba36a53d Uppercase application name fix #296 (#309) 2018-02-01 16:07:51 +01:00
Jubal
195fd4a4b6 Added asm.nbytes option (#308) 2018-02-01 10:01:09 +01:00
xarkes
4cc51a6a51
Using bundled fonts by default (#307) 2018-01-31 16:36:09 +01:00
xarkes
dc3fe4f3c4 Fix typo 2018-01-31 11:06:45 +01:00
xarkes
6b644d6ed6 Added asm.emu to Graph 2018-01-31 10:59:01 +01:00
xarkes
b94c5967c2 Added asm.bytes options to Graph View 2018-01-31 10:17:29 +01:00
Jubal
806fc5bded Added options for disasm (#306) 2018-01-31 09:01:16 +01:00
xarkes
da576b973e Cutter v1.2 2018-01-30 22:49:43 +01:00
Jubal
a7ce43784b added show jump lines in disassembly (#286) 2018-01-28 23:28:25 +01:00
xarkes
98c6c0a56e Warning removals 2018-01-27 16:10:41 +01:00
xarkes
372021dadc Some hexdump fixes 2018-01-27 14:11:30 +01:00
xarkes
2703ec274d Fix VisualNavbar segfault 2018-01-27 12:15:58 +01:00
xarkes
12316714cf
WIP Analysis panel after file is opened (#278)
* WIP Analysis panel after file is opened
2018-01-27 11:40:26 +01:00
Thomas (nezza-_-) Roth
9847836d73 HexdumpWidget enhancements (#235) 2018-01-27 11:08:05 +01:00
Florian Märkl
f71c21ae10 Add Endianness Option 2018-01-20 12:14:55 +01:00
xarkes
3af89d5f94 Fix comment shortcut 2018-01-16 15:29:33 +01:00
xarkes
0ade622a4f Added PDB import menu (Fix #82) 2018-01-16 15:09:51 +01:00
xarkes
90915134f5 Fix shortcuts #237 2018-01-13 14:49:20 +01:00
xarkes
bb26c2b7a5 Widgets tiny improvement 2018-01-09 13:09:25 +01:00
xarkes
d878e5055e Added dark theme 2018-01-09 12:03:07 +01:00
Florian Märkl
266402095f Check file using CutterCore::tryFile() instead of QFileInfo 2018-01-07 11:58:37 +01:00
xarkes
8b52c66f4f Update version number to 1.1 2017-12-29 09:07:09 +01:00
Maijin
0ebd34370b Fix #228 2017-12-26 14:40:12 +01:00
Mathieu Hautebas
69506b6460 change version to 1.1 (#244) 2017-12-25 22:04:32 +04:00
Florian Märkl
4b160e4496 Do not update Pseudocode on changes 2017-12-24 15:08:54 +01:00
Florian Märkl
7fd6867b12 Fix crash in GraphView 2017-12-24 13:11:29 +01:00
Florian Märkl
a476dda5d0 Add ClassesWidget (Fix #193) 2017-12-23 17:42:42 +01:00
Florian Märkl
92d6f597e8 Use disasm from agj in Graph (Fix #233) 2017-12-22 16:53:46 +01:00
Florian Märkl
8cf623c1ab Use single QTreeView in FunctionsWidget 2017-12-21 20:51:19 +01:00
Florian Märkl
9bd57776f6 Update Windows Menu and make Actions checkable 2017-12-21 16:47:36 +01:00
Florian Märkl
7d84fbfc1d Remove Omnibar Commands 2017-12-21 16:16:43 +01:00
Florian Märkl
be93b3e9d6 Add PseudocodeWidget.ui to cutter.pro 2017-12-21 16:00:18 +01:00
Florian Märkl
3c2a7189bf Create PseudocodeWidget from .ui file, Refresh only on Button 2017-12-21 15:23:44 +01:00
Florian Märkl
f8182a9e2e Disable only necessary Widgets in OptionsDialog 2017-12-21 12:29:58 +01:00
Florian Märkl
1462f29251 Qt<5.6 compatibility 2017-12-21 12:08:49 +01:00
Florian Märkl
fa6902d41c Remove some unused members from CutterCore 2017-12-21 00:22:59 +01:00
Florian Märkl
aad3797159 Rename functions and flags in Raw Command, Fix #230 2017-12-20 23:50:26 +01:00
xarkes
ec2dfe83f7 Added color for import functions (Fix #219) 2017-12-20 16:40:46 +01:00
Florian Märkl
15a1a6bd9c Add Quick Filter to StringsWidget #162 2017-12-19 19:56:18 +01:00
Florian Märkl
f694daac88 Decouple QuickFilterView as independent class 2017-12-19 19:38:06 +01:00
Florian Märkl
326bf70ff2 Refactor StringsWidget to use QTreeView+QAbstractListModel #183 2017-12-19 19:05:57 +01:00
Florian Märkl
2522e6a378 ToolTip for cropped lines in Graph, Fix #227 2017-12-19 17:59:39 +01:00
Florian Märkl
41430d2826 Add GraphOptionsWidget with Block Max Cols 2017-12-19 17:13:44 +01:00
Florian Märkl
46e862a3b8 Crop Line Length in Graph 2017-12-19 17:00:42 +01:00
Florian Märkl
6fa0e0d147 Page Key Navigation in Disassembly (Fix #167) 2017-12-17 15:11:27 +01:00
Jubal
0abcf20566 Save 'Unlock Panels' and 'Show Tabs on Top' settings (#223)
* 'Unlock Panels' and 'Show Tabs on Top' now saved to settings

* added saveSettings method and renamed doLock to panelLock
2017-12-17 14:49:03 +01:00
Florian Märkl
5ef204d3b8 Use /O for Backwards Disassembly Scrolling 2017-12-17 10:58:25 +01:00
Florian Märkl
22374096da Set PseudocodeWidget objectName 2017-12-16 14:22:56 +01:00
Florian Märkl
4613ffa485 Cursor Key Navigation in DisassemblyContextWidget #167 2017-12-16 14:02:11 +01:00
xarkes
a3cc04fb2d Fix #143 Button focus 2017-12-15 17:20:25 +01:00
xarkes
d92f016ead Fix #133 (r2 -V tab in AboutDialog) 2017-12-15 17:09:04 +01:00
Properrr
4330b7ddaa Implemented syntax highlighter (#220)
* Implemented syntaxHighLighter
* removed PseudoWidget.ui
* buildfix
* reverted r2-submodule
* Added nowrap to the pseudocodeWidget
* changed color of functions in the pseudocode highlighter
2017-12-15 10:52:47 +00:00
Thomas (nezza-_-) Roth
f59e5bbc01 GraphView: Change default vertical margin to 20. (#218) 2017-12-14 23:06:34 +01:00
Thomas (nezza-_-) Roth
7b3c2fe7b1 FunctionsWidget: Add undefine function action. (#217) 2017-12-14 22:54:57 +01:00
Thomas (nezza-_-) Roth
ce2557ccbe GraphView fixes (#214) 2017-12-14 22:07:48 +01:00
Florian Märkl
273c87eaba Remove Theme Selection from Menu
now in PreferencesDialog
2017-12-14 21:06:14 +01:00
don1001
579ad54757 Fix memory leak 2017-12-14 20:55:24 +01:00
Florian Märkl
0ca6fc6b29 Fix Warnings 2017-12-14 20:51:24 +01:00
Florian Märkl
c42b566a4c Move general options from AsmOptionsWidget to new GeneralOptionsWidget 2017-12-14 16:14:33 +01:00
Florian Märkl
94750ea15b Add PreferencesDialog and embed AsmOptions 2017-12-14 14:42:24 +01:00
Florian Märkl
911e4645d5 Change "Running since" to "Running for" 2017-12-14 14:21:17 +01:00
xarkes
33732291e7 Added <file>.r2 auto loading 2017-12-14 13:45:03 +01:00
xarkes
dcf0996293 Added graph zoom reset 2017-12-13 23:57:36 +01:00
Thomas (nezza-_-) Roth
86d467daf9 DisassemblerGraphView: lots of additions.. (#213)
* GraphView: Add refactored graphview with animations etc.
* GraphView: Use new graphview and render background color.
* DisassemblerGraphView: t/f navigation, zoom with +/-, bugfixes.
2017-12-13 22:38:46 +00:00
xarkes
d34b45ab4a Removed CreateNewDialog 2017-12-13 17:20:58 +01:00
Florian Märkl
4213852419 Fetch disassembly with pdJ (Fixes #177) (#210)
* Use pdJ for DisassemblyWidget
* Attach DisassemblyLine to QTextBlock in DisassemblyWidget
2017-12-13 15:30:00 +01:00
Florian Märkl
aafc99dcd6 Fix for Qt 5.5 2017-12-11 20:17:52 +01:00
Paul I
78c7d791cc PseudocodeWidget: Disable line wrapping (#209) 2017-12-11 19:36:21 +01:00
Thomas (nezza-_-) Roth
c03f3395cd Fix #148: Show elapsed time of running analysis. (#207)
* Fix #148: Show elapsed time of running analysis.

* OptionsDialog: Add missing space after elapsed hours.

* OptionsDialog: Hide elapsed label when showing the dialog.
2017-12-11 15:06:26 +01:00
Thomas (nezza-_-) Roth
134c0ebb39 DisassemblyContextMenu: Add delete flag/function/comment. (#206) 2017-12-11 14:07:12 +01:00
Thomas (nezza-_-) Roth
522881c569 Fix #147: Open dialog with advanced level is too tall. (#205) 2017-12-11 11:35:36 +01:00
Thomas (nezza-_-) Roth
e034a010a9 Fix #136: Add a 'Create function' right click. (#202)
* Fix #136: Add a 'Create function' right click.

* cutter: Filter function names.
2017-12-10 21:40:15 +01:00
Thomas (nezza-_-) Roth
4a3371873a Fixes #132: Make File->New create a new cutter instance. (#201) 2017-12-10 19:14:05 +01:00
Thomas (nezza-_-) Roth
746998be71 Fixes #157: Add support for multiline comments. (#200)
* Fix a bug that prevented comments on invalid instructions to be edited

* CommentsDialog: Support multiline comments.

* DisassemblyContextMenu: Remove base64 comment handling.
2017-12-10 19:13:37 +01:00
Thomas (nezza-_-) Roth
df02b91e69 VisualNavbar: Use maps if no sections are available. (#199) 2017-12-10 19:12:22 +01:00
Thomas (nezza-_-) Roth
e3e108f354 Fix #161: Make console dockable. (#198) 2017-12-10 17:55:42 +01:00
Thomas (nezza-_-) Roth
8e0ca36e98 VisualNavbar: Implement scrubbing, higher resolution, fix a ton of bugs. (#197) 2017-12-10 00:22:16 +01:00
Will Dietz
253dae261c Separate platform from use of APPIMAGE (#196) 2017-12-09 23:01:30 +01:00
Will Dietz
44493c6327 VisualNavbar: fix use of std::isnan (#195) 2017-12-09 23:00:29 +01:00
Thomas (nezza-_-) Roth
f36e9277fc Rename Codegraphic to VisualNav and fix some bugs (#192)
* CodeGraphic: Use RVA_INVALID instead of 0 to indicate an invalid address.
* Rename CodeGraphic/GraphicsBar to VisualNavbar
* VisualNavbar: Fix a crash, do some cleanup, fix a resizing bug.
2017-12-08 16:00:52 +01:00
Thomas (nezza-_-) Roth
3f357fbbc3 CodeGraphic: Improve cursor rendering performance (#191)
* CodeGraphic: Improve cursor rendering performance
* GraphicsBar: Don't jump to invalid addresses
2017-12-08 13:21:24 +01:00
Thomas (nezza-_-) Roth
8e0deeb115 CodeGraphic: Small memory and performance improvements (#190) 2017-12-08 10:55:47 +01:00
askme765cs
79b4aefd4e Update Configuration.cpp (#186)
fixed issue #179 Strings not visible as yellow on white 
changed the color7&9  to RGB(255,130,0) to achieve a greater  constract both in default theme and the dark one.
2017-12-08 00:41:42 +01:00
Thomas (nezza-_-) Roth
5c9dec657d Fix & extend CodeGraphic. Adds symbols, strings, etc (#187)
* Fix & extend CodeGraphic. Adds symbols, strings, etc, makes it clickable and shows the current position in the file.

* Don't use designated initializer (fails on AppVeyor).

* CodeGraphic: Change color of symbols to orange for increased contrast.
2017-12-08 00:41:15 +01:00
Thomas (nezza-_-) Roth
5ce151da94 Fix #188: Qt fails to handle long integers when decoding JSON (#189) 2017-12-08 00:37:48 +01:00
Will Dietz
5aedbdba71 shuffle icon names and fix icon installation
* don't refer to non-existant "cutter-small.png"
* icon renaming as requested:
  https://github.com/radareorg/cutter/pull/180#issuecomment-349686261
* Fixes #174

References semi-automatically updated to track
renaming, hopefully caught them all.

(appears to have worked upon quick inspection)
2017-12-07 11:46:23 +01:00
Thomas (nezza-_-) Roth
8bc7213b8c Add basic Pseudocode tab (Fixes #142) (#184)
* Add basic Pseudocode tab (Fixes #142)
* Add missing include to fix Windows build
* PseudocodeWidget: Move refreshPseudocode to slots to silence warning
2017-12-07 00:19:14 +01:00
Thomas Roth
3f05e55bbe Fix #155: Save project dialog doesn't handle ESC key 2017-12-06 18:02:32 +01:00
Thomas (nezza-_-) Roth
6752cd35e2 Fix style of last commit. 2017-12-06 17:35:43 +01:00
Thomas Roth
a729568a51 Allow file selection by drag & drop (#173) 2017-12-06 17:35:43 +01:00
xarkes
496cbcfd4d Fix invalid close() 2017-12-06 14:46:10 +01:00
xarkes
e4fe1e180d Fix #146 2017-12-06 13:32:35 +01:00
Matteo
4370503c98 Reduced margins on open file (#141) 2017-12-05 00:48:28 +01:00
xarkes
cc44246ad6 Replace wrong word (Fix #127) 2017-12-04 23:30:58 +01:00
Matteo
e52468243d added about cutter at openfile dialog (#140) 2017-12-04 22:38:09 +01:00
Alexandre L
6c6f743f97 Add aab and hasnext in advanced analysis (#137) (#139) 2017-12-04 22:36:02 +01:00
Florian Märkl
7c2bd975f9 Use Icon with Background on Linux 2017-12-04 16:27:37 +01:00
Florian Märkl
9f582b3b82 Update cutter.icns 2017-12-04 16:27:37 +01:00
Florian Märkl
10f46616dc Add Icons with Background 2017-12-04 16:27:37 +01:00
Florian Märkl
572ba02a76 Do not update DisassemblyWidget at RVA_INVALID 2017-12-04 14:11:13 +01:00
Florian Märkl
af9ace7458 Select Parsing Tab by default in HexdumpWidget 2017-12-03 22:04:47 +01:00
Florian Märkl
8ca69ff5fc Correct update after rename X used here 2017-12-03 21:59:38 +01:00
Florian Märkl
a101d3508f Use default margins and spacing in dialogs 2017-12-03 21:59:38 +01:00
Florian Märkl
f4e7880152 Use anj for rename X used here 2017-12-03 21:59:38 +01:00
Florian Märkl
baea88d744 Add rename X used here 2017-12-03 21:59:38 +01:00
Florian Märkl
f80cf8eb03 Cleanup Nodepad 2017-12-03 21:50:32 +01:00
Florian Märkl
a7eec66110 Disable some unimplemented Context Menu Entries 2017-12-03 21:50:32 +01:00
Florian Märkl
10ce6e7e88 Fix regular Rename from DisassemblyContextMenu 2017-12-03 21:23:02 +01:00
Florian Märkl
fab611f1b0 Fix Omnibar 2017-12-03 21:07:14 +01:00
Florian Märkl
2a7d2b79b6 Adjust more buttons and logo in AboutDialog to dark theme 2017-12-03 21:01:11 +01:00
Florian Märkl
2417963329 Adjust buttons to theme (Fix #89) 2017-12-03 17:26:01 +01:00
Florian Märkl
f7cb84994a Adjust logo in NewFileDialog and OptionsDialog to palette #89 2017-12-03 15:46:22 +01:00
Florian Märkl
fde759b6ae Reset Settings for asm options (Fix #123) 2017-12-03 13:48:51 +01:00
Florian Märkl
7d9cfca2d8 Fix Reset Settings for Themes #123 2017-12-03 13:10:09 +01:00
Florian Märkl
b63d85b23d Fix nested CommentsWidget double click (Fix #119) 2017-12-03 12:47:26 +01:00
Florian Märkl
40a3928ab6 Clean up Hexdump sidebar a bit more #121 2017-12-03 11:50:14 +01:00
xarkes
4f1007a0cb SDB Browser (Fix #120) 2017-12-03 02:51:51 +01:00
xarkes
5b21f970ac Clean up Hexdump Sidebar (Fix #121) 2017-12-03 02:44:12 +01:00
Florian Märkl
096db4b7e4 Set list item colors to system default 2017-12-02 20:15:12 +01:00
xarkes
709d20105e Remove some errors 2017-12-02 18:54:00 +01:00
xarkes
19f419eb0d Set hexdump widget read only 2017-12-02 18:17:42 +01:00
Florian Märkl
903f2042e6 Add copy to DisassemblyWidget 2017-12-02 16:43:21 +01:00
Florian Märkl
dfc80a3b9b Use correct highlight color in graph 2017-12-02 16:22:05 +01:00
Florian Märkl
c89ec30da4 Optimize colors a bit #89 2017-12-02 16:17:56 +01:00
Florian Märkl
5fb0527acf Enhance DisassemblyWidget highlighting 2017-12-02 16:03:55 +01:00
Florian Märkl
65ec19ddbf Highlight cursor line, not always first of offset in DiassemblyWidget 2017-12-02 14:27:15 +01:00
Florian Märkl
de010d4c6c Seek on right click in DisassemblyWidget 2017-12-02 14:10:15 +01:00
Florian Märkl
61549f401e Edit Comment from DisassemblyContextMenu 2017-12-01 11:46:13 +01:00
Florian Märkl
82e2ddf6e6 Do not seek after adding a comment 2017-12-01 10:12:05 +01:00
Florian Märkl
6c3d1d2582 Fix a bug that caused startup to hang 2017-11-30 15:00:22 +01:00
xarkes
691d567c61 Add escape shortcut for DisassemblyWidget too 2017-11-28 16:43:59 +01:00
Florian Märkl
ca3efec644 Remove PreviewWidget, Fix #114 2017-11-28 15:55:41 +01:00
Florian Märkl
dd744cb64e Hide Immediate Base menu if not needed 2017-11-28 14:50:41 +01:00
Florian Märkl
7f378d66c3 Force asm.offset=true for now 2017-11-28 14:24:35 +01:00
Florian Märkl
fad16b4a17 Set immediate base from right click menu, Fix #17 2017-11-28 14:13:22 +01:00
Florian Märkl
871b930519 Fix Disassembly double click, Fix #112 2017-11-28 12:56:38 +01:00
Florian Märkl
816cc6151f Fix preview in XrefsDialog 2017-11-28 12:26:52 +01:00
Florian Märkl
85c2e32e16 Show dst instruction in xrefs from, Fix #113 2017-11-28 12:22:48 +01:00
Florian Märkl
d608c8d067 Use afi. for function checking 2017-11-28 12:03:36 +01:00
Florian Märkl
211bf464a3 Switch to Disassembly when there is no fcn, Fix #111 2017-11-28 11:34:47 +01:00
xarkes
2f91f5b07c Fix build (2) 2017-11-27 21:59:29 +01:00
xarkes
92d7362e54 Fix build 2017-11-27 21:49:37 +01:00
Florian Märkl
157931867a Clean up MainWindow menu 2017-11-27 18:28:44 +01:00
Florian Märkl
86eaf3a99d AboutDialog formatting 2017-11-27 18:10:25 +01:00
xarkes
1b07e05e5d Fix #110 (top 3 contribs in About Dialog) 2017-11-27 17:24:31 +01:00
xarkes
d8d4de9625 Fix #69 (xref name resolving) 2017-11-27 17:05:10 +01:00
xarkes
e5859a8422 Fix #68 2017-11-27 12:18:47 +01:00
xarkes
b9a45ae00b Fix offset issue in rename + code cleaning 2017-11-27 10:24:31 +01:00
xarkes
d276e438e8 Fix rename function 2017-11-27 09:22:52 +01:00
Florian Märkl
ad6a357c22 Remove some useless output 2017-11-26 22:57:57 +01:00
Florian Märkl
cc7a6533c0 Use config font in ConsoleWidget and Hexdump parse 2017-11-26 22:54:44 +01:00
Florian Märkl
aa15f0b7ae Optimize colors a bit #89 2017-11-26 22:43:17 +01:00
Florian Märkl
934c85da2a Set default sorting to ascending for lists 2017-11-26 22:31:36 +01:00
xarkes
9d242f1fa9 Fix #22 2017-11-26 17:53:05 +01:00
Florian Märkl
2a7981a36a Fix hiding opcode info in SidebarWidget 2017-11-26 14:40:24 +01:00
Florian Märkl
875fad3d67 Use prj.simple by default
Add checkbox in SaveProjectDialog
Fix #109
2017-11-26 14:17:20 +01:00
Florian Märkl
3ee8c68a4a Fix a crash and quitting accidentally 2017-11-26 13:36:24 +01:00
Florian Märkl
2aabec9d05 Optimize UI for dark system themes #89 2017-11-25 15:56:49 +01:00
Florian Märkl
b7808029a2 Remove unnecessary output 2017-11-25 15:17:44 +01:00
Florian Märkl
be54694877 Check for empty string in CutterCore::cmdj() 2017-11-25 15:15:58 +01:00
Florian Märkl
b0137892cd Fix closing file in CutterCore::tryFile(), Fix #26 2017-11-25 14:22:13 +01:00
Florian Märkl
484b3028a3 Fix MainWindow deleting core 2017-11-25 11:20:50 +01:00
Florian Märkl
5753ebd54d Add "Graph" to graph title 2017-11-21 18:48:01 +01:00
xarkes
130996f593 Fix #74 2017-11-21 15:33:15 +01:00
Florian Märkl
9927f2cf20 Require QtSvg 2017-11-21 12:58:43 +01:00
Florian Märkl
79c57929be Fix font configuration 2017-11-20 22:28:22 +01:00
Florian Märkl
a454ca68f8 Use system monospace font by default 2017-11-20 21:28:55 +01:00
Florian Märkl
f7958a802f Add TempConfig, Fix some issues with scr.color 2017-11-20 21:14:35 +01:00
Florian Märkl
ec4d11f9c0 Use color theme in Hexdump 2017-11-20 17:38:10 +01:00
xarkes
0195806cfe Added dark theme 2017-11-20 12:46:30 +01:00
xarkes
84168cb340 Colors modifications 2017-11-20 12:46:30 +01:00
Florian Märkl
3a4e87ca41 Replace HexdumpWidget::resizeHexdump() with sizePolicy 2017-11-20 11:29:59 +01:00
Florian Märkl
2775b4bb0a Use global font for Hexdump, Remove old menu 2017-11-20 11:15:48 +01:00
Florian Märkl
e9c09d8fa1 Remove additional lines from Disassembly 2017-11-20 11:04:03 +01:00
Duncan Ogilvie
0dc57d095d
Don't attempt to draw outside of the graph viewport 2017-11-20 00:08:53 +01:00
Florian Märkl
6b650dbc14 Hexdump Header 2017-11-19 22:21:02 +01:00
Florian Märkl
8989de8362 Small fix for older Qt versions 2017-11-19 18:49:29 +01:00
Florian Märkl
cfc5f78c92 Add/remove lines on Hexdump resize 2017-11-19 15:09:48 +01:00
Florian Märkl
1f6a29b458 Fix Hexdump initial scroll 2017-11-19 15:05:47 +01:00
Florian Märkl
61fd2b3058 Replace DockWidget with CutterCore::refreshAll() signal 2017-11-19 14:04:25 +01:00
Florian Märkl
a8cf0cbe19 Remove obsolete actions, Move SDB Browser action to Windows menu 2017-11-18 16:06:55 +01:00
Florian Märkl
2bb6b54e01 AStyle, remove a comment 2017-11-18 16:01:06 +01:00
Florian Märkl
294eb672d7 Remove old sidebar 2017-11-18 15:57:00 +01:00
Florian Märkl
4833a1bdc7 Fix Hexdump scroll for cursor moving out of bounds 2017-11-18 15:33:52 +01:00
Florian Märkl
1bdb9ae80f Fix Hexdump bounds 2017-11-18 13:56:48 +01:00
Florian Märkl
e62d731783 Hexdump scroll 2017-11-17 16:12:51 +01:00
Florian Märkl
c74c743f79 Implement HexdumpWidget::refresh() 2017-11-17 10:42:57 +01:00
Florian Märkl
c0248c8bf6 HexdumpWidget: visible lines calculation 2017-11-17 10:42:57 +01:00
Florian Märkl
bde54511a9 Prepare HexdumpWidget 2017-11-17 10:42:57 +01:00
Florian Märkl
225e089469 Fix -A argument 2017-11-17 10:41:01 +01:00
Properrr
f75b630f0c Fixed #98 Rename in a non-function (#105) 2017-11-08 17:17:24 +04:00
xarkes
2ccef94ea5 Fix #79 2017-11-08 10:18:07 +01:00
Properrr
377efa7050 Fixed #98 Rename in a non-function (#104) 2017-11-08 13:02:39 +04:00
Florian Märkl
adef80e9e8 Remove cursorAddress, Fix current function display (#103) 2017-11-07 21:11:33 +08:00
twz
da68aa9889 Refresh DisassembyWidget on AsmOptionsChange (fix #96) (#102)
handle asmOptionsChanged signal
2017-11-07 12:16:49 +04:00
xarkes
7c8e0b708c Fix #93 + cleaning 2017-11-05 16:08:17 +01:00
Florian Märkl
e8b2cf3fea Add Cutter Icon (#94) 2017-11-05 18:19:47 +04:00
xarkes
6b42ffca0c Fix #90 2017-11-04 16:37:07 +01:00
Florian Märkl
54344fd259 Fix FunctionsWidget sorting (#91) 2017-11-04 19:28:02 +04:00
Florian Märkl
46bf0761bb Dynamic Memory Widget Priority (#86)
* Memory Widget priority from last user-selected widget

* CutterCore::raisePrioritizedMemoryWidget signal

* Space shortcut to switch between Disassembly/Graph

* Set default memory widget priority to Disassembly
2017-11-04 19:46:29 +08:00
Florian Märkl
0b5a351d5f Default Layout (#84)
* Basic default layout
* Workaround to set default widths for QDockWidgets
* AStyle
2017-11-03 21:22:54 +04:00
Properrr
bfed7d43ed Add ';' shortcut for "Add comment" (#78)
* Add ';' shortcut for "Add comment"
2017-11-03 15:31:20 +04:00
Florian Märkl
9dc51b9801 DisassemblyWidget (#80)
* Fix scrolling down in DisassemblyWidget

* DisassemblyWidget backwards scrolling

* DisassemblyWidget with custom scrolling

* Temporarily fix HexdumpWidget resizing like crazy

* Decouple DisassemblyWidget scrolling from seek

* DisassemblyWidget resizing

* DisassemblyWidget cursor from seek position

* Seek by DisassemblyWidget click

* Better up scrolling in DisassemblyWidget

* DisassemblyWidget: do not always seek, better bottomOffset

* DisassemblyWidget: avoid flicker, retain selection over lines, fix last line selection

* Update DisassemblyWidget on comment change

* Cleanup DisassemblyWidget scrolling code
2017-11-02 10:48:32 +04:00
xarkes
638956b41b Removed warnings 2017-10-24 10:18:16 +02:00
xarkes
4c971ef8e8 Moved theme selection in submenu 2017-10-24 10:03:05 +02:00
xarkes
18fe4375d4 Fix AppImage share path 2017-10-23 23:54:35 +02:00
xarkes
f45b3d6e93 Fix travis build 2017-10-23 11:37:30 +02:00
xarkes
37b73ed223 Fix share path for AppImage 2017-10-23 11:22:15 +02:00
xarkes
d24f049e65 Pseudo fix disassembly scrolling 2017-10-22 15:55:42 +02:00
xarkes
d2c50a803c Added colors to DisassemblyWidget 2017-10-22 12:21:44 +02:00
xarkes
3c6f735832 Fix #70 and Fix #72 2017-10-22 09:31:30 +02:00
xarkes
df59a96094 Fix #71 2017-10-22 08:49:53 +02:00
Florian Märkl
c73d9a0678 Projects Management (#66)
* Add TabWidget to NewFileDialog
* Project loading from NewFileDialog
* Projects dir in NewFileDialog
* Add SaveProjectDialog
* Make SaveProjectDialog work, refactor project saving and Notepad
* Add shortcut for Save
* Fix notes loading
* Sort projects in NewFileDialog
* Implement selecting projects dir in SaveProjectDialog
* Fix QAbstractButton include
2017-10-21 21:20:10 +02:00
Florian Märkl
69c86b0473 Set objectName for Graph Widget (#65)
* Set objectName for Graph Widget
2017-10-20 18:02:35 +02:00
xarkes
5e2223978d Shortcuts fixes 2017-10-16 21:00:47 +02:00
Duncan Ogilvie
e3e070d094 Remove cutter win32 (#58)
* remove cutter_win32
* build without compile errors
* temporary workaround for sdb problems (now compiles again at least)
* totally not a hack to get sdb working
seriously, don't do this but it works
2017-10-15 21:19:48 +02:00
Florian Märkl
ff080c1d3c Remove QtWebEngine (Fix #60)
* Remove QML QtWebEngine dependency

* Remove Web graphs from Dashboard

* Remove web graphs from SidebarWidget

* Remove web mini graph from PreviewWidget

* Remove all remaining html and QtWebEngine dependencies

* Update docs/Compiling-with-CMake.md after QtWebEngine removal

* Remove QtWebEngine from Travis
2017-10-15 13:40:20 +02:00
xarkes
65835f0dc9 Small refactor 2017-10-15 13:38:28 +02:00
xarkes
1ca9b06519 First try with colors 2017-10-15 12:06:14 +02:00
xarkes
34ef34c581 Added comments to graph view 2017-10-14 13:00:23 +02:00
xarkes
48e9767a66 Removed RadareWebServer (useless) 2017-10-14 11:45:11 +02:00
xarkes
e54b0ee106 Updated Configuration model + Added Font selection 2017-10-14 11:35:49 +02:00
xarkes
84d63ef363 Code cleaning 2017-10-13 15:56:47 +02:00
Florian Märkl
12e64cf052 Breakup MemoryWidget (#51)
* Add SidebarWidget from disassembly sidebar

* Remove disassembly sidebar from MemoryWidget

* Add HexdumpWidget from MemoryWidget

* Remove Hexdump from MemoryWidget

* Make PreviewWidget from MemoryWidget

* Some cleanup

* Rename DisassemblyView to DisasseblyWidget
2017-10-13 15:56:47 +02:00
xarkes
b4867cadef Moved disassembly view to its own class 2017-10-13 15:56:47 +02:00
xarkes
7b3d5ea7a7 Fix graph double click 2017-10-12 14:35:30 +02:00
xarkes
822d088f52 Fix graph jump color 2017-10-12 14:14:36 +02:00
xarkes
3c9e3be550 Fix segfault 2017-10-12 14:03:09 +02:00
xarkes
df3e9c2efa Tiny fix 2017-10-11 23:57:06 +02:00
xarkes
d53fd621c5 Moved graph from MemoryWidget to MainWindow
(Broke other dock windows -- not refreshed)
2017-10-11 13:22:30 +02:00
xarkes
27d2bca4f9 Cleaning 2017-10-10 12:18:10 +02:00
xarkes
a70001bf59 Merged disassembly and graph right click 2017-10-10 12:17:05 +02:00
xarkes
93195999d8 Made CutterCore singleton 2017-10-09 20:09:35 +02:00
xarkes
179394288e Set console widget smaller by default 2017-10-09 12:06:34 +02:00
xarkes
781ceedf9c dos2unix DisassemblerGraphView.cpp 2017-10-09 11:38:57 +02:00
xarkes
3542f0fd57 Appveyor artifact (#37) 2017-10-08 08:23:22 +02:00
xarkes
925eb15c9b Some refactoring 2017-10-03 20:38:34 +02:00
xarkes
4e9d0d0dc1 Added appveyor build (#29) 2017-10-03 14:42:31 +02:00
pancake
d764dd9cf5 Add "Disasm Options" context menu in the Memory Widget 2017-10-03 10:50:07 +02:00
Tim Siebels
2ba3d923a2 %p is only meant for pointers, use %x for hex (#34)
and fix initialization order while at it
2017-10-02 18:26:07 +02:00
Tim Siebels
bafad96bf3 Camel Case all the files (#32)
fixes #30
2017-10-02 18:18:40 +02:00
Tim Siebels
b8bd62efe2 Use unique_ptr for ui objects (#31) 2017-10-02 11:41:28 +02:00
xarkes
e4f3569a98 Removed License Fix#25 2017-10-02 10:11:34 +02:00
Tim Siebels
1b30240a67 Fix CMake build again (#28)
Qt with CMake doesn't seem as robust as qmake is.
It didn't work to include ui_* files from a different directory.
2017-10-02 10:06:10 +02:00
xarkes
b1d26f63ce Removed debug infos 2017-10-02 00:28:59 +02:00
xarkes
5bd79506ac Removed old web graph view 2017-10-02 00:25:33 +02:00
xarkes
83608be332 Renamed files to CamelCase 2017-10-01 21:16:38 +02:00
Tim Siebels
1f0aede403 Improve codebase (#20) 2017-10-01 20:08:12 +02:00
Florian Märkl
675ca69976 Add more options in the menu and loading 2017-10-01 18:03:06 +02:00
Florian Märkl
808da402da Disassembly Options Dialog (#21)
* Add AsmOptionsDialog
* Add bbline to AsmOptionsDialog, properly handle defaults
* Remove now redundant asm options from right click and menu
2017-10-01 16:36:40 +02:00
Tim Siebels
ffa52bd3e8 Fix pessimizing move (#19)
moving a return value generally is unnecessary, as it prevents return value optimization.

The standard defines, that (named) return value optimization, i.e. copy elision
is only possible when returning a value from a non-volatile automatic object
or when it's a temporary that has not been bound to a reference.
(N)RVO is not possible when wrapping it with std::move, because the compiler
is not allowed to do copy elision from arbitrary function calls.

I think this was the intended purpose of this code. Also, it is cleaner.
2017-10-01 15:55:47 +02:00
Tim Siebels
7f71cace8e Mark functions as override where possible (#18) 2017-10-01 15:55:38 +02:00
xarkes
25a4d06697 Added new graph view (WIP)
* This known unstable just a PoC
2017-09-30 13:13:05 +02:00
Florian Märkl
97ee9f17b6 Implement forcing format in OptionsDialog 2017-09-29 13:32:53 +02:00
Tim Siebels
bbf424a950 Do not display deleted files as recent files (#15) 2017-09-29 09:59:03 +02:00
xarkes
f3448fa886 Removed forgotten cutter binary 2017-09-29 00:06:43 +02:00
Tim Siebels
3ccafcaef3 Move loading binary into thread (#13)
Reduce pressure on the main thread
2017-09-29 00:04:57 +02:00
Tim Siebels
5178046df2 Use human readable byte sizes for previous sessions 2017-09-28 22:10:02 +02:00
Florian Märkl
98206fbddd Add asm.cpu and pdb loading to OptionsDialog (#6)
* asm.cpu in OptionsDialog, Fix asm.os
* PDB in OptionsDialog
2017-09-27 22:23:18 +02:00
Tim Siebels
715e81e3cd Fix CMake build (#8)
for some reason I do not understand, this is necessary for AUTOUIC
to be able to recognize the file.
2017-09-27 21:46:38 +02:00
Maijin
9b4668ff02 Rename iaito -> cutter 2017-09-26 10:32:03 +02:00
Maijin
9257294727 Fix more iaito -> cutter 2017-09-25 19:51:49 +02:00
xarkes
821602eabd Renamed Iaito to Cutter 2017-09-25 14:55:41 +02:00
xarkes
5b9e6ea661 Updated r2 version (#213) 2017-09-23 15:37:44 +02:00
Alexandr Filatov
15bdbef4a0 Add tr() to visible strings; fix #119 (#209)
* Add tr() to visible strings; close #119
2017-09-09 11:36:15 +02:00
N. Fontenot
f3aba5fdd0 Add icon to the build system output. (#208)
* Add icon to the build system output.
Make newly externally visible icon globally unique.
Compensate for this change in the .desktop and in the AppImage.
2017-09-02 22:48:41 +02:00
xarkes
b64fd5ad11 Fix travis build 2017-09-02 12:06:00 +02:00
xarkes
7e493f6cb4 Warning removing 2017-09-02 10:46:48 +02:00
xarkes
2e79090a11 More friendly asm syntax changing 2017-09-02 10:17:48 +02:00
xarkes
c07f486920 Added option to display address Fix#113 2017-09-01 15:03:35 +02:00
xarkes
6f42504246 Fix build on linux 2017-09-01 10:45:09 +02:00
Sergi Àlvarez i Capilla
3a1d27a67f Fix build with QT Creator (#193)
* Fix build with QT Creator
* Only clobber includes on unix
* Update r2 submodule
2017-08-31 19:51:45 +02:00
Tennn
142f0941c4 fix small warning (#202)
* 111

2222

* fix small warning

* remove

remove
2017-08-31 19:44:11 +02:00
xarkes
a71f2a8b27 Fix #114 (#205) 2017-08-31 19:43:46 +02:00
sergiodmn - kms
76bc053a8c Analysis Menu-Cursor changes Issue #124 (#189)
* Add relro in the dashboard #105
2017-07-24 13:05:28 +02:00
Florian Märkl
6c8adef74b Trigger CMake reconfigure if iaito.pro changes and disallow in-source builds. (#184)
* Trigger CMake reconfigure if iaito.pro changes

* Disallow in-source builds with CMake

* CMake: move disallowing in source build to separate script
2017-07-17 14:04:32 +02:00
sergiodmn - kms
6dd0bd1c6a Entrypoints panel Issue Fix #77 (#192)
* Panel to list entrypoints Issue #77

* Panel to list entrypoints Issue #77

* Fix build error
2017-07-13 20:49:12 +02:00
Daniel Molkentin
76f3cc07fc Allow opening read-only files (e.g. system binaries) (#196) 2017-07-11 18:41:58 +02:00