Last active
September 12, 2016 09:08
-
-
Save aki017/70266d164354696535b9eabcd5a9306c to your computer and use it in GitHub Desktop.
kaitai-struct
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta: | |
id: broken | |
file-extension: test | |
endian: le | |
seq: | |
- id: version | |
type: u4 | |
- id: main_data | |
type: main | |
- id: dummy | |
type: dummy | |
types: | |
main: | |
seq: | |
- id: main_size | |
type: s4 | |
- id: foo | |
type: foo | |
types: | |
foo: | |
seq: | |
- id: data | |
size: _parent.main_size * 2 | |
dummy: | |
seq: | |
- id: noop | |
size: 0 | |
types: | |
foo: | |
seq: | |
- id: noop | |
size: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[residual] arg = 'broken.ksy' | |
[residual] arg = '-t' | |
[residual] arg = 'all' | |
# Executing command line: | |
java | |
-cp | |
/Users/aki/local/kaitai-struct-compiler-0.4/lib/kaitai-struct-compiler.kaitai-struct-compiler-0.4.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/org.scala-lang.scala-library-2.11.7.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.lihaoyi.fastparse_2.11-0.3.7.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.lihaoyi.fastparse-utils_2.11-0.3.7.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.lihaoyi.sourcecode_2.11-0.1.1.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/org.yaml.snakeyaml-1.16.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.fasterxml.jackson.core.jackson-core-2.1.1.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.fasterxml.jackson.core.jackson-annotations-2.1.1.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.fasterxml.jackson.core.jackson-databind-2.1.1.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.fasterxml.jackson.dataformat.jackson-dataformat-yaml-2.1.1.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.github.scopt.scopt_2.11-3.4.0.jar | |
io.kaitai.struct.Main | |
--verbose | |
broken.ksy | |
-t | |
all | |
Picked up _JAVA_OPTIONS: -Dfile.encoding=UTF-8 | |
reading broken.ksy... | |
... compiling it for csharp... ... => ./csharp/Broken.cs | |
java.lang.RuntimeException: Unable to determine type for main_size in type List(kaitai_struct) | |
at io.kaitai.struct.ClassCompiler.determineType(ClassCompiler.scala:162) | |
at io.kaitai.struct.translators.BaseTranslator.detectType(BaseTranslator.scala:260) | |
at io.kaitai.struct.translators.BaseTranslator.translate(BaseTranslator.scala:45) | |
at io.kaitai.struct.languages.LanguageCompiler.expression(LanguageCompiler.scala:74) | |
at io.kaitai.struct.languages.CSharpCompiler.parseExpr(CSharpCompiler.scala:191) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrBytesTypeParse(EveryReadIsExpression.scala:80) | |
at io.kaitai.struct.languages.CSharpCompiler.attrBytesTypeParse(CSharpCompiler.scala:10) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrParse2(EveryReadIsExpression.scala:61) | |
at io.kaitai.struct.languages.CSharpCompiler.attrParse2(CSharpCompiler.scala:10) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrParse(EveryReadIsExpression.scala:39) | |
at io.kaitai.struct.languages.CSharpCompiler.attrParse(CSharpCompiler.scala:10) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$3.apply(ClassCompiler.scala:100) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$3.apply(ClassCompiler.scala:100) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:100) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at scala.collection.immutable.Map$Map1.foreach(Map.scala:116) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at scala.collection.immutable.Map$Map2.foreach(Map.scala:137) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler.compile(ClassCompiler.scala:80) | |
at io.kaitai.struct.Main$.compileOne(Main.scala:84) | |
at io.kaitai.struct.Main$$anonfun$compileAll$1.apply(Main.scala:97) | |
at io.kaitai.struct.Main$$anonfun$compileAll$1.apply(Main.scala:93) | |
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) | |
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) | |
at io.kaitai.struct.Main$.compileAll(Main.scala:93) | |
at io.kaitai.struct.Main$$anonfun$main$1.apply(Main.scala:118) | |
at io.kaitai.struct.Main$$anonfun$main$1.apply(Main.scala:111) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at io.kaitai.struct.Main$.main(Main.scala:111) | |
at io.kaitai.struct.Main.main(Main.scala) | |
... compiling it for java... ... => ./java/src//Broken.java | |
java.lang.RuntimeException: Unable to determine type for main_size in type List(kaitai_struct) | |
at io.kaitai.struct.ClassCompiler.determineType(ClassCompiler.scala:162) | |
at io.kaitai.struct.translators.BaseTranslator.detectType(BaseTranslator.scala:260) | |
at io.kaitai.struct.translators.BaseTranslator.translate(BaseTranslator.scala:45) | |
at io.kaitai.struct.languages.LanguageCompiler.expression(LanguageCompiler.scala:74) | |
at io.kaitai.struct.languages.JavaCompiler.parseExpr(JavaCompiler.scala:217) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrBytesTypeParse(EveryReadIsExpression.scala:80) | |
at io.kaitai.struct.languages.JavaCompiler.attrBytesTypeParse(JavaCompiler.scala:10) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrParse2(EveryReadIsExpression.scala:61) | |
at io.kaitai.struct.languages.JavaCompiler.attrParse2(JavaCompiler.scala:10) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrParse(EveryReadIsExpression.scala:39) | |
at io.kaitai.struct.languages.JavaCompiler.attrParse(JavaCompiler.scala:10) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$3.apply(ClassCompiler.scala:100) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$3.apply(ClassCompiler.scala:100) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:100) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at scala.collection.immutable.Map$Map1.foreach(Map.scala:116) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at scala.collection.immutable.Map$Map2.foreach(Map.scala:137) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler.compile(ClassCompiler.scala:80) | |
at io.kaitai.struct.Main$.compileOne(Main.scala:84) | |
at io.kaitai.struct.Main$$anonfun$compileAll$1.apply(Main.scala:97) | |
at io.kaitai.struct.Main$$anonfun$compileAll$1.apply(Main.scala:93) | |
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) | |
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) | |
at io.kaitai.struct.Main$.compileAll(Main.scala:93) | |
at io.kaitai.struct.Main$$anonfun$main$1.apply(Main.scala:118) | |
at io.kaitai.struct.Main$$anonfun$main$1.apply(Main.scala:111) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at io.kaitai.struct.Main$.main(Main.scala:111) | |
at io.kaitai.struct.Main.main(Main.scala) | |
... compiling it for cpp_stl... ... => ./cpp_stl/broken | |
java.lang.RuntimeException: Unable to determine type for main_size in type List(kaitai_struct) | |
at io.kaitai.struct.ClassCompiler.determineType(ClassCompiler.scala:162) | |
at io.kaitai.struct.translators.BaseTranslator.detectType(BaseTranslator.scala:260) | |
at io.kaitai.struct.translators.BaseTranslator.translate(BaseTranslator.scala:45) | |
at io.kaitai.struct.languages.LanguageCompiler.expression(LanguageCompiler.scala:74) | |
at io.kaitai.struct.languages.CppCompiler.parseExpr(CppCompiler.scala:292) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrBytesTypeParse(EveryReadIsExpression.scala:80) | |
at io.kaitai.struct.languages.CppCompiler.attrBytesTypeParse(CppCompiler.scala:10) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrParse2(EveryReadIsExpression.scala:61) | |
at io.kaitai.struct.languages.CppCompiler.attrParse2(CppCompiler.scala:10) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrParse(EveryReadIsExpression.scala:39) | |
at io.kaitai.struct.languages.CppCompiler.attrParse(CppCompiler.scala:10) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$3.apply(ClassCompiler.scala:100) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$3.apply(ClassCompiler.scala:100) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:100) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at scala.collection.immutable.Map$Map1.foreach(Map.scala:116) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at scala.collection.immutable.Map$Map2.foreach(Map.scala:137) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler.compile(ClassCompiler.scala:80) | |
at io.kaitai.struct.Main$.compileOne(Main.scala:84) | |
at io.kaitai.struct.Main$$anonfun$compileAll$1.apply(Main.scala:97) | |
at io.kaitai.struct.Main$$anonfun$compileAll$1.apply(Main.scala:93) | |
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) | |
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) | |
at io.kaitai.struct.Main$.compileAll(Main.scala:93) | |
at io.kaitai.struct.Main$$anonfun$main$1.apply(Main.scala:118) | |
at io.kaitai.struct.Main$$anonfun$main$1.apply(Main.scala:111) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at io.kaitai.struct.Main$.main(Main.scala:111) | |
at io.kaitai.struct.Main.main(Main.scala) | |
... compiling it for python... ... => ./python/broken.py | |
java.lang.RuntimeException: Unable to determine type for main_size in type List(kaitai_struct) | |
at io.kaitai.struct.ClassCompiler.determineType(ClassCompiler.scala:162) | |
at io.kaitai.struct.translators.BaseTranslator.detectType(BaseTranslator.scala:260) | |
at io.kaitai.struct.translators.BaseTranslator.translate(BaseTranslator.scala:45) | |
at io.kaitai.struct.languages.LanguageCompiler.expression(LanguageCompiler.scala:74) | |
at io.kaitai.struct.languages.PythonCompiler.parseExpr(PythonCompiler.scala:167) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrBytesTypeParse(EveryReadIsExpression.scala:80) | |
at io.kaitai.struct.languages.PythonCompiler.attrBytesTypeParse(PythonCompiler.scala:10) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrParse2(EveryReadIsExpression.scala:61) | |
at io.kaitai.struct.languages.PythonCompiler.attrParse2(PythonCompiler.scala:10) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrParse(EveryReadIsExpression.scala:39) | |
at io.kaitai.struct.languages.PythonCompiler.attrParse(PythonCompiler.scala:10) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$3.apply(ClassCompiler.scala:100) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$3.apply(ClassCompiler.scala:100) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:100) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at scala.collection.immutable.Map$Map1.foreach(Map.scala:116) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at scala.collection.immutable.Map$Map2.foreach(Map.scala:137) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler.compile(ClassCompiler.scala:80) | |
at io.kaitai.struct.Main$.compileOne(Main.scala:84) | |
at io.kaitai.struct.Main$$anonfun$compileAll$1.apply(Main.scala:97) | |
at io.kaitai.struct.Main$$anonfun$compileAll$1.apply(Main.scala:93) | |
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) | |
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) | |
at io.kaitai.struct.Main$.compileAll(Main.scala:93) | |
at io.kaitai.struct.Main$$anonfun$main$1.apply(Main.scala:118) | |
at io.kaitai.struct.Main$$anonfun$main$1.apply(Main.scala:111) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at io.kaitai.struct.Main$.main(Main.scala:111) | |
at io.kaitai.struct.Main.main(Main.scala) | |
... compiling it for ruby... ... => ./ruby/broken.rb | |
java.lang.RuntimeException: Unable to determine type for main_size in type List(kaitai_struct) | |
at io.kaitai.struct.ClassCompiler.determineType(ClassCompiler.scala:162) | |
at io.kaitai.struct.translators.BaseTranslator.detectType(BaseTranslator.scala:260) | |
at io.kaitai.struct.translators.BaseTranslator.translate(BaseTranslator.scala:45) | |
at io.kaitai.struct.languages.LanguageCompiler.expression(LanguageCompiler.scala:74) | |
at io.kaitai.struct.languages.RubyCompiler.parseExpr(RubyCompiler.scala:201) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrBytesTypeParse(EveryReadIsExpression.scala:80) | |
at io.kaitai.struct.languages.RubyCompiler.attrBytesTypeParse(RubyCompiler.scala:10) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrParse2(EveryReadIsExpression.scala:61) | |
at io.kaitai.struct.languages.RubyCompiler.attrParse2(RubyCompiler.scala:10) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrParse(EveryReadIsExpression.scala:39) | |
at io.kaitai.struct.languages.RubyCompiler.attrParse(RubyCompiler.scala:10) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$3.apply(ClassCompiler.scala:100) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$3.apply(ClassCompiler.scala:100) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:100) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at scala.collection.immutable.Map$Map1.foreach(Map.scala:116) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at scala.collection.immutable.Map$Map2.foreach(Map.scala:137) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler.compile(ClassCompiler.scala:80) | |
at io.kaitai.struct.Main$.compileOne(Main.scala:84) | |
at io.kaitai.struct.Main$$anonfun$compileAll$1.apply(Main.scala:97) | |
at io.kaitai.struct.Main$$anonfun$compileAll$1.apply(Main.scala:93) | |
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) | |
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) | |
at io.kaitai.struct.Main$.compileAll(Main.scala:93) | |
at io.kaitai.struct.Main$$anonfun$main$1.apply(Main.scala:118) | |
at io.kaitai.struct.Main$$anonfun$main$1.apply(Main.scala:111) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at io.kaitai.struct.Main$.main(Main.scala:111) | |
at io.kaitai.struct.Main.main(Main.scala) | |
... compiling it for javascript... ... => ./javascript/Broken.js | |
java.lang.RuntimeException: Unable to determine type for main_size in type List(kaitai_struct) | |
at io.kaitai.struct.ClassCompiler.determineType(ClassCompiler.scala:162) | |
at io.kaitai.struct.translators.BaseTranslator.detectType(BaseTranslator.scala:260) | |
at io.kaitai.struct.translators.BaseTranslator.translate(BaseTranslator.scala:45) | |
at io.kaitai.struct.languages.LanguageCompiler.expression(LanguageCompiler.scala:74) | |
at io.kaitai.struct.languages.JavaScriptCompiler.parseExpr(JavaScriptCompiler.scala:197) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrBytesTypeParse(EveryReadIsExpression.scala:80) | |
at io.kaitai.struct.languages.JavaScriptCompiler.attrBytesTypeParse(JavaScriptCompiler.scala:11) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrParse2(EveryReadIsExpression.scala:61) | |
at io.kaitai.struct.languages.JavaScriptCompiler.attrParse2(JavaScriptCompiler.scala:11) | |
at io.kaitai.struct.languages.EveryReadIsExpression$class.attrParse(EveryReadIsExpression.scala:39) | |
at io.kaitai.struct.languages.JavaScriptCompiler.attrParse(JavaScriptCompiler.scala:11) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$3.apply(ClassCompiler.scala:100) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$3.apply(ClassCompiler.scala:100) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:100) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at scala.collection.immutable.Map$Map1.foreach(Map.scala:116) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler$$anonfun$compileClass$5.apply(ClassCompiler.scala:108) | |
at scala.collection.immutable.Map$Map2.foreach(Map.scala:137) | |
at io.kaitai.struct.ClassCompiler.compileClass(ClassCompiler.scala:108) | |
at io.kaitai.struct.ClassCompiler.compile(ClassCompiler.scala:80) | |
at io.kaitai.struct.Main$.compileOne(Main.scala:84) | |
at io.kaitai.struct.Main$$anonfun$compileAll$1.apply(Main.scala:97) | |
at io.kaitai.struct.Main$$anonfun$compileAll$1.apply(Main.scala:93) | |
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) | |
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) | |
at io.kaitai.struct.Main$.compileAll(Main.scala:93) | |
at io.kaitai.struct.Main$$anonfun$main$1.apply(Main.scala:118) | |
at io.kaitai.struct.Main$$anonfun$main$1.apply(Main.scala:111) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at io.kaitai.struct.Main$.main(Main.scala:111) | |
at io.kaitai.struct.Main.main(Main.scala) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta: | |
id: work | |
file-extension: test | |
endian: le | |
seq: | |
- id: version | |
type: u4 | |
- id: main_data | |
type: main | |
- id: dummy | |
type: dummy | |
types: | |
main: | |
seq: | |
- id: main_size | |
type: s4 | |
- id: foo | |
type: foo | |
types: | |
foo: | |
seq: | |
- id: data | |
size: _parent.main_size | |
dummy: | |
seq: | |
- id: noop | |
size: 0 | |
types: | |
foo: | |
seq: | |
- id: noop | |
size: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[residual] arg = 'work.ksy' | |
[residual] arg = '-t' | |
[residual] arg = 'all' | |
# Executing command line: | |
java | |
-cp | |
/Users/aki/local/kaitai-struct-compiler-0.4/lib/kaitai-struct-compiler.kaitai-struct-compiler-0.4.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/org.scala-lang.scala-library-2.11.7.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.lihaoyi.fastparse_2.11-0.3.7.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.lihaoyi.fastparse-utils_2.11-0.3.7.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.lihaoyi.sourcecode_2.11-0.1.1.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/org.yaml.snakeyaml-1.16.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.fasterxml.jackson.core.jackson-core-2.1.1.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.fasterxml.jackson.core.jackson-annotations-2.1.1.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.fasterxml.jackson.core.jackson-databind-2.1.1.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.fasterxml.jackson.dataformat.jackson-dataformat-yaml-2.1.1.jar:/Users/aki/local/kaitai-struct-compiler-0.4/lib/com.github.scopt.scopt_2.11-3.4.0.jar | |
io.kaitai.struct.Main | |
--verbose | |
work.ksy | |
-t | |
all | |
Picked up _JAVA_OPTIONS: -Dfile.encoding=UTF-8 | |
reading work.ksy... | |
... compiling it for csharp... ... => ./csharp/Work.cs | |
... compiling it for java... ... => ./java/src//Work.java | |
... compiling it for cpp_stl... ... => ./cpp_stl/work | |
... compiling it for python... ... => ./python/work.py | |
... compiling it for ruby... ... => ./ruby/work.rb | |
... compiling it for javascript... ... => ./javascript/Work.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment