karliss
6135fc7024
Add option for not loading plugins ( #2160 )
...
* Separate commandline parsing from rest of logic.
* Add options for not loading plugins.
2020-04-21 00:22:10 +03:00
karliss
aa8ecee8e2
Use drrj to read values for RegistersWidget. ( #2141 )
...
* Avoids problem with 64bit value as number in json
* Keeps registers in the order reported by r2
2020-04-17 16:01:05 +03:00
karliss
ccb53fedbf
Use r2 c api for reading comments. ( #2154 )
...
C api allows specifying address directly thus avoiding unnecesarry reads
caused by seek(rb=true).
2020-04-16 20:31:15 +03:00
Itay Cohen
a4cf66d13c
Resource names are strings ( #2151 )
2020-04-15 19:20:57 +03:00
karliss
56543fa0c7
Fix memory leak in listFlagsAsStringsAt. ( #2145 )
2020-04-14 10:58:25 +03:00
itayc0hen
f789337f45
Rename OpenFileDialog to MapFileDialog
2020-04-08 00:10:31 +03:00
itayc0hen
e7691eb956
Rename "Open" to "Map File" and "New" to "New Window"
2020-04-08 00:10:31 +03:00
Dhaval Purohit
7110d73979
Add tooltip for displaying flag and comment in hexdump ( #1471 ) ( #2116 )
...
* Add tooltip for displaying flag and comment in hexdump (#1471 )
Co-authored-by: Itay Cohen <itaycohen23@gmail.com>
Co-authored-by: karliss <karlis3p70l1ij@gmail.com>
2020-04-04 10:09:30 +03:00
NIRMAL MANOJ C
b06a6d0da8
Added function to load cutterrc from all standard paths along with home ( #2109 )
...
* added function to load cutterrc from all standard paths along with home
2020-03-26 15:07:33 +02:00
itayc0hen
5d02449094
Use cmdRaw and cmdRawAt in Cutter.cpp
2020-03-25 19:12:18 +02:00
itayc0hen
281e75389f
Use cmdRaw and cmdRawAt in MainWindow
2020-03-25 19:12:18 +02:00
itayc0hen
2cefc7444c
Improve cmdRaw
2020-03-25 19:12:18 +02:00
optizone
e50eddb8cd
Implement some of w? commands in HexWidget ( #1854 )
...
* Implement write commands in hex widget
* Add cmdRawAt and seekSilent
* Document patching context menu
Co-authored-by: itayc0hen
Co-authored-by: Kārlis Seņko
2020-03-19 11:36:36 +02:00
karliss
c4d7d649f1
Add installing to CMake ( #2084 )
2020-03-15 14:43:42 +01:00
Itay Cohen
a327a33c3e
Add configuration description getter to improve Initial Analysis dialog ( #2088 )
...
* Implement configuration description getter
* Use helper function and remove trimming
2020-03-08 18:27:47 +02:00
karliss
b173d05865
Limit amount of JSON dumped in case of error. ( #2081 )
2020-03-04 09:39:52 +02:00
Itay Cohen
7008d4e9b9
Refactor hashes in dashboard to support newly added hashes ( #2067 )
...
* Fix regression of API to get all hashes
* Refactor hashes and entropy in Dashboard
* Update radare2 submoudle
2020-02-28 10:48:30 +02:00
karliss
1ae78655fa
Simplify and move Plugin context menu gui code out of core. ( #2039 )
2020-01-31 11:13:28 +01:00
yossizap
a1b5a41e56
Register refs widget improvements ( #2038 )
...
* Move register refs to the new telescoping function and add an addressable context menu
2020-01-30 19:40:27 +02:00
yossizap
969ce5ac30
Make breakpoints available outside of debug ( #2027 )
...
* Make breakpoints available outside of debug
2020-01-29 18:58:05 +02:00
Hye Sung Jung
57b5879593
fix spelling errors ( #2036 )
2020-01-28 10:02:17 +02:00
Itay Cohen
8266cd074f
Add realname and libname to Flags and Imports widgets ( #2024 )
...
* Add realname and libname to flags and imports
2020-01-25 09:18:53 +02:00
yossizap
409102afa7
Add api for context menu extensions ( #2029 )
2020-01-24 10:49:52 +01:00
Paul I
27449af445
Fix potential nullptr dereference ( #2028 )
2020-01-23 01:07:41 +02:00
Florian Märkl
a9ed742cad
Update radare2 and fix Cutter for it ( #2017 )
2020-01-15 20:19:24 +01:00
yossizap
830e9cd947
Add a custom telescoping function and improve StackWidget's output ( #1990 )
...
* Add a custom telescoping function and improve StackWidget's output
* Use colors from the color configuration for stackswidget
* Improve telescoping output
2020-01-10 22:46:49 +02:00
karliss
c645cbee01
Refresh monospace font after it gets reset by style or font change. ( #2002 )
2020-01-08 00:03:25 +02:00
karliss
90c7bfab1e
Breakpoint editor dialog ( #1975 )
...
* Add breakpoint dialog for editing breakpoint properties
* Allow editing breakpoint using context menu from breakpointWidget and disassembly menu.
2020-01-04 20:05:49 +02:00
int_13h
32be76fabc
multiple instructions can be patched now ( #1984 )
2020-01-02 10:07:10 +02:00
karliss
46ba0dc20a
Add more breakpoint editing options ( #1967 )
...
* Convert breakpoint widget to AddressableItemWidget
* When selecting multiple breakpoints and pressing delete key delete all of them
* Allow toggling breakpoint trace and active properties by doublicking them in table
2019-12-26 22:51:55 +02:00
yossizap
45f7c78726
Moved the debug exit dialog to DebugActions
...
Qt may crash or freeze if a window is created outside of the main loop
2019-12-20 18:03:39 +01:00
yossizap
f5cd754a0d
Use events to notify the user about the debugee's death
2019-12-20 18:03:39 +01:00
karliss
0b849bc05e
When using add breakpoint button add it not toggle. ( #1953 )
2019-12-20 18:02:27 +01:00
karliss
faf6959278
Workaround for new debug widgets being opened in normal mode. ( #1950 )
2019-12-20 08:19:44 +02:00
karliss
05acb30076
Show debug widget menu under Debug. ( #1949 )
2019-12-19 20:03:44 +02:00
Itay Cohen
4e84d1b502
Highlight Breakpoints and PC in decompiler ( #1948 )
2019-12-19 18:58:30 +01:00
Properrr
78c6e651c8
Define string of length N in address ( #1915 )
...
* Implemented "setString" submenu for the Disasm widget
2019-12-18 16:26:51 +02:00
Florian Märkl
8f480d9c2c
Fix Segfault on Quit after Debug/Emulation ( #1943 )
2019-12-18 14:56:57 +01:00
Florian Märkl
fd98694c9a
Fix automatic function naming ( #1942 )
2019-12-18 15:20:33 +02:00
yossizap
17d5ae0cfd
Replace changeDebugView and changeDefinedView with toggleDebugView
2019-12-14 16:44:57 +02:00
yossizap
77081526b2
Add startRemote to the debug dropdown menu
2019-12-14 16:44:57 +02:00
yossizap
d60f9aa52a
Updated r2 for 'doc' and 'oo' reloc fixes and integrated 'doc'
2019-12-14 16:44:57 +02:00
yossizap
a8bc37f0de
Add a signal for widget rebasing and switch to oodf for remote debug rebasing ( #1913 )
...
* Add codeRebased to sync widgets after debug starts
* Switch attachDebug to oodf to enable rebasing
2019-12-14 16:44:57 +02:00
yossizap
519cd5dabd
Add debug dialogs ( #1903 )
2019-12-14 16:44:57 +02:00
yossizap
ef97c84351
Add processes widget for kernel and child debugging ( #1894 )
...
* Update r2 for dp fixes and general debug fixes
* Added ProcessesWidget for kernel debugging and switching between children
* Update r2 for dpl fixes
* Update r2 for linux and gdbserver dp/dp= fixes
* Added switchedThread and switchedProcess events to refresh their widgets
Seek doesn't always change after switching if the other process is at
the same offset in the same binary so it's better to have another event
for it.
* Disable threads/processes widget during a debugtask/when not debugging and clear it's history after a session
* Improve Processes Widget's UI
- Remove vertical numbers
- Highlight the current process with bold instead of using the "current"
column
* Updated r2 for fork fixes
2019-12-14 16:44:57 +02:00
itayc0hen
4d306616f9
Use proper docstrings
2019-12-14 16:44:57 +02:00
yossizap
f284f9d209
Stdin redirection for locally debugged processes ( #1892 )
2019-12-14 16:44:57 +02:00
yossizap
49d58b3624
gdbserver and windbg remote debugging support ( #1874 )
...
* Added remote debugging
2019-12-14 16:44:57 +02:00
yossizap
c85e1db3b3
Detach Cutter interface from debug command execution ( #1857 )
2019-12-14 16:44:57 +02:00
yossizap
a3e140bf4d
ThreadsWidget and r2 debugging fixes ( #1846 )
...
* Added wrappers for dpt and dpt=
* Added ThreadsWidget used for thread monitoring during debugging
* Updated r2 for dpt, dpt= and drrj fixes
* Convert r2's pid status letters to more informative strings
* Replaced cmdj with cmd and ensure the thread's data is synced
* Moved viewThreas to threadsWidget.ui, switched from onDoubleClick to Activated and added a column cleanup
* Add old row cleanup to BacktraceWidget
* Clean up
* Added sorting and filters
* Modified ThreadsWidget for Qt5.3 compatibility
2019-12-14 16:44:57 +02:00
mandlebro
9970028914
Fix PIE debug
2019-12-14 16:44:57 +02:00
mandlebro
75ae47dbcb
Fixes issues with reset layout in debug mode
2019-12-14 16:44:57 +02:00
mandlebro
721870ac0e
Fix emulation not working after a debugging session
2019-12-14 16:44:57 +02:00
karliss
c255fd1cfd
Add menus to seek backward and forward buttons. ( #1889 )
2019-12-10 08:34:21 +01:00
Florian Märkl
a4e0308e84
Update radare2 and fix Cutter for it ( #1890 )
2019-11-27 11:49:44 +01:00
Florian Märkl
4dc4982b3f
Update radare2 and fix Strings ( #1885 )
...
* Update radare2
* Fix Strings after izzj changes in r2
2019-11-23 17:03:23 +02:00
Leopold Kozioł
41f532ed7b
Add instruction highlight in graph view ( #1879 )
2019-11-17 20:44:10 +02:00
Florian Märkl
4906e2b80b
Call MainWindow::initUI in Constructor ( #1872 )
2019-11-04 17:40:54 +01:00
karliss
771217d70a
Deduplicate seek forward and backward action. ( #1844 )
2019-10-17 03:02:48 +03:00
Jochen Bauer
b81eed7f22
Replacing all QRegExp with QRegularExpression ( #1820 )
...
* Replacing all QRegExp with QRegularExpression
2019-10-13 17:59:12 +03:00
Wesley King
83b1ce2c49
Add common zoom action for widgets using font from configuration ( #1813 )
2019-10-12 08:50:10 +03:00
karliss
b11ba240d2
Improve compatibility with cmake 3.5 and QT 5.5-5.11. ( #1805 )
2019-10-06 20:35:44 +03:00
karliss
38cdb90dc4
Restore breakpoint listing. ( #1811 )
2019-10-03 21:04:15 +03:00
Itay Cohen
2d34eb286a
Add more shortcuts to DisassemblyContextMenu ( #1782 )
2019-09-25 15:58:58 +02:00
Óscar Carrasco
e7ead2e1b6
Fix "ta" commands after radare2 command refactoring #1774 ( #1775 )
...
* Fix "ta" commands after radare2 command refactoring #1774
* update radare2 submodule
2019-09-15 14:41:12 +03:00
Florian Märkl
33d97ee16a
Bundle r2ghidra-dec
2019-09-06 08:40:20 +02:00
Itay Cohen
1d692db261
Rename PseudoCode widget to Decompiler ( #1728 )
2019-09-06 07:40:20 +02:00
xarkes
806de0b341
Fixed refactoring leftover ( #1746 )
2019-09-06 07:38:28 +02:00
karliss
a4ba6f8b2b
Allow seeking in unsynchronized widgets using 'g'. ( #1731 )
2019-09-02 10:34:41 +03:00
Florian Märkl
81f7169379
Fix Main Task Synchronization ( #1723 )
2019-08-30 17:31:30 +02:00
karliss
0aa91c328c
Common behaviour for lists with items that have address ( #1700 )
2019-08-19 15:35:25 +02:00
karliss
f50fecc57b
Add context menu entries for target address ( #1712 )
...
* Refactor "used here" logic.
* Add menu for showing instruction target.
2019-08-14 21:47:30 +03:00
xarkes
148c7aa9e9
Fixed file name display in new file dialog ( #1675 )
2019-07-31 13:21:01 +02:00
karliss
5dc5fe1cee
Fix memory leak in sdbListKeys. ( #1695 )
2019-07-29 00:42:25 +03:00
karliss
6c40191cce
Rewrite raise memory widget functionality ( #1654 )
...
* Seperate seek from seeking and changing focused widget.
* Change memory widget priorities
* Add Show in context menu
2019-07-19 22:21:12 +03:00
Florian Märkl
4487564f7d
Add a generic Decompiler interface and remove pdc ( #1659 )
2019-07-15 14:08:44 +02:00
Unknown
77a7710daf
Improve arrow widget
2019-07-13 10:54:37 +02:00
xarkes
33dca54176
First implementation of new disassembly widget
2019-07-13 10:54:37 +02:00
Florian Märkl
7017c8a323
Sync PseudocodeWidget with Seek ( #1648 )
2019-07-12 10:57:07 +02:00
Florian Märkl
c7d582f00a
Add Loading ~/.cutterrc ( #1644 )
2019-07-11 12:32:56 +02:00
Florian Märkl
78ff1459c9
Fix Qt 5.13 deprecations ( #1641 )
2019-07-09 20:55:07 +02:00
xarkes
68a864ee0a
Fix r2dec detection ( #1640 )
2019-07-09 00:53:27 +03:00
Florian Märkl
a7a7bad6d9
Cleanup Remnants of Widget Actions ( #1637 )
2019-07-04 20:51:44 +02:00
Florian Märkl
c96c72a147
Remove Memory Widget Pointers and Toggle Actions
2019-06-18 20:24:17 +02:00
Florian Märkl
ede98df6ac
Fix initial objectName for Memory Widgets
2019-06-18 20:24:17 +02:00
Florian Märkl
0c3b7e7f07
Fix saved unsync list
2019-06-18 20:24:17 +02:00
optizone
06aceaf9b1
Refactor Layout Save and Restore Feature ( #1538 )
...
#1515
2019-06-18 15:02:41 +02:00
Itay Cohen
5fb2c8ac6f
Implement Editing and Viewing of Types in the Types Widget ( #1597 )
...
* Implemet Edit and View for types
* Rename LoadNewTypes to TypesInteraction
2019-06-13 09:22:20 +03:00
Itay Cohen
c141eb34cc
Implement Seek to start/end of function Shortcuts ( #1589 )
...
* fix ctrl+'+' to zoom in`
* Add '^' and '$' shortcuts
2019-05-30 11:41:14 +03:00
karliss
63bf1864d0
Remove tab style modifications in native style sheet. ( #1565 )
2019-05-23 07:40:53 +03:00
Florian Märkl
a6f4ac2dd3
Lock Core in CutterCore::loadScript() ( #1581 )
2019-05-22 13:29:26 +02:00
Florian Märkl
3cef904843
Update r2 and fix r_free ( #1564 )
...
* Update radare2 to 3.5.1
* Use r_mem_free() instead of r_free()
2019-05-20 20:35:56 +02:00
xarkes
2734ff026a
Code cleanup ( #1535 )
2019-05-17 13:40:50 +02:00
karliss
ff0f15605b
Fix io plugin listing. ( #1544 )
2019-05-17 10:09:10 +03:00
Florian Märkl
a38d6707cd
Remove unnecessary Console Messages ( #1546 )
2019-05-16 21:42:27 +02:00
karliss
d55ae67dc0
New Hexedit ( #1516 )
2019-05-16 18:03:48 +02:00
Florian Märkl
4f71526100
Fix Sections Size in Visualization
2019-05-16 14:57:18 +02:00
Florian Märkl
a3a8daae55
Add Permissions Column to SectionsWidget
2019-05-16 14:57:18 +02:00
Florian Märkl
72eab68be1
Revert "Fix layout save and restore feature ( #1515 )" ( #1537 )
...
This reverts commit 2ba9e170c5
.
2019-05-15 20:45:16 +02:00
optizone
2ba9e170c5
Fix layout save and restore feature ( #1515 )
2019-05-14 23:30:10 +03:00
Philip Nelson
f154ec0a70
Added hotkeys for undo and redo seek ( #1514 )
2019-05-10 21:22:54 +03:00
karliss
d6bb0c0446
Make grouped dock dragging optional. ( #1506 )
2019-05-08 13:38:25 +02:00
optizone
089be2b87c
refactor theme edit feature ( #1461 )
...
Refactor Theme Editor
2019-05-01 19:15:33 +03:00
Florian Märkl
c534b1bce8
Use API for Functions ( #1498 )
2019-05-01 13:34:15 +02:00
Itay Cohen
1d20129a0a
Light Theme ( #1486 )
...
* Implement Light Them for Cutter
2019-04-27 20:58:44 +03:00
Florian Märkl
1cc6abee44
Delete Extra Widgets on Close ( #1490 )
2019-04-27 11:46:29 +02:00
Florian Märkl
dff08963a1
Add Console Autocompletion from radare2 ( #1489 )
2019-04-26 17:07:11 +02:00
Itay Cohen
d0458597d1
Show a tooltip with Asm\Hex preview on search hits ( #1480 )
...
* implement search preview tooltip
2019-04-22 11:43:34 +03:00
Florian Märkl
7eb62a976c
Refactor Refresh and Display of Overview ( #1453 )
2019-04-14 14:18:24 +02:00
xarkes
5b0ef4c445
Removed max bbsize analysis option ( #1424 )
2019-04-14 12:36:13 +03:00
optizone
c6866df71e
Focus on visible disasm or graph ( #1444 )
...
* focus on MainWindow by default
2019-04-12 08:22:06 +03:00
Florian Märkl
1cb314d674
Add crash handling system using Breakpad ( #1439 )
2019-04-09 09:44:44 +02:00
Florian Märkl
65850d6aee
Replace GraphView::useCache with dirty flag ( #1437 )
2019-04-08 08:59:16 +02:00
karliss
cb51496e4f
Separate graph layout code from GraphView. ( #1414 )
...
* Separate graph layout code from GraphView.
* Remove formatting and grid layout specific code from GraphLayout.
* Copy edge styles from from main graph view to overview.
2019-04-04 08:54:42 +03:00
Itay Cohen
8cffd7e07d
Implement Getter for MainWindow's menus ( #1418 )
...
* implement getter for MainWindow's menus
2019-04-03 10:50:25 +03:00
Florian Märkl
3292cb22cc
Update r2 and adapt Cutter ( #1412 )
2019-03-31 10:50:53 +02:00
Florian Märkl
41af189312
Update radare2 and adapt Cutter ( #1406 )
...
* Update radare2 and adapt Cutter
* Fix QByteArray creation in CutterCore::assemble()
2019-03-29 18:11:41 +01:00
Florian Märkl
f514a1c3c7
Init Layout after loading Plugin UI ( #1407 )
...
* Init Layout after loading Plugin UI
* Make sure all Dock Widgets are part of the MainWindow
2019-03-29 18:02:27 +01:00
karliss
45698112c2
Enable dock grouped dragging when available. ( #1402 )
2019-03-28 11:17:01 +02:00
Anton Krasnokutskiy
5818998bb3
Fixed not switching Disassembly to not opened Graph view using <space> ( #1370 )
...
+ a bit refactor
2019-03-27 09:24:54 +01:00
Florian Märkl
1710829267
Remove Jupyter Integration ( #1398 )
...
* Remove Jupyter Integration
Replaced by https://github.com/radareorg/cutter-jupyter
* Remove duplicate vars in .appveyor.yml
2019-03-25 21:43:00 +01:00
Paul I
c7adeb4dd6
Update radare2 ( #1381 )
2019-03-24 12:39:54 +03:00
Paul I
40452c9826
Some micro optimizations ( #1346 )
2019-03-23 13:54:34 +03:00
Anton Krasnokutskiy
e096f3ee4a
DisassemblerGraphView zooming fix ( #1354 )
...
* Zooming of DisassemblerGraphView now works to cursor instead of top left corner.
* formatting fix.
* Fix refactor bug.
2019-03-23 10:21:06 +02:00
ncyellow
f59dce1727
Feature/dialogs optimization ( #1360 )
...
Changed create policy in dialogs to fix memory leaks.
2019-03-23 07:32:31 +01:00
a1ext
1422013d99
Fix crash because of mixing debug and release CRT. ( #1361 )
...
Memory allocated in r2-side has to be released with `r_free`
2019-03-23 07:15:03 +02:00
Vanellope
7fd815bd40
Fixed a bug related to reset_settings ( #1349 )
2019-03-21 21:14:52 +01:00
Vanellope
72e8cd664e
reset settings should reset layout as well ( #1334 )
2019-03-19 20:15:38 +01:00
Vanellope
6f1309452a
revert shitty fix ( #1335 )
2019-03-19 20:15:14 +01:00
Vanellope
96f6e062fc
Vane11ope/fix layout ( #1308 )
...
Refactoring and Fixes for the default layout.
2019-03-18 08:44:14 +02:00
Vanellope
f23ff9d8c5
Fix a bug of Overview perf ( #1324 )
2019-03-18 08:34:30 +02:00
Vanellope
6f324496be
Force overview to update itself when the settings are changed ( #1314 )
2019-03-17 13:50:36 +01:00
xarkes
46bb07d725
Fixed the way headers are included
2019-03-15 16:19:27 +01:00
Vanellope
0be50ac36f
Overview optimization ( #1262 )
...
* Overview optimization
* Better cache algorithm
* Fix a bug of the multiple graphs
2019-03-12 09:37:10 +02:00
Florian Märkl
7a77eeee06
Fix NewFileDialog leaking MainWindow
...
This also fixes segfaults on quitting when using plugins
2019-03-11 10:42:22 +01:00
Paul I
7554cb5461
Disable aan ( #1253 )
2019-03-09 09:09:37 +02:00
Florian Märkl
732f2d8cde
Use cutter-deps on macOS ( #1238 )
...
* Update deps scripts for macOS
* Update deps
* Update appbundle_embed_python.sh
* Use cutter-deps for macOS
* Remove qt from Brewfile
* Fix .travis.yml
* Disable Homebrew update
* Fix llvm for macOS
* Fix regex in update_deps.py
* Fix PYTHON_FRAMEWORK_DIR
* Some debug output in travis
* Enable Python Bindings for cmake on macOS
* QMake debug
* Update deps
* Hopefully fix pkg-config
* QMake hack for shiboken2 and pyside2
* Deploy on deps-test
* Update deps
* Fix call to appbundle_embed_python.sh
* Update deps
* Fix Python for cmake on macOS
* Update deps
* Fix appbundle_embed_python.sh
* Copy pyside libs in appbundle_embed_python.sh
* Fix includes for CMake on macOS
* Copy PySide2 and Shiboke2 libs to Frameworks dir
* Manually deploy QtDBus and QtPrintSupport
* Print plugins dir
* Fix appbundle_embed_python.sh
* Update deps
* Remove some debug output
* Use last release of linuxdeployqt
2019-03-09 00:01:24 +01:00
Vanellope
7ea1f0b281
Fix couple of issues regarding Graph Overview ( #1228 )
2019-03-08 19:57:57 +01:00
xarkes
003d0d3c26
Modified documentation format ( #1240 )
2019-03-06 21:30:39 +01:00
Gaurav Kumar Ghildiyal
687ef2d799
Added feature to link a type to an address ( #1219 )
...
* Added feature to link a type to an address
2019-03-04 23:45:17 +02:00
Gaurav Kumar Ghildiyal
a10ca8f033
Add feature to apply structure offset and fix some issues in EditVariablesDialog ( #1215 )
...
* Fixed EditVariablesDialog
* Added feature to apply structure offset in disassembly and graph view
2019-02-24 17:25:38 +00:00
Vanellope
fa708143ac
Overview does not disappear anymore when it is moved to the same dock as Graph ( #1212 )
...
* Overview does not disappear anymore when it is moved to same dock as Graph, Gray out Overview menu when Graph is not active
2019-02-24 07:15:40 +00:00
xarkes
ab27e09b91
Splitted Cutter.h and moved everything in core ( #1201 )
...
Sometimes it is not necessary to include the whole Cutter.h file
Hence, it's been splitted so you can include only what you require
E.g. #include "core/CutterCommon.h" to have access to the common types
2019-02-22 17:50:45 +01:00