See alsoelf_info_t
- Returns
- lzma_allocator*
+
+
+
+◆ get_string_id()
+
+
+
+
+
+ EncodedStringId get_string_id |
+ ( |
+ const char * |
+ string_begin, |
+
+
+ |
+ |
+ const char * |
+ string_end |
+
+
+ |
+ ) |
+ | |
+
+
+
+
+
Get the.
+
- See also
- EncodedStringId for the given string the string will be consumed until one of the following condition is reached (whichever happens first):
+- 44 chars have been consumed (maximum string length)
+string_end
is supplied and has been reached
+- the string table has been exhausted
+
+
+
- Parameters
-
+
+ string_begin | the string to get the ID for (max 44 chars) |
+ string_end | optional string end pointer |
+
+
+
+
- Returns
- EncodedStringId the string ID matching the input string, or 0 if not found
+
diff --git a/xzre_8h_source.html b/xzre_8h_source.html
index c65a1d3..a93e4bc 100644
--- a/xzre_8h_source.html
+++ b/xzre_8h_source.html
@@ -920,10 +920,12 @@
-
-
-
-
+ 1407 extern EncodedStringId
get_string_id(
const char *string_begin,
const char *string_end);
+
+
+
+
+
data passed to functions that access the backdoor data
Definition: xzre.h:691
this structure is used to hold most of the backdoor information. it's used as a local variable in fun...
Definition: xzre.h:704
libc_imports_t libc_imports
functions imported from libc
Definition: xzre.h:736
@@ -1008,6 +1010,7 @@
@ CMDF_SETLOGMASK
disable all logging by setting mask 0x80000000
Definition: xzre.h:851
@ CMDF_8BYTES
the data block contains 8 additional bytes
Definition: xzre.h:847
BOOL find_instruction_with_mem_operand(u8 *code_start, u8 *code_end, dasm_ctx_t *dctx, void *mem_address)
finds a LEA or MOV instruction with an immediate memory operand
+EncodedStringId get_string_id(const char *string_begin, const char *string_end)
Get the.
BOOL main_elf_parse(main_elf_t *main_elf)
parses the main executable from the provided structure. as part of the process, argv0 will be retriev...
void elf_find_string_references(elf_info_t *elf_info, string_references_t *refs)
parses the ELF rodata section, looking for strings and the instructions that reference them
u8 * elf_find_string_reference(elf_info_t *elf_info, EncodedStringId encoded_string_id, u8 *code_start, u8 *code_end)
finds an instruction that references the given string