Commit Graph

655 Commits

Author SHA1 Message Date
orange 0e824ef320 Clarifies build preset usage in INSTALL.md
Rephrases the explanation regarding build presets for clarity in the INSTALL.md file.
The text now more explicitly advises users on selecting appropriate presets.
2025-10-08 19:22:20 +03:00
orange cbf627c9f8 Moves PE headers file to omath directory
Organizes the project by relocating the PE headers file to the omath directory structure.
This improves code organization and maintainability.
2025-10-08 19:22:20 +03:00
orange dea896c6cb added mkdoc 2025-10-08 19:22:19 +03:00
orange a057b8c1e9 Defines PE header structure for x64
Introduces a structure for representing the DOS header
within a PE (Portable Executable) file for x64 architectures.
This definition enables easier parsing and manipulation of PE header information.
2025-10-08 19:22:19 +03:00
orange 416f8c86c1 Add Kaspersky LLC to license restrictions 2025-10-08 17:48:24 +03:00
orange b230051258 Disables rvalue overload of scan_for_pattern
Prevents implicit conversions and unexpected behavior by deleting the rvalue overload of `scan_for_pattern`.
2025-10-06 15:05:04 +03:00
orange ffb1e70552 Corrects function signature
Adjusts the `scan_for_pattern` function signature to correctly use `const std::string_view&`.
2025-10-06 14:46:40 +03:00
orange 70b9505166 added global header 2025-10-06 14:36:00 +03:00
orange 9ccb25dd26 added concept for iterators, reworked interface 2025-10-06 14:25:52 +03:00
orange 8344b745b7 improved scanner interface 2025-10-06 14:21:52 +03:00
orange d2b64a52b0 added unlikely 2025-10-06 14:04:43 +03:00
orange fd3d003251 Merge pull request #81 from orange-cpp/feature/pattern_scan
Improves pattern scanning functionality and adds corner case tests
2025-10-05 15:59:59 +03:00
orange e93a6dc214 Includes header for fixed-width integer types
Adds `#include ` to ensure platform-independent use of fixed-width integer types.
2025-10-05 15:56:35 +03:00
orange 7329410f94 Uses std::ranges::find for pattern scanning
Replaces `std::find` with `std::ranges::find` for improved code consistency and potentially better performance when dealing with ranges.
2025-10-05 15:54:54 +03:00
orange 7bb23d3f7a Uses parsed pattern size in pattern scan
Updates the pattern scan loop to iterate over the size of the parsed pattern, ensuring correct iteration when using parsed patterns.
2025-10-05 14:14:31 +03:00
orange 932b0d8deb Adds pattern scanning functionality and corner case tests
Implements a pattern scanning feature that allows searching for byte patterns within a byte range.

Adds `scan_for_pattern` method to `PatternScanner` to locate a pattern within a byte span.

Adds corner case tests to verify functionality and handle invalid inputs.
2025-10-05 06:37:20 +03:00
orange 64e6ba3632 Adds corner case tests for pattern scanning
Adds new test cases to cover additional scenarios for pattern scanning, including tests for leading/trailing whitespace and spacing variations to ensure robustness.
2025-10-04 18:43:05 +03:00
orange 6319aa81ab Handles empty pattern strings
Skips processing when encountering an empty string slice during pattern scanning.
This prevents unexpected behavior and potential errors when the pattern string contains sections that result in an empty byte string.
2025-10-04 18:33:57 +03:00
orange 544fa313c1 Adds pattern scanning functionality
Implements a pattern scanner for byte sequence parsing.

Introduces `omath::PatternScanner` to parse pattern strings, which represent byte sequences.
Adds support for wildcard characters ('?' and '?') to represent optional bytes in the pattern.
Includes unit tests for basic read operations to ensure proper functionality.
2025-10-04 18:30:43 +03:00
orange 4e0c74a256 Merge pull request #80 from orange-cpp/feature/rev_eng
Feature: Reverse Engineering classes
2025-10-04 10:09:07 +03:00
orange d0684c388e finished test 2025-10-04 10:04:34 +03:00
orange 137f1f6826 update global header 2025-10-04 09:52:14 +03:00
orange 46457b81ac added external class 2025-10-04 09:47:48 +03:00
orange 70f2f90100 reordored omath headers 2025-10-03 13:51:53 +03:00
orange c8b2d963db added rev_object 2025-10-03 13:43:47 +03:00
orange 033935918b version update v3.8.2 2025-10-03 13:16:48 +03:00
orange d27b3ebd53 femoved useless file 2025-10-03 13:14:11 +03:00
orange b69303faca fixed wrong spam of command option into build log 2025-10-03 12:40:18 +03:00
orange 4241e738f4 Merge pull request #78 from luadebug/patch-1
CMakeLists.txt: support AVX2 detection
2025-10-01 03:10:24 +03:00
Saikari e3d77e8681 CMakeLists.txt: do not use /ARCH:AVX since we have /ARCH:AVX2 already 2025-09-30 23:40:07 +03:00
Saikari 259242b582 Update CMakeLists.txt 2025-09-30 23:18:00 +03:00
Saikari 9d256901dd CMakeLists.txt: support AVX2 detection for https://github.com/xmake-io/xmake-repo/pull/8277 2025-09-30 21:40:25 +03:00
orange 253361e1b7 forgot linux macos 2025-09-29 11:23:28 +03:00
orange f7fe21d924 removed useless fields of C compiler 2025-09-29 11:21:43 +03:00
orange 769261a584 added another clangformat 2025-09-27 10:55:05 +03:00
orange 988f81eeb4 Add documentation link to README 2025-09-27 10:40:54 +03:00
orange 28e48dabc9 added version file update cmake version 2025-09-27 10:38:31 +03:00
orange c4e61e3aa2 Revise features and clean up README
Updated features section and removed usage examples.
2025-09-27 10:35:14 +03:00
orange eb6f0302a9 Merge pull request #77 from orange-cpp/feature/formating_improvement
Feature/formating improvement
v3.8.1
2025-09-25 22:03:47 +03:00
orange 5ad1d763bb added plane header 2025-09-25 21:59:59 +03:00
orange cc68d4e2b7 fix 2025-09-25 21:57:05 +03:00
orange 899a9825a0 decomposed formatter 2025-09-25 21:55:56 +03:00
orange 800435b407 improvement 2025-09-25 21:43:33 +03:00
orange 0a72f8541a improved encoding for formating 2025-09-25 21:06:46 +03:00
orange a5ed088ce0 imprvoed code style 2025-09-25 19:33:06 +03:00
orange 1e0cec2762 Merge pull request #76 from orange-cpp/bugfix/projectile_pred
projectile pred look at fix
2025-09-22 02:43:04 +03:00
orange 423dca43e4 fix 2025-09-22 02:41:12 +03:00
orange 7318644027 ooops 2025-09-22 02:39:50 +03:00
orange 0515018605 added targets specification to ci cd build 2025-09-22 02:38:25 +03:00
orange 152eafb78f disable benchmark build for CI/CD 2025-09-22 02:34:52 +03:00