WerWolv
65e2f1b5af
fix: Synchronized scrolling not working correctly
2023-12-24 00:06:16 +01:00
WerWolv
fe24db7c57
feat: Move hashes into plugin, merged in extra hashes plugin
2023-12-23 22:01:47 +01:00
Nik
61bfe10bc2
refactor: Rework features that use external libraries into optional plugins ( #1470 )
2023-12-23 21:09:41 +01:00
Nik
84bfd10416
build: Restructured entire custom plugin system ( #1469 )
2023-12-22 23:39:38 +01:00
WerWolv
538e79183c
fix: Build because i64 is not the same as ImS64 somehow
2023-12-22 21:34:11 +01:00
WerWolv
b934ca6ad3
impr: Allow a entire 64 bit address space to be displayed in the hex editor
2023-12-22 16:58:50 +01:00
Justus Garbe
ad8e3e38f0
Revert pattern language until it's stable again ( #1468 )
...
- Revert pattern language
2023-12-21 22:01:07 +01:00
WerWolv
5bc8e5c57c
impr: Only display background color of patterns that have a color
2023-12-21 16:40:08 +01:00
WerWolv
5b3ae56912
patterns: Update all pattern language code to use new API
2023-12-20 10:08:40 +01:00
WerWolv
2b5789631f
feat: Added basic toast popups
2023-12-19 23:21:20 +01:00
WerWolv
96db2074c6
feat: Add ignore case and UTF16 search options to sequence searching
2023-12-19 14:34:35 +01:00
WerWolv
c7ab4a4569
refactor: Get rid of this->m_
2023-12-19 13:10:25 +01:00
WerWolv
dd4be3b772
refactor: Make sure unlocalized strings are always actually unlocalized
2023-12-19 12:22:28 +01:00
WerWolv
edc4b18975
impr: Add plugin table to about page
2023-12-18 11:21:33 +01:00
WerWolv
7a0680c2cb
impr: Add warning to disk provider if ImHex is not running elevated
2023-12-17 23:16:55 +01:00
WerWolv
f2a795c51e
fix: Provider loader interface being closable and not resizing correctly
2023-12-17 23:15:52 +01:00
WerWolv
a315ecb831
fix: Flickering of selection frame in hex editor view when scrolling
2023-12-17 18:26:36 +01:00
WerWolv
b5df20d7c6
feat: Exposed demangling of symbols to CLI
2023-12-15 08:11:51 +01:00
WerWolv
f000b6bc0a
feat: Added basic introduction tutorial
2023-12-13 23:03:39 +01:00
WerWolv
346f1362c6
impr: Allow more popups to be closed with Escape
2023-12-13 15:08:27 +01:00
WerWolv
92043a3d23
feat: Added tutorials view
2023-12-13 13:04:59 +01:00
WerWolv
1a8a9e53e1
impr: More information view UI improvements
2023-12-12 13:20:51 +01:00
WerWolv
e080164305
fix: Restart imhex popup not working correctly
2023-12-11 23:05:47 +01:00
WerWolv
1ba34c233e
fix: Various scaling issues
2023-12-10 22:37:26 +01:00
WerWolv
878f45dd80
fix: Various build errors
2023-12-08 16:22:36 +01:00
WerWolv
b4813660b5
refactor: Better interface for the event system
2023-12-08 10:29:44 +01:00
Truman Kilen
5c84ef5f72
feat: Added Linux support to the Process Memory Provider ( #1331 )
...
<!--
Please provide as much information as possible about what your PR aims
to do.
PRs with no description will most likely be closed until more
information is provided.
If you're planing on changing fundamental behaviour or add big new
features, please open a GitHub Issue first before starting to work on
it.
If it's not something big and you still want to contact us about it,
feel free to do so !
-->
### Problem description
<!-- Describe the bug that you fixed/feature request that you
implemented, or link to an existing issue describing it -->
Implement a Linux backend for the ProcessMemoryProvider plugin.
### Implementation description
<!-- Explain what you did to correct the problem -->
Most of the provider code is the same between Windows and Linux. The
primary differences are:
- enumerate PIDs in `/proc/` to get the process list
- use `/proc/<PID>/cmdline` as the process name
- parse `/proc/<PID>/maps` to get the module list
- reading/writing from memory is done using
`process_vm_readv`/`process_vm_writev`
NOTE: `sudo setcap CAP_SYS_PTRACE=+eip build/imhex` must be run to give
the binary permission to read another process' memory. Running as root
user should also work but I would not recommend it.
### Additional things
The existing translations keys no longer match since I moved the plugin
from `windows` to `builtin`.
I'm not well versed in C++ so I attempted to keep my changes rather
simple. Feedback is very welcome.
---------
Co-authored-by: WerWolv <werwolv98@gmail.com>
2023-12-07 23:33:15 +01:00
WerWolv
3a016da549
impr: Make providers return a 64 bit size on all platforms
2023-12-07 12:06:26 +01:00
WerWolv
f5cbcce112
impr: Add close button to toolbar
2023-12-07 11:53:16 +01:00
WerWolv
f68202a098
impr: Make hex editor footer collapsible
2023-12-07 11:20:54 +01:00
WerWolv
bfb2c6ab5f
impr: Automatically remove null provider if another one is opened
2023-12-07 11:20:37 +01:00
WerWolv
5d24f1b691
impr: Fix input field selection in command palette
2023-12-06 16:20:06 +01:00
WerWolv
0b71568d97
impr: Better UI handling when window is very small
2023-12-06 11:05:02 +01:00
WerWolv
2b22a15e8c
feat: Added --hexdump subcommand
2023-12-05 16:45:35 +01:00
WerWolv
760b8c7a88
impr: Make long running tasks not freeze ImHex, fix saving non-continuous providers
...
Fixes #1454
2023-12-05 14:32:43 +01:00
Nik
f9a9ed4846
impr: Vastly improved 3D Visualizer ( #1456 )
...
Based entirely on @paxcut's amazing PR #1443
---------
Co-authored-by: paxcut <paxcut@outlook.com>
Co-authored-by: paxcut <53811119+paxcut@users.noreply.github.com>
2023-12-05 10:49:51 +01:00
WerWolv
08fd09064a
fix: Settings view still using old system and not opening properly
2023-12-04 22:17:43 +01:00
WerWolv
9afbfec64e
impr: Allow bookmark addresses to be changed, better comment editor
2023-12-02 23:11:31 +01:00
WerWolv
e6ad54b53b
fix: Overlays not being applied properly
2023-12-02 18:42:57 +01:00
WerWolv
866cb5706d
feat: Added highlighting rules
2023-12-02 11:09:32 +01:00
WerWolv
2cf642a2a4
build: Updated libwolv
2023-12-01 14:07:10 +01:00
WerWolv
519d965a36
refactor: Move tools to correct namespace, move data processor nodes
2023-12-01 13:53:51 +01:00
WerWolv
a50bb39978
impr: Further improve compile times
2023-11-30 14:40:07 +01:00
WerWolv
8ee234e5a6
impr: Optimize api includes
2023-11-30 11:23:12 +01:00
WerWolv
e370fdb0fc
build: Add support for unity builds
2023-11-30 10:22:15 +01:00
WerWolv
5e32b693f3
fix: Crash when trying to analyze small files
2023-11-29 11:02:23 +01:00
WerWolv
8d20277a62
feat: Added setting to enable colored pattern row backgrounds
2023-11-25 13:42:51 +01:00
Nik
7e660450ed
feat: Implement better and more complete undo/redo stack ( #1433 )
...
This PR aims to implement a more complete undo/redo stack that, unlike
the old one, also supports undoing insertions, deletions and resize
operations
2023-11-25 12:43:48 +01:00
WerWolv
e5f36ca08d
impr: Greatly improve UI of about page
2023-11-25 00:43:03 +01:00
WerWolv
0b06b1e1e8
fix: Way too many bytes being used for digram and layered distribution plot
2023-11-23 23:00:31 +01:00
WerWolv
58c3b95c84
impr: Drastically improve performance of diagram processing
2023-11-23 13:09:06 +01:00
WerWolv
5a58ed5114
fix: Make sure store and about page are opened correctly
2023-11-23 13:08:45 +01:00
WerWolv
909f4b7fe8
refactor: Rename and update localization system
2023-11-21 14:38:01 +01:00
WerWolv
c89a870fe9
refactor: Streamline entire view system
2023-11-21 13:47:50 +01:00
WerWolv
3b01dcf230
feat: Allow hiding data inspector rows
2023-11-18 17:23:15 +01:00
WerWolv
14f728ab76
refactor: Give API files more consistent names
2023-11-18 14:50:43 +01:00
WerWolv
1249eb3261
impr: Optimize includes in often used header files
2023-11-18 14:34:33 +01:00
WerWolv
36a352b096
feat: Draw info banner on welcome screen if one exists
2023-11-17 15:54:38 +01:00
iTrooz
39252dfe48
refactor: Move custom ImGui functions to ImGuiExt namespace ( #1427 )
...
Co-authored-by: Nik <werwolv98@gmail.com>
2023-11-16 22:24:06 +01:00
WerWolv
0bace013a1
fix: Unary operators not working correctly in math evaluator
2023-11-16 21:23:58 +01:00
WerWolv
5ec7826273
feat: Highlight color when hovering over it in the theme manager
2023-11-14 22:27:29 +01:00
WerWolv
46d3402705
impr: Better UI for the command palette
2023-11-14 12:15:37 +01:00
WerWolv
d3ed34d5eb
impr: Display folder names of files in subfolders in file chooser popup
2023-11-14 00:37:07 +01:00
iTrooz
e0264a3459
refactor: Split data processor nodes in several files ( #1419 )
...
I'm really not sure about how I grouped the nodes, but that's a start.
In need of review
---------
Co-authored-by: Nik <werwolv98@gmail.com>
2023-11-13 23:36:39 +01:00
iTrooz
b04cb7648e
refactor: refactor tools_entries.cpp into several smaller files ( #1418 )
2023-11-12 00:22:01 +00:00
WerWolv
3d04669ef0
fix: Goto and Select being able to select bytes in zero-size files
2023-11-12 00:20:30 +01:00
WerWolv
17540b0120
fix: Prevent Goto from making selections that start before the base address
2023-11-11 23:43:48 +01:00
WerWolv
7f35d81722
fix: Selecting byte ranges that don't exist causing a crash
2023-11-11 23:00:37 +01:00
WerWolv
498d8c1d65
impr: General code cleanup
2023-11-10 20:47:08 +01:00
WerWolv
4fc2fb7a6f
feat: Added support for filtering patterns by value
2023-11-10 14:48:13 +01:00
WerWolv
ef320b74b0
impr: Handle showing popups when closing unsaved providers better
2023-11-07 15:31:54 +01:00
WerWolv
8581ab9eb3
feat: Added simple data access graph to pattern editor
2023-11-06 15:15:35 +01:00
WerWolv
4e4cdcdf61
feat: Added release notes and commits to about page
2023-11-05 19:57:29 +01:00
WerWolv
e63af24626
fix: Documentation AI not working correctly often
...
Fixes #1375
2023-10-26 17:19:23 +02:00
iTrooz
bffc229fa8
feat: handle content store entries managed by the system (in a read-only folder) ( #1389 )
2023-10-24 20:00:49 +02:00
Nik
7fe9a768d4
impr: Rewrote entire settings API and UI ( #1378 )
2023-10-21 21:07:33 +00:00
WerWolv
d07d36f784
fix: Loading of data processor workspaces not working correctly
2023-10-19 23:53:20 +02:00
WerWolv
8821f75e6b
impr: Display friendly disk name as the tab title of the disk provider
2023-10-17 10:22:56 +02:00
WerWolv
c49aad6cd3
impr: List all physical drives on windows in the raw disk provider
2023-10-16 23:45:46 +02:00
iTrooz
d15bd4771d
feat: Support for building ImHex for the web ( #1328 )
...
Co-authored-by: WerWolv <werwolv98@gmail.com>
Co-authored-by: AnnsAnn <git@annsann.eu>
2023-10-04 12:00:32 +02:00
Lennard Fonteijn
ad69ac84b1
feat: Added hex::group attribute and various fixes ( #1302 )
...
As discussed (many times) on Discord, does the same as the new favorite
tag, but instead allows you to add multiple groups.
Initially, this would cause some insane issues with draw/reset
(apparantly) fighting eachother in the pattern drawer. After a lot of
trial and error, I decided to rewrite the flow that is responsible for
calling reset. Now evaluating patterns is the one to decide when the
reset happens, not the core "game"-loop.
To make sure that draw and reset can never happen at the same time, the
mutex originally used for the favorites has been repurposed. Due to the
restructuring, the mutex in the favorite-task is no longer needed, as
that will only ever kick-off after reset is called and if there are
actually patterns, which can never line up to be accessed on different
threads at the same time.
Last but not least, I noticed that hard crashes could result in your
config file getting overridden. I added a check to prevent that.
Last I issue I can see is that if you use an excessive amount of
favorites/groups, a crash can still happen, but it only happens when you
close the program (occasionally, but unpredictable). Before, this would
happen if you ran the evaluation a second time. I boiled the cause of
the crash down to these lines of code in evaluator.cpp >
patternDestroyed:
```cpp
if (pattern->isPatternLocal()) {
if (auto it = this->m_patternLocalStorage.find(pattern->getHeapAddress()); it != this->m_patternLocalStorage.end()) {
auto &[key, data] = *it;
data.referenceCount--;
if (data.referenceCount == 0)
this->m_patternLocalStorage.erase(it);
} else if (!this->m_evaluated) {
err::E0001.throwError(fmt::format("Double free of variable named '{}'.", pattern->getVariableName()));
}
}
```
Specifically, trying to access the `*it` is the reason for the crash
(this was also the cause of the crashes before my fixes, but then during
evaluation).
I'm suspecting the root cause is somewhere in the `.clone` methods of
the patterns. I'd say that for now a crash when closing the program is
more acceptable than during evaluation (which can even happen if you use
favorites).
2023-09-16 13:09:59 +02:00
WerWolv
367c4ec9c8
impr: More view comments and refactoring
2023-09-03 10:27:03 +02:00
iTrooz
fc1ad592cb
feat: Adapt content store view for new API contents ( #1268 )
2023-09-02 18:36:34 +02:00
WerWolv
4288f876e2
impr: Added lots of comments and cleaned up many views
2023-08-29 12:14:12 +02:00
iTrooz
175e66a60e
feat: Do not save memory providers as recent entries ( #1259 )
2023-08-25 15:35:15 +02:00
WerWolv
83e42ddfd9
fix: Don't show accept pattern popup if no patterns are available
2023-08-19 19:12:48 +02:00
WerWolv
8a2afd1c05
fix: Crashes when having pattern auto evaluation enabled
2023-08-16 22:26:05 +02:00
Lennard Fonteijn
896091b124
feat: Added toggle for human-readable units in hex editor footer ( #1251 )
...
Finalization of #1245 by adding a toggle to the hex editor itself, issue
can be closed afterwards.
2023-08-13 19:08:09 +02:00
WerWolv
65c56a887c
feat: Added option to load files into memory
2023-08-09 20:04:12 +02:00
WerWolv
a6aafa8cd6
feat: Allow memory files to be renamed
2023-08-08 19:04:00 +02:00
WerWolv
ba9227c1e0
feat: Properly save memory provider data
2023-08-06 21:48:08 +02:00
Nik
e77f138514
feat: Added Achievements ( #1230 )
...
This PR adds Achievements to ImHex that serve as both a guide and a fun
way to learn more about ImHex and reverse engineering
2023-08-06 21:33:15 +02:00
WerWolv
f2cfc70eca
fix: Highest / Lowest entropy block address being wrong
2023-08-06 01:51:01 +02:00
WerWolv
4d4f223357
impr: Improve frame rate when lots of bytes are highlighted
2023-07-24 23:24:31 +02:00
WerWolv
b8d5e1e9c5
feat: Added built-in logging console
2023-07-23 23:37:47 +02:00
WerWolv
fdd2e1fcde
patterns: Added [[hex::spec_name]]
2023-07-23 09:14:00 +02:00
WerWolv
ee41a5a046
fix: Selection changes not being handled correctly
2023-07-21 14:22:53 +02:00
WerWolv
18dd754b31
impr: Better handling of hex editor selections
2023-07-20 20:58:28 +02:00
WerWolv
a83ca3c228
feat: Added --pl and --magic command
2023-07-17 10:43:29 +02:00
WerWolv
e9450b490f
feat: Added --plugin, --calc, --hash, --encode and --decode subcommands
2023-07-16 23:46:41 +02:00