Menu
Here you find useful scripts for Synalyze It! Pro. Install them by clicking on the links provided the Pro version is installed already.
- Synalyze It Pro 1 23 482
- Synalyze It Pro 1 23 48 Ft
- Synalyze It Pro 1 23 480
- Synalyze It Pro 1 23 48 Inch
If you created own scripts that may be of use for others you're welcome to share them - just send an email to me with the .script file!
Welcome to Synalyze It! No man can reveal to you nothing but that which already lies half-asleep in the dawning of your knowledge. Aiseesoft mac video downloader 3 3 16 gb.
Scripts working on Grammars
Export grammar to C structures: ExportToC.script (tkInter currently works only on OS X — if you use the script with Hexinator on Linux or Windows, please use a fixed output file name)
- 1 out of 5 stars. By ck on June 16, 2020. 1 out of 5 stars. My original package was delayed by 45 days, they offered resent the item but they never did.
- Purchasing Synalyze It! Pro entitles you to one year of free support and free updates. The purchase is handled by FastSpring, a company known for secure transactions without hassles. Product: Price per User: Purchase: Synalyze It! Pro (commercial use) USD 89.99: Synalyze It!
Scripts working on Files
Import Intel iHex files: ImportiHex.script (To make this script work, download the excellent IntelHex package from Alexander Belchenko and adjust the path in the script to where you installed it.)
Scripts for Custom Data Types
DOSDateTime.script decodes and encodes a DOS Date/Time structure
HexStringLength.script decodes and encodes a hex string followed by line feed (0x0A) as a number to be used as length for other elements. This script will work with Synalyze It! Pro 1.4 (some methods were added for this script to work).
PythonTimestamp.script decodes and encodes a time stamp in pyc files.
EvenPascal.script parses a Pascal string that always consumes an even number of bytes
FILETIME.script decodes and encodes a Windows FILETIME structure
Scripts working on Selections
Selection scripts process only the bytes selected in the hex editor and they are only available in the script menu if there are bytes selected. (Selection scripts were introduced with version 1.4)
XOR50.script simply XORs all selected bytes with 0x50.
Synalyze It Pro 1 23 482
ReplaceLFCR replaces all findings of 0A 0D with 0D 0A
Scripts for Script Elements
Scripted elements allow to extend grammars beyond what’s possible already.
This small Python script exposes the current parsing position so that you can reference it in another element, typically an offset element as additional value:
results = currentMapper.getCurrentResults()
currentPos = currentMapper.getCurrentOffset()
posValue = NumberValue()
posValue.setUnsigned(currentPos)
currentElement = currentMapper.getCurrentElement()
results.addElement(currentElement, 0, 0, posValue)
An extended version of the previous script inserts a binary element when the current parsing position is not a multiple of 4 (padding to 4 bytes alignment:
currentPos = currentMapper.getCurrentOffset()
![Synalyze it pro 1 23 482 Synalyze it pro 1 23 482](https://d2.alternativeto.net/dist/s/89698d07-42d4-e111-9bfd-0025902c7e73_1_full.jpg?format=jpg)
paddingBytes = 4 - (currentPos % 4)
if paddingBytes < 4:
posValue = NumberValue()
posValue.setUnsigned(currentPos)
currentGrammar = currentMapper.getCurrentGrammar()
paddingStructure = currentGrammar.getStructureByName('Padding')
paddingElement = paddingStructure.getElementByName('PaddingElement')
currentMapper.mapElementWithSize(paddingElement, paddingBytes)
![Synalyze It Pro 1 23 48 Synalyze It Pro 1 23 48](https://macmagazine.uol.com.br/wp-content/uploads/2012/07/03-miniatura-two-dollar-tuesday-1280x720.jpg)
The following Python script parses a string at the current position that uses the previously parsed number as length if it doesn’t exceed the remaining space:
# get collection with results so far
results = currentMapper.getCurrentResults()
# get latest added result
lastResult = results.getLastResult()
# access the parsed value
value = lastResult.getValue()
Synalyze It Pro 1 23 48 Ft
# get the number Picframe 2 8 – combine multiple photos into frames.
Synalyze It Pro 1 23 480
stringLength = value.getUnsignedNumber()
currentPos = currentMapper.getCurrentOffset()
remainingBytes = currentMapper.getCurrentRemainingSize() Udesktop next 3 2 – wallpaper database.
actualSize = min(stringLength, remainingBytes)
byteView = currentMapper.getCurrentByteView()
string = byteView.readString(currentPos, actualSize, 'ISO-8859-1')
stringValue = Value()
stringValue.setString(string)
currentElement = currentMapper.getCurrentElement()
Synalyze It Pro 1 23 48 Inch
results.addElement(currentElement, actualSize, 0, stringValue)
Examples for scripting usage in Grammars
Kelvin created a small grammar that shows how to represent an offset to an array of structures using a Lua script.