Commit Graph

533 Commits

Author SHA1 Message Date
WerWolv 556fd2bbc3 build: Really only build the things that are necessary 2024-01-04 13:18:27 +01:00
WerWolv cd72ff1f84 build: Fix installing external plugins 2024-01-04 10:25:29 +01:00
WerWolv 4a5f1038e0 fix: Crash when opening a file that cannot be mapped into memory 2023-12-31 14:58:20 +01:00
WerWolv ec45d1f564 build: Updated libwolv 2023-12-27 16:26:02 +01:00
WerWolv 96fe608d60 impr: Switch most usages of modals over to toasts 2023-12-26 00:22:47 +01:00
WerWolv e2489151f3 feat: Added decompressing support 2023-12-24 13:14:51 +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 ffc1aa6a91 patterns: Updated pattern language 2023-12-21 16:56:21 +01:00
WerWolv d48acf7fef patterns: Updated pattern language 2023-12-21 16:39:37 +01:00
WerWolv 72260b5323 patterns: Updated pattern language 2023-12-21 16:23:50 +01:00
WerWolv adcaad791a patterns: Updated pattern language 2023-12-21 14:58:45 +01:00
WerWolv f47163c4ad build: Updated libromfs 2023-12-20 14:11:51 +01:00
WerWolv 5b3ae56912 patterns: Update all pattern language code to use new API 2023-12-20 10:08:40 +01:00
WerWolv 71763d108b build: Updated libwolv 2023-12-18 22:39:46 +01:00
WerWolv b58463bbaf build: Updated libwolv 2023-12-15 08:11:22 +01:00
WerWolv 623e074ba0 build: Updated libromfs 2023-12-11 16:11:49 +01:00
WerWolv 91230ba438 feat: Added workspaces 2023-12-11 15:54:22 +01:00
WerWolv f1b40d0500 build: Updated libromfs 2023-12-08 14:30:35 +01:00
WerWolv 0cbaf40747 build: Allow for better stacktraces on Linux 2023-12-08 14:00:32 +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 768982b67a patterns: Updated pattern language 2023-12-02 14:35:54 +01:00
WerWolv 4fd3167bb3 feat: Added minimal layout 2023-12-02 14:35:44 +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 a50bb39978 impr: Further improve compile times 2023-11-30 14:40:07 +01:00
WerWolv e370fdb0fc build: Add support for unity builds 2023-11-30 10:22:15 +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 32276b820f build: Updated libwolv 2023-11-23 09:23:28 +01:00
WerWolv 2f8481f5e2 patterns: Updated pattern language 2023-11-20 21:41:07 +01:00
WerWolv 1e98e641bb patterns: Updated pattern language 2023-11-20 11:12:48 +01:00
WerWolv 9a33110ac3 patterns: Updated pattern language 2023-11-19 14:53:19 +01:00
WerWolv 0105ed447f patterns: Updated pattern language
Fixes #1412
2023-11-16 08:47:06 +01:00
WerWolv 657744cc28 patterns: Updated pattern language 2023-11-15 13:43:53 +01:00
WerWolv 53c04a934e patterns: Updated pattern language 2023-11-14 15:54:43 +01:00
WerWolv 0e671b1569 patterns: Updated pattern language
Fixes #1196
2023-11-12 22:47:02 +01:00
iTrooz f0465c63ed
build: move third party libraries to lib/third_party (#1417)
Co-authored-by: Nik <werwolv98@gmail.com>
2023-11-12 02:02:54 +01:00
iTrooz 7405219fb8 build: Make ImHex buildable for MacOS arm64 (#1414) 2023-11-11 20:56:30 +01:00
WerWolv 30ce4b6e3c patterns: Updated pattern language 2023-11-11 12:07:38 +01:00
WerWolv 7d53636e10 feat: Added simple graphing calculator 2023-11-11 00:54:16 +01:00
WerWolv 2073793fcd impr: Make backspace work while holding shift in the text editor
Closes #1409
2023-11-10 22:25:39 +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 8581ab9eb3 feat: Added simple data access graph to pattern editor 2023-11-06 15:15:35 +01:00
WerWolv 713ce86e24 build: Updated libwolv 2023-11-05 21:17:44 +01:00
WerWolv 0388bbdc6d build: Updated libwolv 2023-11-05 18:44:18 +01:00
WerWolv 30d47fd51b build: Updated libwolv 2023-11-05 18:39:48 +01:00
WerWolv 3b2cf5b851 build: Updated libromfs 2023-11-05 01:03:19 +01:00
WerWolv c9a728c318 fix: Rare crash when monitor connection status changes 2023-11-05 00:04:32 +01:00
WerWolv e7eaa2b194 build: Updated libwolv 2023-11-04 23:35:34 +01:00
WerWolv 615596dfe9 fix: Standard jthread detection 2023-11-02 20:41:47 +01:00