Troubleshooting the binary scanner

Strings passed to the binary scanner through the command line are cut off after special characters

When using the binary scanner from the command line, remember to use escape characters for any special characters (such as '&', '^', etc). Note that different shells may use different escape characters. For example, use '^' to escape an a ampersand in the cmd shell:

java -jar binaryAppScanner.jar app.war --all --output=/Home/Reports^&Tests/
			

The binary scanner is taking a long time to scan an application on older Java 8 versions

There is a known issue with older versions of Java 8 that causes the binary scanner to run slowly. Upgrade your Java 8 version to the newest fix level.

Translation files not producing correct characters on Windows in Romanian and Russian

When using Romanian and Russian as your languages in the binary scanner, some characters are replaced with '?'. To avoid this in Romanian, run this command before using the tool in the terminal:

>> chcp 1250
			
To avoid this in Russian, run:

>> chcp 866
			
Afterwards you can run the binary scanner with -Dfile.encoding=UTF8 set and the characters should display correctly:

java -jar -Duser.language=ro -Dfile.encoding=UTF8 binaryAppScanner.jar app.war --all
			

Getting assistance

Search for answers to your questions using the IBM Documentation search field. Explore the search results on the Documentation, Videos, IBM Developer, Technotes, and Redbooks tabs.