patterns/elf: Make hex view less ambiguous (#92)

* ELF: make section/segment data arrays sealed

* ELF: set display names for section/segment data

* Added new functions to library

* Updated ELF pattern

---------

Co-authored-by: Nik <werwolv98@gmail.com>
This commit is contained in:
Andrei Makeev
2023-03-23 10:51:01 +00:00
committed by GitHub
parent d9de2f7058
commit f3de35a320
2 changed files with 84 additions and 4 deletions

View File

@@ -119,4 +119,13 @@ namespace std::core {
fn is_valid_enum(ref auto pattern) {
return builtin::std::core::is_valid_enum(pattern);
};
fn set_pattern_color(ref auto pattern, u32 color) {
builtin::std::core::set_pattern_color(pattern, color);
};
fn set_display_name(ref auto pattern, str name) {
builtin::std::core::set_display_name(pattern, name);
};
}