Update: strings.py Version 0.0.7

This new version brings an update to the Pascal feature of strings.py, my tool to extract strings from arbitrary files. I had to analyze compiled Lua code (compiled with Lua 5.2): Lua 5.2 byte code stores strings like C strings and Pascal strings. The strings are terminated by a NULL byte, like C strings, and […]

This new version brings an update to the Pascal feature of strings.py, my tool to extract strings from arbitrary files.

I had to analyze compiled Lua code (compiled with Lua 5.2): Lua 5.2 byte code stores strings like C strings and Pascal strings.

The strings are terminated by a NULL byte, like C strings, and they are prefixed with a length counter, like Pascal strings. Since the length includes the NULL byte, my strings.py tool didn’t match compiled Lua 5.2 strings:

I need to subtract 1 from the counter, so that it matches the length of the string without NULL byte. This can now be done as follows:

 

strings_V0_0_7.zip (https)
MD5: 2533BF3E7CBD5526718CDE5E150039D2
SHA256: FFBE686A2E41B22858023898580419806A789349D408C24EF25E8BEBCD33A418


Print Share Comment Cite Upload Translate
APA
() » Update: strings.py Version 0.0.7. Retrieved from https://www.truth.cx/2021/01/24/update-strings-py-version-0-0-7/.
MLA
" » Update: strings.py Version 0.0.7." - , https://www.truth.cx/2021/01/24/update-strings-py-version-0-0-7/
HARVARD
» Update: strings.py Version 0.0.7., viewed ,
VANCOUVER
- » Update: strings.py Version 0.0.7. [Internet]. [Accessed ]. Available from: https://www.truth.cx/2021/01/24/update-strings-py-version-0-0-7/
CHICAGO
" » Update: strings.py Version 0.0.7." - Accessed . https://www.truth.cx/2021/01/24/update-strings-py-version-0-0-7/
IEEE
" » Update: strings.py Version 0.0.7." [Online]. Available: https://www.truth.cx/2021/01/24/update-strings-py-version-0-0-7/. [Accessed: ]
Select a language: