<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Synalysis Q&amp;A - Recent questions</title>
<link>https://synalysis.guru/q2a/questions</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to do Bitwise AND Operation</title>
<link>https://synalysis.guru/q2a/327/how-to-do-bitwise-and-operation</link>
<description>&lt;table border=&quot;1&quot; cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; style=&quot;width:500px&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;7 (MSB)&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;5&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;0 (LSB)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;langcode&lt;/td&gt;&lt;td&gt;copyrightb&lt;/td&gt;&lt;td&gt;origbs&lt;/td&gt;&lt;td rowspan=&quot;1&quot; colspan=&quot;5&quot;&gt;dialnorm&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1 or 0&lt;/td&gt;&lt;td&gt;1 or 0&lt;/td&gt;&lt;td&gt;1 or 0&lt;/td&gt;&lt;td rowspan=&quot;1&quot; colspan=&quot;5&quot;&gt;0-31 (0 represents 31)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br&gt;Sorry for the probably basic question. How would I extract the 4 fields values above using the mask feature? I'm using a hex mask successfully in another part of the file, but that is a simple mask on the whole byte value not at the bit level. From what I understand, if I took e.g. 'origbs' as an example, it will have a true/false value of 1/0. The byte has a value of 0x60 so...&lt;/p&gt;&lt;p&gt;origbs (Bit 5):&lt;/p&gt;&lt;p&gt;Mask: 0x20 (which is 00100000 in binary)&lt;/p&gt;&lt;p&gt;Extraction: (0x60 &amp;amp; 0x20) &amp;gt;&amp;gt; 5&lt;/p&gt;&lt;p&gt;Result: (0x60 &amp;amp; 0x20) &amp;gt;&amp;gt; 5 = (01100000 &amp;amp; 00100000) &amp;gt;&amp;gt; 5 = 00100000 &amp;gt;&amp;gt; 5 = 0x1 (or 1 in decimal)&lt;/p&gt;&lt;p&gt;Is this possible please and if so how do I set it up? Thank you.&lt;/p&gt;</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/327/how-to-do-bitwise-and-operation</guid>
<pubDate>Sat, 31 Aug 2024 14:07:49 +0000</pubDate>
</item>
<item>
<title>Add a new checksum?</title>
<link>https://synalysis.guru/q2a/324/add-a-new-checksum</link>
<description>Hi there, exploring the software but I'm missing a basic CheckSum8 2s Complement. Is it possible to add one in a config/script somewhere?&lt;br /&gt;
&lt;br /&gt;
Regards</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/324/add-a-new-checksum</guid>
<pubDate>Wed, 28 Aug 2024 23:52:52 +0000</pubDate>
</item>
<item>
<title>How to process encoded offsets</title>
<link>https://synalysis.guru/q2a/322/how-to-process-encoded-offsets</link>
<description>I am currently greatly expanding the OpenType grammar. The CFF table uses a complex encoding scheme for number values in order to save space. Some of these encoded values represent offsets to other internal data structures. My questions: How can I either use regular offset elements and feed them decoded values, or how can I programmatically create and configure offset elements? They do not seem to be documented much at all. Thank you!</description>
<category>Generic</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/322/how-to-process-encoded-offsets</guid>
<pubDate>Tue, 09 Jul 2024 14:14:13 +0000</pubDate>
</item>
<item>
<title>How can I re-analyze a file during script development?</title>
<link>https://synalysis.guru/q2a/316/how-can-i-re-analyze-a-file-during-script-development</link>
<description>I’m working on a custom data type in Synalyze It!. It seems that I have to close and re-open the file I want to analyze in order to apply the changes to the script. This makes development and debugging extremely slow. Is there a way to force re-analysis more easily?</description>
<category>Generic</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/316/how-can-i-re-analyze-a-file-during-script-development</guid>
<pubDate>Fri, 05 Jul 2024 19:35:02 +0000</pubDate>
</item>
<item>
<title>Synalyze It! v1.32: I want to diff 2 binary files, but the option &quot;New diff&quot; is greyed out</title>
<link>https://synalysis.guru/q2a/312/synalyze-want-diff-binary-files-but-the-option-new-diff-greyed</link>
<description>Hi!&lt;br /&gt;
&lt;br /&gt;
I purchased Synalyze It! from the Mac App Store, v1.32.&lt;br /&gt;
&lt;br /&gt;
I want to diff 2 binary files, but the option &amp;quot;New diff&amp;quot; is greyed out. Is there something I'm missing?&lt;br /&gt;
&lt;br /&gt;
Thanks!</description>
<category>Synalyze It!</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/312/synalyze-want-diff-binary-files-but-the-option-new-diff-greyed</guid>
<pubDate>Fri, 17 May 2024 17:55:39 +0000</pubDate>
</item>
<item>
<title>Getting started with grammars--a file of simple variable-length records</title>
<link>https://synalysis.guru/q2a/310/getting-started-with-grammars-simple-variable-length-records</link>
<description>&lt;p&gt;I'd like to get started learning and using &lt;strong&gt;Synalyze It&lt;/strong&gt; and &lt;strong&gt;Hexinator&lt;/strong&gt;, but I could use a little more help than the docs offer to get me onto the learning curve.&lt;/p&gt;&lt;p&gt;So I'm hoping someone can provide an example grammar to get me started on a simplified version of a file format I'm interested in.&lt;/p&gt;&lt;p&gt;A file in this format consists of a sequence of records, where each record consists of:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;An initial 8-bit&amp;nbsp;type value &lt;em&gt;type&lt;/em&gt;&amp;nbsp;from a set of predefined values (with a symbolic name for each, but that detail can be left for later).&lt;/li&gt;&lt;li&gt;A 16-bit little endian &lt;em&gt;byteCount&lt;/em&gt;&amp;nbsp;of data bytes to follow&lt;/li&gt;&lt;li&gt;A series of &lt;em&gt;byteCount&amp;nbsp;dataBytes&lt;/em&gt;&lt;/li&gt;&lt;li&gt;An 8-bit &lt;em&gt;checksum&lt;/em&gt;, the two's complement of the sum across&amp;nbsp;&lt;em&gt;type&lt;/em&gt;,&amp;nbsp;&lt;em&gt;byteCount&lt;/em&gt;, and&amp;nbsp;&lt;em&gt;dataBytes&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;The full details are much more complex, essentially what you'll see in Intel's OMF-51 object file format specification which you can find at&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.keil.com/download/files/omf51.zip&quot;&gt;https://www.keil.com/download/files/omf51.zip&lt;/a&gt;, but I'm happy to put off all of that until I know how to write a suitable grammar for the basic format.&lt;/p&gt;&lt;p&gt;A script to check a record's checksum would also be helpful but can be left for later.&lt;/p&gt;</description>
<category>Grammars</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/310/getting-started-with-grammars-simple-variable-length-records</guid>
<pubDate>Thu, 25 Apr 2024 20:15:24 +0000</pubDate>
</item>
<item>
<title>Hexinator for Ubuntu system lacking Internet access</title>
<link>https://synalysis.guru/q2a/309/hexinator-for-ubuntu-system-lacking-internet-access</link>
<description>&lt;p&gt;I'd like to make Hexinator available to install via &lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;apt&lt;/span&gt; for some Ubuntu systems that have no access to the Internet and so can't download the necessary material from &lt;a rel=&quot;nofollow&quot; href=&quot;https://hexinator.com/downloads/&quot;&gt;https://hexinator.com/downloads/&lt;/a&gt;. If this can be done, please tell me what I need to do, including any prerequisites I might also need.&lt;/p&gt;</description>
<category>Hexinator</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/309/hexinator-for-ubuntu-system-lacking-internet-access</guid>
<pubDate>Thu, 25 Apr 2024 13:10:38 +0000</pubDate>
</item>
<item>
<title>How to create grammar file that highlight occurrences of specific bytes ?</title>
<link>https://synalysis.guru/q2a/308/create-grammar-file-highlight-occurrences-specific-bytes</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I am using Hexinator and I have a binary file which I would like to highlight byte occurrences (eg: 0x11, 0x22). How can I do that ?</description>
<category>Hexinator</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/308/create-grammar-file-highlight-occurrences-specific-bytes</guid>
<pubDate>Fri, 22 Mar 2024 07:09:16 +0000</pubDate>
</item>
<item>
<title>Trying to install on Ubuntu, but there is a dependency to python2.7</title>
<link>https://synalysis.guru/q2a/307/trying-to-install-on-ubuntu-but-there-is-dependency-python2</link>
<description>Python2 has been dead for a while, does this mean that hexinator also is dead?</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/307/trying-to-install-on-ubuntu-but-there-is-dependency-python2</guid>
<pubDate>Fri, 06 Oct 2023 07:21:41 +0000</pubDate>
</item>
<item>
<title>how can i put the &quot;remaining length&quot;-element not at the end of a structure, but between fixed-length-elements?</title>
<link>https://synalysis.guru/q2a/306/remaining-length-element-structure-between-length-elements</link>
<description>&lt;p&gt;i have a fixed-length-chunk at the end of every section of my file,&lt;br&gt;but i don't know the length of the variable-length-binary.&lt;br&gt;how can i put the variable size between fixed-length-elements?&lt;br&gt;it only works if the remaining length element is at the end.&lt;br&gt;&lt;br&gt;the structure looks like this:&lt;br&gt;chunk_1 (fixed length)&lt;br&gt;&amp;nbsp; &amp;nbsp; fixed length binary&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;strong&gt;variable length binary (remaining)&lt;/strong&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; fixed length binary&lt;br&gt;chunk_2 (fixed length)&lt;br&gt;&amp;nbsp; &amp;nbsp; fixed length binary&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;strong&gt;variable length binary (remaining)&lt;/strong&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; fixed length binary&lt;br&gt;chunk_3&amp;nbsp;(fixed length)&lt;br&gt;&amp;nbsp; &amp;nbsp; fixed length binary&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;strong&gt;variable length binary (remaining)&lt;/strong&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; fixed length binary&lt;/p&gt;</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/306/remaining-length-element-structure-between-length-elements</guid>
<pubDate>Sat, 05 Aug 2023 12:48:55 +0000</pubDate>
</item>
<item>
<title>How to display bytes (non-printing control codes) as Unicode control pictures?</title>
<link>https://synalysis.guru/q2a/305/display-bytes-printing-control-codes-unicode-control-pictures</link>
<description>I use Hexinator to select byte range freuently. with default font Courier New, non-printing control codes are displayed as dots, which is not so intuitive/distinguishable, thus affacts productivity.&lt;br /&gt;
&lt;br /&gt;
So are there any monospace fonts which display non-printing control codes as Unicode control pictures? or as 2-digit hex glyphs?&lt;br /&gt;
&lt;br /&gt;
If no such font found, how do I make a such font?</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/305/display-bytes-printing-control-codes-unicode-control-pictures</guid>
<pubDate>Fri, 04 Aug 2023 12:42:35 +0000</pubDate>
</item>
<item>
<title>how do i reject a zero length string - or alternatively how do i terminate parsing an element from a script?</title>
<link>https://synalysis.guru/q2a/301/reject-length-alternatively-terminate-parsing-element-script</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I am trying to write a grammar for EXR files. These have a header with a list of attributes. each attribute consists of an attribute name (string), type (another string), size (int) and then some data (dependent on the size). There are various predefined attribute types that I can write grammars to parse, and can fall back to a base-case undefined attribute for any unknown attribute types. This seems to be mostly working.&lt;br /&gt;
&lt;br /&gt;
The problem is that this list of attributes is null terminated. So I need to know when there is a zero at the start of the next structure, and then move on to parsing the next bit of the file. Since the grammar is trying to parse another attribute, this shows up as a zero length attribute name (attribute names are zero-terminated). As far as I can tell there is no way to reject a zero-length string. And no direct way to detect the null terminator. I have written a script that detects the zero-length string, but then I don't know how to control the parser to tell it to move on. Any ideas?&lt;br /&gt;
&lt;br /&gt;
thanks</description>
<category>Grammars</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/301/reject-length-alternatively-terminate-parsing-element-script</guid>
<pubDate>Wed, 24 May 2023 02:39:39 +0000</pubDate>
</item>
<item>
<title>What does the &quot;Consists of&quot; box do exactly?</title>
<link>https://synalysis.guru/q2a/300/what-does-the-consists-of-box-do-exactly</link>
<description>I've been trying to figure what this actually does. In experimenting with it, I irrecoverably lost a whole grammar I was working on, so I'll just ask you.</description>
<category>Grammars</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/300/what-does-the-consists-of-box-do-exactly</guid>
<pubDate>Thu, 27 Apr 2023 15:37:58 +0000</pubDate>
</item>
<item>
<title>Is there a way to pass parameters to custom types?</title>
<link>https://synalysis.guru/q2a/297/is-there-a-way-to-pass-parameters-to-custom-types</link>
<description>I would like to make a custom type that represents a fixed-point number with a variable binary scaling. Ideally, I'd like to make a custom type that I can input a parameter in to for that scaling factor. Is such a thing possible?</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/297/is-there-a-way-to-pass-parameters-to-custom-types</guid>
<pubDate>Mon, 24 Apr 2023 12:45:29 +0000</pubDate>
</item>
<item>
<title>Question about scripts and grammars</title>
<link>https://synalysis.guru/q2a/294/question-about-scripts-and-grammars</link>
<description>My file has value in one structure that is used to compute the length of the next structure.&lt;br /&gt;
&lt;br /&gt;
The structure with that information is at a fixed location in the file.&lt;br /&gt;
&lt;br /&gt;
So I need to take that value and use to set length of following structure.</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/294/question-about-scripts-and-grammars</guid>
<pubDate>Wed, 08 Mar 2023 05:12:48 +0000</pubDate>
</item>
<item>
<title>Grammer Editor</title>
<link>https://synalysis.guru/q2a/292/grammer-editor</link>
<description>I have a file the first block starts at 0 and is 512 bytes long&lt;br /&gt;
&lt;br /&gt;
The 2nd block starts at 512 and is 512 bytes long.&lt;br /&gt;
&lt;br /&gt;
I cannot figure out how to set the offset for the 2nd block&lt;br /&gt;
&lt;br /&gt;
Volume&lt;br /&gt;
&lt;br /&gt;
LBN 1&lt;br /&gt;
&lt;br /&gt;
LBN 2 &lt;br /&gt;
&lt;br /&gt;
I not having a problem defining the structure for LBN2</description>
<category>Grammars</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/292/grammer-editor</guid>
<pubDate>Tue, 07 Mar 2023 06:30:08 +0000</pubDate>
</item>
<item>
<title>How do I start using grammar?</title>
<link>https://synalysis.guru/q2a/273/how-do-i-start-using-grammar</link>
<description>I recently discovered Hexinator and I would like to try out the grammar feature, just to see how it works. I downloaded the WAV file grammar from the grammars page (&lt;a href=&quot;https://www.synalysis.net/formats.xml&quot; rel=&quot;nofollow&quot;&gt;https://www.synalysis.net/formats.xml&lt;/a&gt;) and now I have wav.grammar file with some XML code. I also opened a small wav file in Hexinator and I believe the program is supposed to show the different parts of the WAV header and the data sections in different colours. But I have no idea how to get started. Could someone please link me to a tutorial or a how to guide with screenshots? Or is this a paid only feature? I am using the free version in Windows 10.</description>
<category>Grammars</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/273/how-do-i-start-using-grammar</guid>
<pubDate>Thu, 16 Feb 2023 06:48:56 +0000</pubDate>
</item>
<item>
<title>Can the number of repetitions of a structure be set by a number from within another structure?</title>
<link>https://synalysis.guru/q2a/272/number-repetitions-structure-number-within-another-structure</link>
<description>Specifically, I've got a structure that's a fixed size data block, that's meant to repeat exactly the number of times specified by a number from another structure earlier in the file. There's the repeat dropdown, that seems like it might be intended for this sort of purpose, but the only option in it is &amp;quot;&amp;lt;none&amp;gt;&amp;quot;, and the min and max values don't seem to have any way to fill in a variable either.</description>
<category>Grammars</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/272/number-repetitions-structure-number-within-another-structure</guid>
<pubDate>Wed, 23 Nov 2022 05:15:21 +0000</pubDate>
</item>
<item>
<title>SynalyzeIt for Monterey</title>
<link>https://synalysis.guru/q2a/251/synalyzeit-for-monterey</link>
<description>I only dropped in to ask, if there exists a vague prediction, when SynalyzeIt for Monterey will be released?&lt;br /&gt;
&lt;br /&gt;
Kind regards, Kuulest</description>
<category>Synalyze It!</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/251/synalyzeit-for-monterey</guid>
<pubDate>Thu, 12 May 2022 17:38:34 +0000</pubDate>
</item>
<item>
<title>Anyone using OSX Monterey v 12.3 with SynalyseIT?</title>
<link>https://synalysis.guru/q2a/241/anyone-using-osx-monterey-v-12-3-with-synalyseit</link>
<description>Heads up:&lt;br /&gt;
&lt;br /&gt;
Just Installed Monterey v 12.3. Instant crash with SynalyseIT v 1.23.4&lt;br /&gt;
&lt;br /&gt;
Have raised a support Ticket.&lt;br /&gt;
&lt;br /&gt;
Cheers&lt;br /&gt;
&lt;br /&gt;
David&lt;br /&gt;
&lt;br /&gt;
(wyattd)</description>
<category>Synalyze It!</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/241/anyone-using-osx-monterey-v-12-3-with-synalyseit</guid>
<pubDate>Tue, 15 Mar 2022 21:14:49 +0000</pubDate>
</item>
<item>
<title>custom type for data panel</title>
<link>https://synalysis.guru/q2a/238/custom-type-for-data-panel</link>
<description>The data panel shows the selection interpreted by different types (as 8 bit unsigned integer, 8 bit signed integer, ...). Is there a way to add a custom type (by using a script)&lt;br /&gt;
&lt;br /&gt;
e.g. I want to see 4 selected byte interpreted as &amp;quot;signed int(selection) / 2^32 * 360)&lt;br /&gt;
&lt;br /&gt;
Anyway to do that?</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/238/custom-type-for-data-panel</guid>
<pubDate>Thu, 24 Feb 2022 20:24:54 +0000</pubDate>
</item>
<item>
<title>How to cast a data type?</title>
<link>https://synalysis.guru/q2a/234/how-to-cast-a-data-type</link>
<description>The file format I'm working with (NITF) stores the record count as ASCII to represent a 3-digit number between 000-999. &amp;nbsp;Is there a way to transform that value to the corresponding integer so I can use it to repeat the record structure?</description>
<category>Grammars</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/234/how-to-cast-a-data-type</guid>
<pubDate>Wed, 09 Feb 2022 17:04:51 +0000</pubDate>
</item>
<item>
<title>Import from Base64?</title>
<link>https://synalysis.guru/q2a/230/import-from-base64</link>
<description>Hi!&lt;br /&gt;
&lt;br /&gt;
Is it possible to import Base64 encoded binary directly into the editor? &amp;nbsp;If not, that would be an awesome feature!</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/230/import-from-base64</guid>
<pubDate>Tue, 21 Dec 2021 04:31:41 +0000</pubDate>
</item>
<item>
<title>Has someone generated a grammar for m-bus (meter bus) yet?</title>
<link>https://synalysis.guru/q2a/229/has-someone-generated-a-grammar-for-m-bus-meter-bus-yet</link>
<description>I'd like to parse a hex file with a dump of a m-bus protocol. Has someone prepared the grammar for analyzing m-bus protocols? That would be very nice.&lt;br /&gt;
&lt;br /&gt;
Thank's a lot.&lt;br /&gt;
&lt;br /&gt;
Powerman</description>
<category>Grammars</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/229/has-someone-generated-a-grammar-for-m-bus-meter-bus-yet</guid>
<pubDate>Thu, 02 Dec 2021 16:31:43 +0000</pubDate>
</item>
<item>
<title>can I scan the entire hard drive (not just a file) for a name and change it with Synalyze It?</title>
<link>https://synalysis.guru/q2a/228/scan-entire-hard-drive-just-file-name-and-change-with-synalyze</link>
<description></description>
<guid isPermaLink="true">https://synalysis.guru/q2a/228/scan-entire-hard-drive-just-file-name-and-change-with-synalyze</guid>
<pubDate>Fri, 06 Aug 2021 19:39:37 +0000</pubDate>
</item>
<item>
<title>Is there a way to get nibble arrays to obey endianness?</title>
<link>https://synalysis.guru/q2a/227/is-there-a-way-to-get-nibble-arrays-to-obey-endianness</link>
<description>I'm working on a grammar where there is an array of 4-bit bitfields. There are 1000 entries, where each entry has 4 single-bit flags. They are stored in a little-endian fashion: each byte stores a pair of entries, where the four least significant bits are the first entry and the most significant bits are the second.&lt;br /&gt;
&lt;br /&gt;
Since it is an array, there are two structs involved: an inner struct representing a single 4-bit entry, and an outer struct containing the 1000 repetitions of the inner struct.&lt;br /&gt;
&lt;br /&gt;
The problem is, even if I set both of these structs to little endian, each pair of nibbles is parsing out of order. That is, entries 0 and 1 are swapped, 2 and 3 are swapped, 4 and 5 are swapped, etc.&lt;br /&gt;
&lt;br /&gt;
Is there a way to make Hexinator handle this properly?</description>
<category>Grammars</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/227/is-there-a-way-to-get-nibble-arrays-to-obey-endianness</guid>
<pubDate>Wed, 04 Aug 2021 14:00:53 +0000</pubDate>
</item>
<item>
<title>Looks amazing, is it still maintained?</title>
<link>https://synalysis.guru/q2a/224/looks-amazing-is-it-still-maintained</link>
<description>I just happened across this app and it looks amazing. Would really help with some work I'm doing, but before I buy, I just wanted to check to make sure it's still maintained. I'm running macOS 15 beta and got an alert that the app needs to be updated and won't work on a future version of macOS. I believe this has to do with the python2 to python3 transition. Anyway... Is this still maintained? I really hope so because this looks very useful.</description>
<category>Synalyze It!</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/224/looks-amazing-is-it-still-maintained</guid>
<pubDate>Thu, 29 Jul 2021 16:13:57 +0000</pubDate>
</item>
<item>
<title>How do I tell if I have the pro upgrade on the original Synalyze It from the App Store?</title>
<link>https://synalysis.guru/q2a/222/tell-have-the-pro-upgrade-the-original-synalyze-from-the-store</link>
<description>I purchased the Pro upgrade from the menu using the original Synalyze It! from the App Store, how do I use it after a reinstall? How to I check if it's already used?</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/222/tell-have-the-pro-upgrade-the-original-synalyze-from-the-store</guid>
<pubDate>Fri, 23 Jul 2021 05:45:00 +0000</pubDate>
</item>
<item>
<title>Variable document structure</title>
<link>https://synalysis.guru/q2a/167/variable-document-structure</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I have a file encoded for AS400(IBM870). File contains x&amp;nbsp;structures, structures can be in file more than one (n), but the order and count is&amp;nbsp;not known. The file always contain at least one structure defined in grammar.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;File content sample&amp;nbsp;&lt;/strong&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;Axxxxxxxxxx..........Czzzzz...............Bxxxxxaa.............Aznmopaaas...........Cxxddd...............&lt;/span&gt;&lt;/p&gt;&lt;table border=&quot;1&quot; cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; style=&quot;width:500px&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;File structure example &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/strong&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;Grammar&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;--bof--&lt;br&gt;Record A&amp;nbsp;&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ID = A&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Value 1 = xxxxx&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Value 2 = xxxxx&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Filler 10&lt;br&gt;Record C&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ID = C&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Value 1 = zzzzz&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Filler 15&lt;br&gt;Record B&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ID = B&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Value 1 = xxxxx&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Value 2 = aa&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Filler 13&lt;br&gt;Record A&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ID = A&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Value 1 = znmop&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Value 2 = aaas&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Filler 11&lt;br&gt;Record C&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ID = C&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Value 1 = xxddd&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Filler 15&lt;br&gt;--eof--&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size:10px&quot;&gt;Records have a fixed length 21&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:10px&quot;&gt;ID is always present&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:10px&quot;&gt;Values are different&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:10px&quot;&gt;Record order is unknown&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:10px&quot;&gt;Record repeat is unknown&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:10px&quot;&gt;Grammar contains definition for&lt;br&gt;&amp;nbsp;record ID&amp;nbsp;(A,B,C,D,E ,F ...)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:10px&quot;&gt;The&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;the file may not contain&amp;nbsp;&lt;br&gt;&lt;span style=&quot;color: #000000;&quot;&gt;all the&amp;nbsp;&lt;span style=&quot;caret-color:rgb(0, 0, 0)&quot;&gt;records&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;How to automatically parse a file based on existing grammar definition ?&lt;/p&gt;</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/167/variable-document-structure</guid>
<pubDate>Sun, 14 Feb 2021 22:07:00 +0000</pubDate>
</item>
<item>
<title>Can a grammar reference another grammar?</title>
<link>https://synalysis.guru/q2a/152/can-a-grammar-reference-another-grammar</link>
<description>For instance I would like to create a grammar for ID3 tags which could be used in both flac and mp3 grammars</description>
<category>Grammars</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/152/can-a-grammar-reference-another-grammar</guid>
<pubDate>Thu, 03 Sep 2020 00:12:27 +0000</pubDate>
</item>
<item>
<title>How can I change the calendar dates of my CPAP data?</title>
<link>https://synalysis.guru/q2a/150/how-can-i-change-the-calendar-dates-of-my-cpap-data</link>
<description>I have a few years of CPAP data, from 2016 - 2019. &amp;nbsp;I want to change the 2016 data dates to 2020. &amp;nbsp;I have no idea how to do this.</description>
<category>Hexinator</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/150/how-can-i-change-the-calendar-dates-of-my-cpap-data</guid>
<pubDate>Sun, 23 Aug 2020 14:01:34 +0000</pubDate>
</item>
<item>
<title>Length information comes after the usage of the actual length. Is it even possible to use it in Grammar?</title>
<link>https://synalysis.guru/q2a/148/length-information-after-usage-actual-length-possible-grammar</link>
<description>The image format is the following:&lt;br /&gt;
data0 | fillerbytes | header | data1 | fillerbytes&lt;br /&gt;
&lt;br /&gt;
The data is of variable length and the information how long it is can be found in the header. The header is at a fixed position so it can be read. I can use the extracted length for data1 but it does not seem to work for data0. Any ideas?&lt;br /&gt;
&lt;br /&gt;
Don't ask why it is like that. I guess the engineers in TW had a good reason for that.</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/148/length-information-after-usage-actual-length-possible-grammar</guid>
<pubDate>Fri, 14 Aug 2020 09:50:39 +0000</pubDate>
</item>
<item>
<title>How to match 1 of several child structures</title>
<link>https://synalysis.guru/q2a/147/how-to-match-1-of-several-child-structures</link>
<description>I have a file format that is divided into sections identified by guids. &amp;nbsp;Each section has a header and then some data. &amp;nbsp;The data can be one of several formats. &amp;nbsp;If a 16 byte guid matches one of a few structures, then I want to present the data as that structure. &amp;nbsp;If it matches none of them, I want to represent it as just bytes.&lt;br /&gt;
&lt;br /&gt;
i got it partially work. &amp;nbsp;For the data element, I added a structure with a size and then used structure references under that structure to define the possible matches. &amp;nbsp;I set the top level structure to have a variable data element order, then added 2 references under it that were set from 0 to unlimited in counts. Those structures that are referenced each have 1 field at at the start that is a guid that has a must match attribute set. &lt;br /&gt;
&lt;br /&gt;
I expected that the data element would match the appropriate structure, but it only matches if it matches the first child structure. &amp;nbsp;It doesn't appear to be matching the second despite the binary data showing that it matches the second. &lt;br /&gt;
&lt;br /&gt;
What am I missing?</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/147/how-to-match-1-of-several-child-structures</guid>
<pubDate>Thu, 13 Aug 2020 21:12:29 +0000</pubDate>
</item>
<item>
<title>Data panel &amp; strings</title>
<link>https://synalysis.guru/q2a/146/data-panel-%26-strings</link>
<description>Currently the data panel shows a list of possible interpretation values starting with the selected byte.&lt;br /&gt;
&lt;br /&gt;
Is there a way to also do the same and try to interpret the byte as the start of a string, ASCII, UTF-8, UTF-16..... ??</description>
<category>Hexinator</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/146/data-panel-%26-strings</guid>
<pubDate>Mon, 10 Aug 2020 01:42:47 +0000</pubDate>
</item>
<item>
<title>Conditional grammar structures</title>
<link>https://synalysis.guru/q2a/145/conditional-grammar-structures</link>
<description>I'm writing a grammar for MPLS files.&lt;br /&gt;
&lt;br /&gt;
One of the elements is StreamType (1 byte numeric), and if StreamType is 1 it is followed by by the A structure only. If StreamType is 2 it is followed by the B, C, and A structures in that order, and if StreamType is 3 it is followed by the B and A structures in that order.&lt;br /&gt;
&lt;br /&gt;
How do I accomplish this?&lt;br /&gt;
&lt;br /&gt;
I don't have the pro-version, so no scripting as I understand it unfortunately.</description>
<category>Grammars</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/145/conditional-grammar-structures</guid>
<pubDate>Mon, 13 Jul 2020 23:09:41 +0000</pubDate>
</item>
<item>
<title>Add mask via bitshift?</title>
<link>https://synalysis.guru/q2a/144/add-mask-via-bitshift</link>
<description>I'd like to use the Number type and something like in the Value field: &amp;quot;this.value &amp;gt;&amp;gt; 4&amp;quot;&lt;br /&gt;
&lt;br /&gt;
I don't see an option for bit shifting in masks either.</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/144/add-mask-via-bitshift</guid>
<pubDate>Sun, 31 May 2020 19:06:46 +0000</pubDate>
</item>
<item>
<title>Find regex/wildcard?</title>
<link>https://synalysis.guru/q2a/143/find-regex-wildcard</link>
<description>Am I being stupid here? I can't seem to find how to use regexes or even basic wildcards in the Find function in Synalze It! Pro. It seems like such a basic feature I must have overlooked something but I can't see it anywhere. Closest I got was masks, but then blocks of FF FF FF FF in a file make that almost entirely useless.</description>
<category>Synalyze It!</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/143/find-regex-wildcard</guid>
<pubDate>Mon, 18 May 2020 17:31:26 +0000</pubDate>
</item>
<item>
<title>Value field of a structure</title>
<link>https://synalysis.guru/q2a/140/value-field-of-a-structure</link>
<description>&lt;h3&gt;Short version:&amp;nbsp;&lt;/h3&gt;&lt;p&gt;Can&amp;nbsp;&quot;Value,&quot; on a structure, only be the name of a field inside?&lt;/p&gt;&lt;h3&gt;Long version:&lt;/h3&gt;&lt;p&gt;I've got some bytes that are essentially a keypath. As an example:&lt;/p&gt;&lt;pre&gt;&lt;strong&gt;81 A4 74 68 69 73 A2 69 73 A2 6D 79 A7 6B 65 79 70 61 74 68 | ..this.is.my.keypath&lt;/strong&gt;&lt;/pre&gt;&lt;p&gt;Byte 0 is just a type specifier, indicating what kind of binary value would be found after this keypath. Bytes 1, 6, 9, and 12 are length indicators of the form &lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&lt;strong&gt;A&amp;lt;length&amp;gt;&lt;/strong&gt;&lt;/span&gt;. Byte 1 is &lt;strong&gt;A4&lt;/strong&gt;, so the first word (this) is 4 bytes long. My grammar is (simplified):&lt;/p&gt;&lt;pre&gt;&lt;strong&gt;&amp;lt;structure name=&quot;keypath&quot; valueexpression=&quot;key&quot;&amp;gt;
    &amp;lt;structure name=&quot;key&quot; valueexpression=&quot;value&quot;&amp;gt;
        &amp;lt;binary name=&quot;magic&quot; length=&quot;4&quot; lengthunit=&quot;bit&quot;/&amp;gt;
        &amp;lt;binary name=&quot;length&quot; length=&quot;4&quot; lengthunit=&quot;bit&quot;/&amp;gt;
        &amp;lt;string name=&quot;value&quot; type=&quot;fixed-length&quot; length=&quot;length&quot;/&amp;gt;
    &amp;lt;/structure&amp;gt;
&amp;lt;/structure&amp;gt;&lt;/strong&gt;&lt;/pre&gt;&lt;p&gt;The value of &lt;strong&gt;keypath&lt;/strong&gt; shows as the first instance of &lt;strong&gt;value&lt;/strong&gt;, or &lt;strong&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;this&lt;/span&gt;&lt;/strong&gt;.&amp;nbsp;I want the value of &lt;strong&gt;keypath&lt;/strong&gt; to show something like&amp;nbsp;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;this|is|my|keypath&lt;/span&gt;&amp;nbsp;but all I get is &lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;this&lt;/span&gt;. Is there something I can set the value expression to that will do this for me, or am I stuck writing a script?&lt;/p&gt;</description>
<category>Grammars</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/140/value-field-of-a-structure</guid>
<pubDate>Fri, 28 Feb 2020 05:56:58 +0000</pubDate>
</item>
<item>
<title>Decode small Nokia full dump of a mobile phone</title>
<link>https://synalysis.guru/q2a/136/decode-small-nokia-full-dump-of-a-mobile-phone</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
Would like to extract the contact and messages off a full dump that was extracted directly via chip off. Can see the SMS messages and contacts together with numbers but there is no order. Would like to view the receiver of the messages and the dates these were sent for instance. The whole bin file is 8mb.&lt;br /&gt;
&lt;br /&gt;
Thanks for any help or advice</description>
<category>Hexinator</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/136/decode-small-nokia-full-dump-of-a-mobile-phone</guid>
<pubDate>Fri, 24 Jan 2020 19:36:25 +0000</pubDate>
</item>
<item>
<title>Synalize It only recognizes first instance of element in custom grammar?</title>
<link>https://synalysis.guru/q2a/135/synalize-recognizes-first-instance-element-custom-grammar</link>
<description>&lt;p&gt;&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;Hi, I'm trying to use Synalize It to help me design a file format for a college project, but have the issue that it only recognizes the first instance of the data, and concludes the rest of the file is just padding. I have repeat settings set correctly (I think), but can't figure out the cause of the problem! Any help or suggestions are appreciated, Thanks!&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;Here's the contents of the grammar file:&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;&quot;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;&amp;lt;ufwb version=&quot;1.17&quot;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;   &amp;lt;grammar name=&quot;SmartShelf Metadata&quot; start=&quot;id:197&quot; author=&quot;Patrick L&quot;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;       &amp;lt;description&amp;gt;Grammar for the Mech 90 SmartShelf Metadata&amp;lt;/description&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;       &amp;lt;structure name=&quot;BinContainer&quot; id=&quot;213&quot; encoding=&quot;ISO_8859-1:1987&quot; endian=&quot;big&quot; signed=&quot;no&quot; order=&quot;variable&quot;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;           &amp;lt;structure name=&quot;Bin&quot; id=&quot;197&quot; length=&quot;64&quot; alignment=&quot;1&quot; repeatmax=&quot;-1&quot; encoding=&quot;ISO_8859-1:1987&quot; endian=&quot;big&quot; signed=&quot;no&quot;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;binary name=&quot;Magic_Number&quot; mustmatch=&quot;yes&quot; id=&quot;198&quot; strokecolor=&quot;FF0000&quot; length=&quot;1&quot;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;                   &amp;lt;fixedvalues&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;                       &amp;lt;fixedvalue name=&quot;Magic Number&quot; value=&quot;B1&quot;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;                   &amp;lt;/fixedvalues&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;/binary&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;number name=&quot;Bin_ID&quot; id=&quot;199&quot; fillcolor=&quot;0000FF&quot; type=&quot;integer&quot; length=&quot;1&quot;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;number name=&quot;Offset_Steps&quot; id=&quot;200&quot; strokecolor=&quot;0000FF&quot; type=&quot;integer&quot; length=&quot;1&quot;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;number name=&quot;Steps_From_Home&quot; id=&quot;201&quot; strokecolor=&quot;00F1FF&quot; type=&quot;integer&quot; length=&quot;2&quot;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;number name=&quot;Protocol_Version&quot; id=&quot;202&quot; type=&quot;integer&quot; length=&quot;1&quot;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;                   &amp;lt;fixedvalues&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;                       &amp;lt;fixedvalue name=&quot;V1&quot; value=&quot;1&quot;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;                   &amp;lt;/fixedvalues&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;/number&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;number name=&quot;&amp;lt;reserved&amp;gt;&quot; id=&quot;203&quot; strokecolor=&quot;999999&quot; repeatmin=&quot;4&quot; repeatmax=&quot;4&quot; type=&quot;integer&quot; length=&quot;1&quot;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;string name=&quot;Bin_Name&quot; id=&quot;204&quot; fillcolor=&quot;21D2C4&quot; type=&quot;fixed-length&quot; length=&quot;20&quot;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;string name=&quot;Bin_Description&quot; id=&quot;205&quot; fillcolor=&quot;A2FFFF&quot; type=&quot;fixed-length&quot; length=&quot;30&quot;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;binary name=&quot;Padding&quot; mustmatch=&quot;yes&quot; id=&quot;206&quot; repeatmin=&quot;0&quot; repeatmax=&quot;-1&quot; length=&quot;1&quot;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;                   &amp;lt;fixedvalues&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;                       &amp;lt;fixedvalue name=&quot;Padding&quot; value=&quot;77&quot;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;                   &amp;lt;/fixedvalues&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;/binary&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;           &amp;lt;/structure&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;           &amp;lt;structure name=&quot;ExtendedBinData&quot; id=&quot;208&quot; length=&quot;64&quot; disabled=&quot;yes&quot; alignment=&quot;0&quot; repeatmax=&quot;-1&quot; encoding=&quot;ISO_8859-1:1987&quot; endian=&quot;big&quot; signed=&quot;no&quot;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;binary name=&quot;Magic_Number&quot; id=&quot;209&quot; length=&quot;remaining&quot;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;                   &amp;lt;fixedvalues&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;                       &amp;lt;fixedvalue name=&quot;Magic_Number&quot; value=&quot;B3&quot;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;                   &amp;lt;/fixedvalues&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;/binary&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;number name=&quot;Bin_ID&quot; id=&quot;210&quot; type=&quot;integer&quot; length=&quot;1&quot;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;               &amp;lt;number name=&quot;&amp;lt;reserved&amp;gt;&quot; id=&quot;211&quot; repeatmax=&quot;-1&quot; type=&quot;integer&quot; length=&quot;1&quot;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;           &amp;lt;/structure&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;       &amp;lt;/structure&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;   &amp;lt;/grammar&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;&amp;lt;/ufwb&amp;gt;&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;&quot;,&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;and here's enough my test file, consisting of two identical &quot;Bin&quot; Elements, and padded with 0xFFs:&lt;/span&gt;
&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;B1012000200100000000534D4420636F6D706F6E656E74732E000000000053757266616365204D6F756E74205265736973746F72732C20657463000077777777B1012000200100000000534D4420636F6D706F6E656E74732E000000000053757266616365204D6F756E74205265736973746F72732C20657463000077777777FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF&lt;/span&gt;&lt;span style=&quot;font-family:uictfonttextstylebody; font-size:16px&quot;&gt;&quot;&lt;/span&gt;&lt;/pre&gt;</description>
<category>Grammars</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/135/synalize-recognizes-first-instance-element-custom-grammar</guid>
<pubDate>Tue, 26 Nov 2019 05:47:14 +0000</pubDate>
</item>
<item>
<title>How to export parsed results to a file</title>
<link>https://synalysis.guru/q2a/133/how-to-export-parsed-results-to-a-file</link>
<description>I'd like a way to export the parsed results to an external file to verify the parsing is correct using a separate data analysis tool . &amp;nbsp;It seems the python script is executed in a restricted mode, which is good when running third party scripts that may be a security threat, but stops my script doing IO. &lt;br /&gt;
&lt;br /&gt;
I notice a method on the Results class called exportToFile but I can't find any documentation on what it does or an example of using it. I'd be interested in what it does.&lt;br /&gt;
&lt;br /&gt;
Is there a way to either run my own script without the restricted mode, allowing me to do any IO I need. &amp;nbsp;Otherwise is there a method available from within the scripting that allows me to save the parsed values to file.&lt;br /&gt;
&lt;br /&gt;
I can always write python separately but it would seem like a pity if the parsed values couldn't easily be exported from a Hexinator script.&lt;br /&gt;
&lt;br /&gt;
Thanks, +Paul</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/133/how-to-export-parsed-results-to-a-file</guid>
<pubDate>Sat, 16 Nov 2019 16:06:07 +0000</pubDate>
</item>
<item>
<title>Read structure another value within script</title>
<link>https://synalysis.guru/q2a/131/read-structure-another-value-within-script</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have a structure with name &quot;TLLV&quot;, that splits on 2 substructures: &quot;Header&quot; and &quot;Payload&quot;.&lt;/p&gt;&lt;p&gt;Payload has&amp;nbsp;&quot;Value&quot; and&amp;nbsp;&quot;padding&quot;, that is very depends on the length of the &quot;Value&quot;, specified in Header. And I want to calculate &quot;padding&quot; length in the custom datatype with writing&amp;nbsp;the&amp;nbsp;script:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;currentGrammar = currentMapper.getCurrentGrammar()&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;headerStruct = currentGrammar.getStructureByName(&quot;TLLV_Header&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;offset = currentMapper.getCurrentOffset()&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;bytesProcessed = currentMapper.mapStructureAtPosition(headerStruct, offset, 16)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;length = headerStruct.getElementByName(&quot;valueLength&quot;)&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;So, currently, I am able to reach out length, as an element.&lt;/p&gt;&lt;p&gt;But how to convert element to a &quot;Number&quot; type to be able to use it?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>Generic</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/131/read-structure-another-value-within-script</guid>
<pubDate>Wed, 13 Nov 2019 10:49:56 +0000</pubDate>
</item>
<item>
<title>Is it possible to write an advanced script, like decrypting?</title>
<link>https://synalysis.guru/q2a/130/is-it-possible-to-write-an-advanced-script-like-decrypting</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I am wondering, before I will start, is it possible to adopt python decrypting code to the Synalysis?&lt;br /&gt;
&lt;br /&gt;
I want to try to write AES-128-CBC decryptor, to be able to read the data directly in Synalysis instead of jumping with exporting/importing + bash scripts.&lt;br /&gt;
&lt;br /&gt;
Which limitations should I consider? Have I access to the files on the disk to read the key? Can I directly invoke openssl or import some of useful python libraries?&lt;br /&gt;
&lt;br /&gt;
Sincerely,&lt;br /&gt;
&lt;br /&gt;
Vladimir.</description>
<category>Python</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/130/is-it-possible-to-write-an-advanced-script-like-decrypting</guid>
<pubDate>Tue, 12 Nov 2019 14:13:23 +0000</pubDate>
</item>
<item>
<title>I have no clue where to start. Help??</title>
<link>https://synalysis.guru/q2a/129/i-have-no-clue-where-to-start-help</link>
<description>To start from the beginning, my Solid State External Hard drive somehow went up on me and quite a few of my wav files got corrupted in the &amp;quot;Recover&amp;quot; process. The weird thing is, even tho the durations of the files are saying zero, they are still the same sizes they were before the drive went up, which gives me hope that the actual audio is still in the file and salvageable but I just can't get to em because I think the headers are jacked up. I've downloaded the app but have NO CLUE where to start to try to repair the headers of the files. Help!!!</description>
<category>Synalyze It!</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/129/i-have-no-clue-where-to-start-help</guid>
<pubDate>Sat, 19 Oct 2019 22:59:24 +0000</pubDate>
</item>
<item>
<title>How to find differences between two Binary files?</title>
<link>https://synalysis.guru/q2a/126/how-to-find-differences-between-two-binary-files</link>
<description>Looking for a way to Compare 2 similar binary files (only a few bytes different) - so the differences either show up in different colours, or the program generates a list of differences with their location. I seem to recall having a procedure to do this, but have forgotten how...&lt;br /&gt;
&lt;br /&gt;
Thanks!</description>
<category>Synalyze It!</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/126/how-to-find-differences-between-two-binary-files</guid>
<pubDate>Fri, 11 Oct 2019 00:36:02 +0000</pubDate>
</item>
<item>
<title>Little Endian BIT Ordering</title>
<link>https://synalysis.guru/q2a/119/little-endian-bit-ordering</link>
<description>Hey there,&lt;br /&gt;
&lt;br /&gt;
I have a one byte long field that is in little endian bit ordering. Unfortunately, no matter what endianness I select, it is still treated as big endian bit ordering. Is there any way to fix this? Thanks.</description>
<category>Hexinator</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/119/little-endian-bit-ordering</guid>
<pubDate>Thu, 10 Oct 2019 14:31:23 +0000</pubDate>
</item>
<item>
<title>Grammers for Unreal files?</title>
<link>https://synalysis.guru/q2a/118/grammers-for-unreal-files</link>
<description>Hi all, I'm trying to figure out where to obtain and or make a grammar script for unreal asset files.&lt;br /&gt;
I know someone else who build a grammar script for the 010 editor, however they can no longer be contacted.&lt;br /&gt;
Does anyone have any insights into this?&lt;br /&gt;
Cheers!</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/118/grammers-for-unreal-files</guid>
<pubDate>Thu, 10 Oct 2019 03:52:52 +0000</pubDate>
</item>
<item>
<title>Display Floating point value</title>
<link>https://synalysis.guru/q2a/117/display-floating-point-value</link>
<description>&lt;p&gt;I am wondering if the Pro or lite version is able to display a floating point value from a calculation, when the original value is an integer value?&lt;/p&gt;&lt;p&gt;Many serial streams in the embedded world have a more precise fixed point number, but you want&amp;nbsp;the displayed value to be more human readable.&lt;/p&gt;&lt;p&gt;e.g.&lt;/p&gt;&lt;pre&gt;0x14: 0x000B90: Total grid power output * 100 = 29.60 kWh
&lt;/pre&gt;&lt;p&gt;So I want to convert the integer to float, divide&amp;nbsp;by 100 and display the result as 29.60, instead of 29&lt;/p&gt;&lt;p&gt;I now have the Value &quot;TotalPower / 100&quot;, which discards the number behind the decimal point.&lt;/p&gt;&lt;p&gt;Is this possible in Synalyse It!&amp;nbsp;or do &amp;nbsp;I have to start writing a python script?&lt;/p&gt;</description>
<category>Synalyze It!</category>
<guid isPermaLink="true">https://synalysis.guru/q2a/117/display-floating-point-value</guid>
<pubDate>Fri, 04 Oct 2019 12:02:49 +0000</pubDate>
</item>
<item>
<title>audio file shows 32:36 but only play 7:46 help!</title>
<link>https://synalysis.guru/q2a/116/audio-file-shows-32-36-but-only-play-7-46-help</link>
<description>I have a wav file that was recorded on an H4N but only plays a part of the file. The file is 135mb and in iTunes, I can see the 32:36 time, but when it plays in iTunes, Audition, VLC it only plays 7:46 seconds. Can your tool fix the file issue? I opened it, but honestly, have no idea what I'm looking at.&lt;br /&gt;
&lt;br /&gt;
Thanks for any pointers.</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/116/audio-file-shows-32-36-but-only-play-7-46-help</guid>
<pubDate>Wed, 31 Jul 2019 23:28:31 +0000</pubDate>
</item>
<item>
<title>Automate file reading and parsing</title>
<link>https://synalysis.guru/q2a/115/automate-file-reading-and-parsing</link>
<description>I need to write a test script in Python that checks for specific values in a binary file. Can I run Hexinator from my script, and have it return a specific field back to my script?</description>
<guid isPermaLink="true">https://synalysis.guru/q2a/115/automate-file-reading-and-parsing</guid>
<pubDate>Thu, 18 Jul 2019 07:02:52 +0000</pubDate>
</item>
</channel>
</rss>