1
0
mirror of synced 2024-11-14 02:57:41 +01:00
Commit Graph

77 Commits

Author SHA1 Message Date
Polshakov Dmitry
63455ce2be
fix: don't change list while iteration (#434)
Co-authored-by: Dmitry Polshakov <dmitry.polshakov@dsr-corporation.com>
2022-02-12 15:39:47 +01:00
WerWolv
585058b500 pattern: Fixed control flow statements not being applied correctly 2022-02-11 21:02:18 +01:00
WerWolv
57f31123e7 pattern: Cleanup log console a bit 2022-02-11 16:53:01 +01:00
WerWolv
b4a3eb240e pattern: Don't allow negative array sizes 2022-02-11 16:52:51 +01:00
WerWolv
0e40b8a81a pattern: Don't reset offset back after variable placements in global scope 2022-02-09 08:55:51 +01:00
WerWolv
2510f61a4e pattern: Fixed array pattern data columns being offset 2022-02-09 08:55:00 +01:00
WerWolv
28e5f62c60 fix: ImU64 is somehow not the same as u64 on Linux 2022-02-08 22:25:25 +01:00
WerWolv
586bca4bf6 ui: Make hexadecimal prefix slightly darker than rest of text 2022-02-08 22:19:54 +01:00
WerWolv
bd30411ba7 ui: Replaced all hex input textboxes with the new ones 2022-02-08 21:51:09 +01:00
WerWolv
1b95722757 ui: Added hexadecimal input text box 2022-02-08 21:10:48 +01:00
WerWolv
1738c3f50a build: Use correct include directory for capstone 2022-02-08 19:22:52 +01:00
WerWolv
18169b461a pattern: Fixed selecting first member of nested patterns 2022-02-08 18:39:47 +01:00
WerWolv
abd3fe6ed1 sys/ux: Improved selection requests 2022-02-08 18:38:54 +01:00
WerWolv
e918a594f3 pattern: Improved attribute handling 2022-02-08 17:50:42 +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
37ea9c6656 pattern: Allow pattern with nested children to be selectable, make pointers inlinable 2022-02-07 23:21:04 +01:00
WerWolv
137bfe48ca pattern: Fixed precedence of comparison operators 2022-02-07 21:37:10 +01:00
WerWolv
94506848e0 pattern: Added left_to_right and right_to_left attribute for bitfields 2022-02-07 20:08:19 +01:00
WerWolv
97db5e9698 external: Updated STB Image library
Fixes #421
2022-02-07 18:34:16 +01:00
WerWolv
decfad5c99 pattern: Properly treat calculated pointers as not part of the struct 2022-02-06 19:46:39 +01:00
WerWolv
334939324c pattern: Fixed use-after-free when accessing arrays through an r-value 2022-02-06 18:04:33 +01:00
WerWolv
99f8efac9a pattern: Fixed pragma once memory corruption 2022-02-06 15:28:20 +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
16a9d0c0c6 sys: Streamline logger functions, reorder tags for better readability 2022-02-06 00:42:38 +01:00
WerWolv
d42d87280d pattern: Allow pattern function code to be executed separately 2022-02-06 00:18:04 +01:00
WerWolv
b8026398e0 pattern: Allow variable placements inside of structs
Fixes #364
2022-02-05 23:34:52 +01:00
WerWolv
cff8bab3d3 pattern: Allow assigning to global variables inside of structs 2022-02-05 23:20:44 +01:00
WerWolv
5c3bfa690b pattern: Improved error messages when including std files or calling unknown std functions 2022-02-05 23:02:38 +01:00
WerWolv
8ab4d25e33 ux: Only show file chooser popup when there's files in the the relevant folder 2022-02-05 22:35:42 +01:00
WerWolv
eade95dff7 fix: Pattern source code being deleted when closing a provider 2022-02-05 22:26:00 +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
c2bcbfb1e0 pattern: std::from_chars is not widely supported and doesn't support u128... 2022-02-02 17:12:19 +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
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
8f8f3c5415 pattern: Actually fix strings being displayed wrong 2022-01-31 12:53:04 +01:00
WerWolv
af57b39d8f pattern: Added #pragma once to prevent multi-includes of files 2022-01-30 17:49:18 +01:00
WerWolv
7321d205fe pattern: Make parameter packs work inside later scopes 2022-01-30 17:48:51 +01:00
WerWolv
6a724352b0 pattern: Fixed sizeof and addressof operator parsing 2022-01-30 17:48:20 +01:00
WerWolv
69bd438fe1 pattern: Added parameter packs 2022-01-30 15:18:45 +01:00
WerWolv
dd572ba024 sys: Return std::nullopt instead of {} for empty optional values 2022-01-30 12:43:43 +01:00
WerWolv
4bc074fa84 sys: Remove patched bytes when their value is the same as the original 2022-01-30 11:58:32 +01:00
WerWolv
bfa3538745 pattern: Fixed color overriding of struct members when struct has a color set already
Fixes #409
2022-01-29 22:17:51 +01:00
WerWolv
e6f1dd0490 tests: Improved testing environment, added helpers tests 2022-01-29 17:14:15 +01:00
WerWolv
da16be7ad8 net: Use system certificate on Linux and MacOS 2022-01-29 13:40:17 +01:00
WerWolv
7b1a146976 pattern: Fixed crashes, removed reference to evaluator in every pattern 2022-01-29 12:40:49 +01:00