public override bool handle_hunk_file(string path, HunkFile hunk_file) { // verbose all hunk var hs = new HunkShow( hunk_file, show_relocs: args["--show-relocs"].IsTrue, show_debug: args["--show-debug"].IsTrue, disassemble: args["--disassemble"].IsTrue, disassemble_start: args["--disassemble-start"] != null ? UInt32.Parse( (string)args["--disassemble-start"].Value, NumberStyles.HexNumber, CultureInfo.InvariantCulture) : 0, use_objdump: args["--use-objdump"].IsTrue, cpu: args["--cpu"] != null ? (string)args["--cpu"].Value : "", hexdump: args["--hexdump"].IsTrue, brief: args["--brief"].IsTrue); hs.show_segments(); return(true); }
public override bool handle_hunk_file(string path, HunkFile hunk_file) { // verbose all hunk var hs = new HunkShow( hunk_file, show_relocs: args["--show-relocs"].IsTrue, show_debug: args["--show-debug"].IsTrue, disassemble: args["--disassemble"].IsTrue, disassemble_start: args["--disassemble-start"] != null ? UInt32.Parse( (string)args["--disassemble-start"].Value, NumberStyles.HexNumber, CultureInfo.InvariantCulture) : 0, use_objdump: args["--use-objdump"].IsTrue, cpu: args["--cpu"] != null ? (string)args["--cpu"].Value : "", hexdump: args["--hexdump"].IsTrue, brief: args["--brief"].IsTrue); hs.show_segments(); return true; }