1
0
mirror of synced 2024-11-17 04:17:12 +01:00
Commit Graph

300 Commits

Author SHA1 Message Date
WerWolv
bd30411ba7 ui: Replaced all hex input textboxes with the new ones 2022-02-08 21:51:09 +01:00
WerWolv
42c0b6145b ux: Disable bookmark toolbar button if nothing is selected 2022-02-08 18:39:15 +01:00
WerWolv
abd3fe6ed1 sys/ux: Improved selection requests 2022-02-08 18:38:54 +01:00
Mark Nokalt
a52fee2248
nodes: Validate some buffer operations (#425)
* fix: NodeBufferSlice bounds validation

* fix: Make sure buffer is within u64 bounds in NodeCastBufferToInteger

* nodes: Use specific output methods in number constants
2022-02-08 08:32:10 +01:00
WerWolv
a8e49c5a85 nodes: Added Selected Region node 2022-02-07 22:46:22 +01:00
gnuhead-chieb
d17cd64fea
lang: Fixed Japanese mistranslation (#419) 2022-02-07 17:17:27 +01:00
gnuhead-chieb
949d036a81
lang: Add Japanese Translation (#418)
* Add Japanese Translation

* Add files via upload

* Update plugin_builtin.cpp

* Added Japanese translation to build script

Co-authored-by: WerWolv <werwolv98@gmail.com>
2022-02-07 15:42:38 +01:00
WerWolv
2577a2f637 ux: Fixed docking to main window 2022-02-06 21:39:10 +01:00
WerWolv
b3728ae658 ui/ux: hexeditor -> hex_editor, Improved performance and flickering when highlighting bytes 2022-02-06 21:02:31 +01:00
WerWolv
c1b4c4e42a nodes: Added layered distribution visualizer 2022-02-06 14:44:03 +01:00
WerWolv
a48a1ef272 nodes: Added byte distribution visualizer node 2022-02-06 13:55:19 +01:00
WerWolv
69c48edfdf nodes: Added Image visualizer
Supports JPG, PNG, TGA, BMP, PSD, GIF, HDR and PIC via stb_image
2022-02-06 01:32:15 +01:00
WerWolv
eade95dff7 fix: Pattern source code being deleted when closing a provider 2022-02-05 22:26:00 +01:00
WerWolv
ca57f91bfa nodes: Added Digram visualizer node 2022-02-05 22:19:32 +01:00
WerWolv
618eead341 sys: Drastically improve highlighting performance 2022-02-04 00:29:47 +01:00
WerWolv
ba68f463e5 ui: Added to matched yara rules 2022-02-02 21:08:46 +01:00
WerWolv
df1d302bcb sys: Added time and source to logger output 2022-02-02 17:19:50 +01:00
WerWolv
4c51efc5e0 pattern: Improved parsing of integer literals, added support for hex floats 2022-02-02 16:03:18 +01:00
WerWolv
876dbe8179 sys: Final cleanup to get rid of everything builtin in the main application 2022-02-02 00:36:09 +01:00
WerWolv
6977061227 ux: Fixed tips popup and properly apply default layout on first start 2022-02-01 23:33:42 +01:00
WerWolv
ce59226909 sys: Reformat all 2022-02-01 22:09:44 +01:00
WerWolv
1991afb87b
sys: Get rid of SharedData struct and cleanup code structure (#411)
* sys: Initial refactoring of the SharedData class

* sys/pattern: More refactoring, make every provider have its own patterns

* sys: Finished up refactoring. No more SharedData!

* sys: Fixed compile on Unix

* tests: Fixed unit tests

* sys: Moved view and lang files

* pattern: Added assignment operator support to for loops

* tests: Fixed compile issue
2022-02-01 18:09:40 +01:00
WerWolv
61fc479c79 pattern: Fixed many code inconsistencies and bugs 2022-01-31 14:37:12 +01:00
WerWolv
02fc175289 pattern: Make math functions not dangerous 2022-01-30 20:48:44 +01:00
WerWolv
6ae38aead8 pattern: Added extra math functions 2022-01-30 20:46:02 +01:00
WerWolv
52fa2b4479 pattern: Moved all built-in functions to the builtin namespace 2022-01-30 17:49:38 +01:00
WerWolv
af57b39d8f pattern: Added #pragma once to prevent multi-includes of files 2022-01-30 17:49:18 +01:00
WerWolv
111c4b71aa lang: Updated Italian translation. Thanks a lot to @CrustySean 2022-01-30 12:47:28 +01:00
WerWolv
dd572ba024 sys: Return std::nullopt instead of {} for empty optional values 2022-01-30 12:43:43 +01:00
WerWolv
66a13266e6 fix: Pasting bytes not working at all 2022-01-30 11:58:03 +01:00
WerWolv
3f5b258629 ux: Auto focus goto and find text box. Execute function on enter 2022-01-29 21:49:15 +01:00
xtexChooser
3987a5df6a
feat(i18n): update Chinese(Simplified) translation (#406)
* feat(i18n): update Chinese(Simplified) translation

* feat(i18n): update Chinese(Simplified) translation

* fix(i18n): cpp syntax error
2022-01-29 01:21:52 +01:00
WerWolv
6319449cbd sys: Added RISC-V, M68K, M680X, Webassembly, MOS65XX and BPF architecture to disassembler 2022-01-24 23:56:02 +01:00
WerWolv
0e08b0226b sys: Added clang-format file, formatted entire project 2022-01-24 20:53:17 +01:00
WerWolv
a66fec489c ui: Added some hint text for in/out variable tab, improved centered hints 2022-01-24 00:46:19 +01:00
WerWolv
65212f22a6 pattern/ux: Added copying support to console, clip content, removed prefix 2022-01-24 00:45:46 +01:00
WerWolv
b3a8d02d19 lang: Don't hardcode fallback language anymore 2022-01-23 22:08:19 +01:00
WerWolv
49610f59ea ux: Added interface to choose encoding files more easily 2022-01-23 21:52:43 +01:00
WerWolv
9cf7fc4a2e store: Added encoding files to store, fixed crash when folder doesn't exist 2022-01-23 21:52:24 +01:00
WerWolv
053c897056 ui: Added ImHex logo to about page 2022-01-23 20:46:19 +01:00
WerWolv
8397af5c9b api: Make main menus use the same priority API 2022-01-23 20:45:51 +01:00
WerWolv
2aed6ec13f ux: Added option to save and load data processors 2022-01-23 11:54:25 +01:00
WerWolv
714d421334 api: Moved menu item adding to a new registry-type API 2022-01-23 11:54:21 +01:00
WerWolv
6c6fe8ad5c ui: Added license to about page 2022-01-22 23:11:28 +01:00
WerWolv
48aacc0c2e sys: (s8, s16, s32, s64, s128) -> (i8, i16, i32, i64, i128) 2022-01-22 22:37:52 +01:00
WerWolv
9ddd97a6eb provider: Added insert bytes feature 2022-01-20 23:24:26 +01:00
WerWolv
ee8b665472 ui: Added API to add custom layouts, imhex application and api cleanup 2022-01-18 00:10:10 +01:00
WerWolv
40d7e4aa6e build: More repo cleanup, move libimhex and external libs to /lib folder 2022-01-16 14:20:52 +01:00
WerWolv
a5a1ae6725 fix: Providers not compiling on Unix 2022-01-16 02:29:25 +01:00
WerWolv
a70ece7b9c sys: Bunch of cleanup, use fs::path instead of std::string for paths 2022-01-16 01:51:31 +01:00
WerWolv
ed8ee35a86 ui: Fixed sizing of several popups 2022-01-16 00:48:35 +01:00
WerWolv
8a6b110d0b ux: Improve loading of encoding files, make advanced encoding enabled by default 2022-01-15 23:44:15 +01:00
WerWolv
1f65fbf422 ui: Fixed hex editor selection frame 2022-01-15 20:56:06 +01:00
WerWolv
25e4902a1c ui: Improved displaying of a bunch of values in the inspector 2022-01-15 15:15:25 +01:00
WerWolv
bcbda85a40 fix: Compiling of time functions on Unix 2022-01-15 15:03:15 +01:00
WerWolv
abac42826c fix: Many security and format issues 2022-01-15 14:14:53 +01:00
WerWolv
54785b29dd api: Moved file extension handling to plugin and added API 2022-01-13 14:34:19 +01:00
WerWolv
c88d428fb5 sys: std::filesystem -> fs 2022-01-13 14:33:30 +01:00
WerWolv
1f8c9b9f71 api: Move copy-as data formatting code to builtin-plugin, add api for it 2022-01-13 00:27:31 +01:00
WerWolv
f6e4d56de6 patterns: Fixed [[static]] attribute and majorly reduced memory usage
Fixes #394
2022-01-12 22:02:47 +01:00
WerWolv
d399a6427a sys: Use custom literals for scaled values 2022-01-11 23:48:18 +01:00
WerWolv
2f1a707fd3 ui: Improve layout of hex editor footer 2022-01-11 23:05:02 +01:00
WerWolv
cbfe52c756 patterns/ui: Limit displaying of array entries to 50 with option to double click last entry for more 2022-01-11 22:38:50 +01:00
WerWolv
652896bd3a lang: Added missing translation 2022-01-10 21:44:42 +01:00
WerWolv
1fe6dc4c6e fix: Occasional crash when disassembling files 2022-01-10 21:38:52 +01:00
WerWolv
e35ea13f60 sys: Improved view const-correctness 2022-01-10 21:05:37 +01:00
WerWolv
e1fb0a5d72 ui: Fixed settings window being huge 2022-01-10 21:05:18 +01:00
WerWolv
6ada7885b1 fix: Opening files as read-only if user doesn't have permissions 2022-01-09 21:57:43 +01:00
WerWolv
d38d261bbc provider: Fixed applying of IPS patches. Handle applying asynchronously 2022-01-09 21:27:59 +01:00
draftshade
fe04d05c28
sys: Add functionality to clear recent files (#395)
* sys: Add functionality to clear recent files

* sys: Remove clear recent files from welcome window
2022-01-08 23:17:47 +01:00
WerWolv
077bc45b7d fix: Many format string warnings on MacOS and some Linux distros 2021-12-31 01:10:06 +01:00
WerWolv
3ce0f8f4a8 patterns: Added break and continue statements for loops 2021-12-30 14:44:46 +01:00
WerWolv
7c2e060a5f fix: Provider reading from invalid addresses on later pages
This fixes #384
2021-12-23 15:57:22 +01:00
WerWolv
936d1d6072 sys: Moved to a better shortcut handling system 2021-12-23 15:11:38 +01:00
qxxxb
28e51309cc
Fix saving files (#382) 2021-12-22 13:36:26 +01:00
WerWolv
c1bb407b34 ui: Make diff hex view more consistent with the normal hex editor view
Fixes #381. Thanks a lot to @qxxxb
2021-12-22 13:33:22 +01:00
WerWolv
78f6ef464a ui: Improved look and feel of some tool entries 2021-12-20 22:04:10 +01:00
WerWolv
e11a5d0d44 ui: Added link to discord server to welcome page 2021-12-20 21:38:52 +01:00
WerWolv
ad223a4e5c sys: Refactor pattern language api functions a bit 2021-12-20 20:40:28 +01:00
WerWolv
376cb01a16 patterns: Disallow calling of dangerous functions by default
Closes #330
2021-12-19 12:32:15 +01:00
WerWolv
0efb226c2f patterns: Make std::env return an empty string and throw a warning if env var doesn't exist 2021-12-18 23:38:16 +01:00
WerWolv
ea92e17ca0 patterns: Added basic support for in/out variables 2021-12-18 22:56:36 +01:00
WerWolv
b082a28cc4 build: Mark libraries as PIC properly 2021-12-17 09:52:11 +01:00
WerWolv
891cc42f08 ui: Added global running tasks progress bar 2021-12-16 23:48:52 +01:00
WerWolv
b17808c6c7 build: Completely get rid of system capstone 2021-12-16 12:37:22 +01:00
WerWolv
6b22464771 fix: Loading a project crashes imhex 2021-12-16 10:07:31 +01:00
WerWolv
1770235648 build: Build and statically link capstone to work around Ubuntu issues
Sigh...
2021-12-15 23:28:47 +01:00
WerWolv
f325d50ab8 yara: Actually fixed reading data 2021-12-15 22:52:35 +01:00
WerWolv
7d0d8d5649 yara: Fix address offset after the first page of data 2021-12-15 21:13:45 +01:00
WerWolv
78b3f5aef1 build: Link libraries to relevant projects 2021-12-14 20:16:59 +01:00
WerWolv
e25d98ef63 provider: Fixed opening zero sized files 2021-12-14 20:16:00 +01:00
WerWolv
51474b2eae ui: Added icon to footer when ImHex has elevated permissions 2021-12-13 22:58:23 +01:00
WerWolv
9bf9788689 fix: Error when opening a file 2021-12-12 21:46:48 +01:00
WerWolv
b372d20ab0 fix: Missing includes on Linux and Mac 2021-12-12 13:42:01 +01:00
WerWolv
d1ce8a5f9b ui: Fix size of settings window 2021-12-12 13:35:23 +01:00
WerWolv
41ce0f57ed ui: Improved About page, removed super outdated cheat sheets 2021-12-12 13:35:07 +01:00
WerWolv
1a0b0e2385 provider: Automatically load available disks on windows 2021-12-12 11:56:26 +01:00
WerWolv
443dedd832 ui/lang: Improved localization and interface glitches of GDB provider ui 2021-12-12 11:55:38 +01:00
WerWolv
caf9ee0c58 ux: Added "Open Other" option to open other providers to File menu 2021-12-12 11:53:56 +01:00
WerWolv
b2a9965617 api: Improved Provider registering api, hide implementation functions better 2021-12-12 11:52:58 +01:00