From bc2abb81b39dc4d80cdec75477a0adad8ed23a63 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Wed, 30 Nov 2011 19:36:20 +0000 Subject: Added the new "File" menu allowing to terminate the program. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@214 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 15 ++ po/POTFILES.in | 494 ++++++++++++++++++++-------------------- po/fr.po | 557 ++++++++++++++++++++++++++-------------------- po/openida.pot | 545 ++++++++++++++++++++++++++------------------- src/gui/menus/Makefile.am | 1 + src/gui/menus/file.c | 91 ++++++++ src/gui/menus/file.h | 38 ++++ src/gui/menus/menubar.c | 6 + 8 files changed, 1036 insertions(+), 711 deletions(-) create mode 100644 src/gui/menus/file.c create mode 100644 src/gui/menus/file.h diff --git a/ChangeLog b/ChangeLog index cfd8276..0d4062b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +11-11-30 Cyrille Bagard + + * po/fr.po: + * po/openida.pot: + * po/POTFILES.in: + Update translations. + + * src/gui/menus/file.c: + * src/gui/menus/file.h: + New entries: terminate the program. + + * src/gui/menus/Makefile.am: + * src/gui/menus/menubar.c: + Add the new "File" menu into the main bar. + 11-10-26 Cyrille Bagard * src/dialogs/add_shellcode.c: diff --git a/po/POTFILES.in b/po/POTFILES.in index c914828..5f365ee 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,277 +1,285 @@ -# List of source files which contain translatable strings. -src/analysis/binary.c -src/analysis/decomp/decompiler.c -src/analysis/disass/disassembler.c -src/analysis/disass/fetch.c -src/analysis/disass/links.c -src/analysis/disass/output.c -src/analysis/exporter.c -src/analysis/line.c -src/analysis/line_code.c -src/analysis/line_comment.c -src/analysis/line_prologue.c -src/analysis/roptions.c -src/analysis/routine.c -src/analysis/type.c -src/analysis/variable.c -src/arch/archbase.c -src/arch/arm/processor.c -src/arch/artificial.c -src/arch/dalvik/dop_aget.c -src/arch/dalvik/dop_aput.c -src/arch/dalvik/dop_arithm.c -src/arch/dalvik/dop_array.c -src/arch/dalvik/dop_const.c -src/arch/dalvik/dop_if.c -src/arch/dalvik/dop_invoke.c -src/arch/dalvik/dop_ret.c -src/arch/dalvik/instruction.c -src/arch/dalvik/op_add.c -src/arch/dalvik/op_aget.c -src/arch/dalvik/op_and.c -src/arch/dalvik/op_aput.c -src/arch/dalvik/op_array.c -src/arch/dalvik/op_check.c -src/arch/dalvik/op_cmp.c -src/arch/dalvik/op_const.c -src/arch/dalvik/op_div.c -src/arch/dalvik/operand.c -src/arch/dalvik/operands/args.c -src/arch/dalvik/operands/pool.c -src/arch/dalvik/operands/register.c -src/arch/dalvik/operands/target.c -src/arch/dalvik/op_goto.c -src/arch/dalvik/op_if.c -src/arch/dalvik/op_iget.c -src/arch/dalvik/op_invoke.c -src/arch/dalvik/op_iput.c -src/arch/dalvik/op_move.c -src/arch/dalvik/op_mul.c -src/arch/dalvik/op_new.c -src/arch/dalvik/op_nop.c -src/arch/dalvik/op_or.c -src/arch/dalvik/op_rem.c -src/arch/dalvik/op_ret.c -src/arch/dalvik/op_rsub.c -src/arch/dalvik/op_sget.c -src/arch/dalvik/op_sput.c -src/arch/dalvik/op_sub.c -src/arch/dalvik/op_to.c -src/arch/dalvik/op_xor.c -src/arch/dalvik/processor.c -src/arch/dalvik/register.c -src/arch/immediate.c -src/arch/instruction.c -src/arch/jvm/instruction.c -src/arch/jvm/op_add.c -src/arch/jvm/op_const.c -src/arch/jvm/op_convert.c -src/arch/jvm/op_dup.c -src/arch/jvm/operand.c -src/arch/jvm/op_getput.c -src/arch/jvm/op_invoke.c -src/arch/jvm/op_load.c -src/arch/jvm/op_monitor.c -src/arch/jvm/op_nop.c -src/arch/jvm/op_pop.c -src/arch/jvm/op_ret.c -src/arch/jvm/op_store.c -src/arch/jvm/processor.c -src/arch/mips/instruction.c -src/arch/mips/op_add.c -src/arch/mips/op_and.c -src/arch/mips/op_branch.c -src/arch/mips/operand.c -src/arch/mips/op_jump.c -src/arch/mips/op_load.c -src/arch/mips/op_nop.c -src/arch/mips/op_sr.c -src/arch/mips/op_store.c -src/arch/mips/op_sub.c -src/arch/mips/processor.c -src/arch/mips/registers.c -src/arch/operand.c -src/arch/processor.c -src/arch/x86/instruction.c -src/arch/x86/op_adc.c -src/arch/x86/op_add.c -src/arch/x86/op_and.c -src/arch/x86/op_arpl.c -src/arch/x86/op_call.c -src/arch/x86/op_cld.c -src/arch/x86/op_cmp.c -src/arch/x86/op_cmps.c -src/arch/x86/op_dec.c -src/arch/x86/operand.c -src/arch/x86/op_hlt.c -src/arch/x86/op_inc.c -src/arch/x86/op_int.c -src/arch/x86/op_jump.c -src/arch/x86/op_lea.c -src/arch/x86/op_leave.c -src/arch/x86/op_mov.c -src/arch/x86/op_movs.c -src/arch/x86/op_movsx.c -src/arch/x86/op_movzx.c -src/arch/x86/op_mul.c -src/arch/x86/op_nop.c -src/arch/x86/op_not.c -src/arch/x86/op_or.c -src/arch/x86/op_pop.c -src/arch/x86/op_push.c -src/arch/x86/op_rcl.c -src/arch/x86/op_rcr.c -src/arch/x86/op_ret.c -src/arch/x86/op_rol.c -src/arch/x86/op_ror.c -src/arch/x86/op_sar.c -src/arch/x86/op_sbb.c -src/arch/x86/op_scas.c -src/arch/x86/op_set.c -src/arch/x86/op_shl.c -src/arch/x86/op_shr.c -src/arch/x86/op_stos.c -src/arch/x86/op_sub.c -src/arch/x86/op_test.c -src/arch/x86/op_xchg.c -src/arch/x86/op_xor.c -src/arch/x86/processor.c -src/arch/x86/registers.c -src/common/dllist.c -src/common/endianness.c -src/common/environment.c -src/common/extstr.c -src/common/leb128.c -src/common/net.c -src/common/xml.c -src/configuration.c -src/debug/break.c -src/debug/debugger.c -src/debug/debuggers.c -src/debug/jdwp/debugger.c -src/debug/jdwp/misc/header.c -src/debug/jdwp/misc/types.c -src/debug/jdwp/packet.c +src/plugins/plugin.c +src/plugins/pglist.c +src/plugins/pyoida/py_log.c +src/plugins/pyoida/py_binary.c +src/plugins/pyoida/pyoida.c +src/plugins/pyoida/py_line.c +src/plugins/context.c +src/plugins/overjump/overjump.c +src/debug/jdwp/tcp.c src/debug/jdwp/sets/list.c src/debug/jdwp/sets/vm.c -src/debug/jdwp/tcp.c +src/debug/jdwp/packet.c +src/debug/jdwp/misc/header.c +src/debug/jdwp/misc/types.c +src/debug/jdwp/debugger.c +src/debug/debuggers.c +src/debug/break.c src/debug/packet.c -src/debug/remgdb/gdb.c +src/debug/stream.c +src/debug/remgdb/tcp.c src/debug/remgdb/helpers.c src/debug/remgdb/packet.c src/debug/remgdb/stream.c -src/debug/remgdb/tcp.c -src/debug/stream.c -src/decomp/context.c -src/decomp/expr/arithm.c -src/decomp/expr/array.c -src/decomp/expr/assign.c -src/decomp/expr/block.c -src/decomp/expr/call.c +src/debug/remgdb/gdb.c +src/debug/debugger.c +src/analysis/decomp/decompiler.c +src/analysis/line_prologue.c +src/analysis/routine.c +src/analysis/binary.c +src/analysis/line.c +src/analysis/variable.c +src/analysis/line_comment.c +src/analysis/type.c +src/analysis/line_code.c +src/analysis/disass/output.c +src/analysis/disass/fetch.c +src/analysis/disass/links.c +src/analysis/disass/disassembler.c +src/analysis/exporter.c +src/analysis/roptions.c +src/dialogs/plugins.c +src/dialogs/about.c +src/dialogs/binparts.c +src/dialogs/add_shellcode.c +src/dialogs/export.c +src/xdg.c +src/decomp/output.c src/decomp/expr/cond.c +src/decomp/expr/return.c +src/decomp/expr/pseudo.c +src/decomp/expr/array.c src/decomp/expr/dalvik/array.c -src/decomp/expression.c +src/decomp/expr/assign.c src/decomp/expr/immediate.c -src/decomp/expr/pseudo.c -src/decomp/expr/return.c -src/decomp/instr/ite.c +src/decomp/expr/arithm.c +src/decomp/expr/call.c +src/decomp/expr/block.c src/decomp/instruction.c -src/decomp/lang/asm.c +src/decomp/instr/ite.c +src/decomp/context.c +src/decomp/expression.c src/decomp/lang/java.c -src/decomp/output.c -src/dialogs/about.c -src/dialogs/binparts.c -src/dialogs/export.c -src/dialogs/plugins.c +src/decomp/lang/asm.c +src/panel/panels.c +src/panel/log.c +src/panel/symbols.c +src/panel/strings.c +src/panel/registers.c +src/glibext/gbufferline.c +src/glibext/gcodebuffer.c +src/glibext/delayed.c +src/glibext/gnhash.c +src/glibext/gbuffersegment.c src/dlg_sections.c -src/editor.c -src/format/dbg_format.c -src/format/dex/class.c -src/format/dex/dex.c -src/format/dex/dex-int.c -src/format/dex/method.c -src/format/dex/pool.c -src/format/dwarf/abbrev.c -src/format/dwarf/d_dwarf.c +src/gui/editem.c +src/gui/menus/file.c +src/gui/menus/menubar.c +src/gui/menus/help.c +src/gui/menus/debug.c +src/gui/tb/toolbar.c +src/gui/tb/source.c +src/configuration.c src/format/dwarf/dwarf.c -src/format/dwarf/info.c +src/format/dwarf/abbrev.c src/format/dwarf/utils.c +src/format/dwarf/info.c +src/format/dwarf/d_dwarf.c +src/format/elf/section.c src/format/elf/elf.c -src/format/elf/elf-int.c -src/format/elf/helper_mips.c src/format/elf/helper_x86.c -src/format/elf/program.c -src/format/elf/section.c -src/format/elf/strings.c src/format/elf/symbols.c +src/format/elf/helper_mips.c +src/format/elf/strings.c +src/format/elf/program.c +src/format/elf/elf-int.c src/format/executable.c +src/format/mangling/libjavamangling_la-java_tok.c +src/format/mangling/itanium_gram.c +src/format/mangling/demangler.c +src/format/mangling/context.c +src/format/mangling/libjavamangling_la-java_gram.c +src/format/mangling/itanium_tok.c +src/format/symbol.c src/format/exe_format.c -src/format/format.c -src/format/java/attribute.c +src/format/part.c +src/format/java/java-int.c src/format/java/e_java.c -src/format/java/field.c src/format/java/java.c -src/format/java/java-int.c src/format/java/method.c src/format/java/pool.c -src/format/mangling/context.c -src/format/mangling/demangler.c -src/format/mangling/itanium_gram.c -src/format/mangling/itanium_tok.c -src/format/mangling/libjavamangling_la-java_gram.c -src/format/mangling/libjavamangling_la-java_tok.c -src/format/part.c -src/format/pe/pe.c +src/format/java/field.c +src/format/java/attribute.c +src/format/dex/dex.c +src/format/dex/method.c +src/format/dex/pool.c +src/format/dex/class.c +src/format/dex/dex-int.c +src/format/format.c +src/format/dbg_format.c src/format/pe/pe-int.c src/format/pe/section.c src/format/pe/symbols.c -src/format/symbol.c -src/glibext/delayed.c -src/glibext/gbufferline.c -src/glibext/gbuffersegment.c -src/glibext/gcodebuffer.c -src/glibext/gnhash.c -src/graph/dot.c -src/graph/layout.c +src/format/pe/pe.c +src/common/xml.c +src/common/leb128.c +src/common/extstr.c +src/common/environment.c +src/common/net.c +src/common/endianness.c +src/common/dllist.c +src/shell.c +src/editor.c +src/main.c +src/params.c +src/project.c src/graph/node.c -src/gtkext/easygtk.c +src/graph/layout.c +src/graph/dot.c +src/panels/log.c +src/panels/glimpse.c +src/panels/breaks.c +src/panels/symbols.c +src/panels/strings.c +src/panels/panel.c +src/panels/registers.c +src/arch/artificial.c +src/arch/operand.c +src/arch/x86/op_movs.c +src/arch/x86/op_hlt.c +src/arch/x86/operand.c +src/arch/x86/op_jump.c +src/arch/x86/op_xor.c +src/arch/x86/op_stos.c +src/arch/x86/op_mov.c +src/arch/x86/op_scas.c +src/arch/x86/op_push.c +src/arch/x86/op_sbb.c +src/arch/x86/op_nop.c +src/arch/x86/op_not.c +src/arch/x86/op_test.c +src/arch/x86/op_dec.c +src/arch/x86/op_call.c +src/arch/x86/op_shl.c +src/arch/x86/op_or.c +src/arch/x86/op_rcr.c +src/arch/x86/instruction.c +src/arch/x86/op_cld.c +src/arch/x86/op_sar.c +src/arch/x86/op_ror.c +src/arch/x86/op_inc.c +src/arch/x86/op_ret.c +src/arch/x86/op_cmps.c +src/arch/x86/op_shr.c +src/arch/x86/op_arpl.c +src/arch/x86/processor.c +src/arch/x86/op_lea.c +src/arch/x86/op_set.c +src/arch/x86/op_rol.c +src/arch/x86/op_int.c +src/arch/x86/registers.c +src/arch/x86/op_pop.c +src/arch/x86/op_add.c +src/arch/x86/op_cmp.c +src/arch/x86/op_adc.c +src/arch/x86/op_xchg.c +src/arch/x86/op_mul.c +src/arch/x86/op_and.c +src/arch/x86/op_rcl.c +src/arch/x86/op_movsx.c +src/arch/x86/op_sub.c +src/arch/x86/op_movzx.c +src/arch/x86/op_leave.c +src/arch/dalvik/dop_invoke.c +src/arch/dalvik/op_iput.c +src/arch/dalvik/op_iget.c +src/arch/dalvik/operand.c +src/arch/dalvik/op_to.c +src/arch/dalvik/op_xor.c +src/arch/dalvik/op_const.c +src/arch/dalvik/op_sput.c +src/arch/dalvik/dop_aput.c +src/arch/dalvik/op_nop.c +src/arch/dalvik/op_sget.c +src/arch/dalvik/op_aput.c +src/arch/dalvik/dop_ret.c +src/arch/dalvik/dop_array.c +src/arch/dalvik/dop_const.c +src/arch/dalvik/op_or.c +src/arch/dalvik/op_div.c +src/arch/dalvik/instruction.c +src/arch/dalvik/op_rsub.c +src/arch/dalvik/op_ret.c +src/arch/dalvik/op_goto.c +src/arch/dalvik/op_if.c +src/arch/dalvik/register.c +src/arch/dalvik/dop_arithm.c +src/arch/dalvik/processor.c +src/arch/dalvik/operands/args.c +src/arch/dalvik/operands/target.c +src/arch/dalvik/operands/register.c +src/arch/dalvik/operands/pool.c +src/arch/dalvik/op_new.c +src/arch/dalvik/op_rem.c +src/arch/dalvik/op_add.c +src/arch/dalvik/context.c +src/arch/dalvik/op_invoke.c +src/arch/dalvik/dop_aget.c +src/arch/dalvik/op_cmp.c +src/arch/dalvik/op_mul.c +src/arch/dalvik/op_move.c +src/arch/dalvik/op_and.c +src/arch/dalvik/op_check.c +src/arch/dalvik/specins.c +src/arch/dalvik/op_aget.c +src/arch/dalvik/op_sub.c +src/arch/dalvik/op_array.c +src/arch/dalvik/dop_if.c +src/arch/mips/operand.c +src/arch/mips/op_jump.c +src/arch/mips/op_nop.c +src/arch/mips/instruction.c +src/arch/mips/op_branch.c +src/arch/mips/op_store.c +src/arch/mips/processor.c +src/arch/mips/registers.c +src/arch/mips/op_load.c +src/arch/mips/op_add.c +src/arch/mips/op_sr.c +src/arch/mips/op_and.c +src/arch/mips/op_sub.c +src/arch/instruction.c +src/arch/archbase.c +src/arch/jvm/operand.c +src/arch/jvm/op_const.c +src/arch/jvm/op_dup.c +src/arch/jvm/op_nop.c +src/arch/jvm/instruction.c +src/arch/jvm/op_convert.c +src/arch/jvm/op_getput.c +src/arch/jvm/op_store.c +src/arch/jvm/op_ret.c +src/arch/jvm/processor.c +src/arch/jvm/op_pop.c +src/arch/jvm/op_load.c +src/arch/jvm/op_add.c +src/arch/jvm/op_invoke.c +src/arch/jvm/op_monitor.c +src/arch/immediate.c +src/arch/processor.c +src/arch/context.c +src/arch/arm/processor.c src/gtkext/gtkbinview.c -src/gtkext/gtkblockview.c -src/gtkext/gtkblockview.old.c -src/gtkext/gtkbufferview.c +src/gtkext/gtkdropwindow.c src/gtkext/gtkdockitem.c +src/gtkext/gtkviewpanel.c +src/gtkext/easygtk.c +src/gtkext/gtkbufferview.c src/gtkext/gtkdockpanel.c -src/gtkext/gtkdropwindow.c src/gtkext/gtkextstatusbar.c src/gtkext/gtkgraphview.c -src/gtkext/gtklinkrenderer.c src/gtkext/gtksourceview.c -src/gtkext/gtkviewpanel.c -src/gtkext/iodamarshal.c src/gtkext/support.c -src/gui/editem.c -src/gui/menus/debug.c -src/gui/menus/help.c -src/gui/menus/menubar.c -src/gui/tb/source.c -src/gui/tb/toolbar.c -src/main.c -src/panels/breaks.c -src/panels/glimpse.c -src/panels/log.c -src/panels/panel.c -src/panels/registers.c -src/panels/strings.c -src/panels/symbols.c -src/params.c -src/plugins/context.c -src/plugins/overjump/overjump.c -src/plugins/pglist.c -src/plugins/plugin.c -src/plugins/pyoida/py_binary.c -src/plugins/pyoida/py_line.c -src/plugins/pyoida/py_log.c -src/plugins/pyoida/pyoida.c -src/project.c -src/shell.c -src/xdg.c +src/gtkext/iodamarshal.c +src/gtkext/gtkblockview.c +src/gtkext/gtklinkrenderer.c diff --git a/po/fr.po b/po/fr.po index bfa48b5..8acdde1 100644 --- a/po/fr.po +++ b/po/fr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: openida 0.0.1\n" "Report-Msgid-Bugs-To: nocbos@gmail.com\n" -"POT-Creation-Date: 2011-01-06 02:08+0100\n" +"POT-Creation-Date: 2011-11-30 20:23+0100\n" "PO-Revision-Date: 2010-11-04 16:11+0100\n" "Last-Translator: cyrille \n" "Language-Team: French\n" @@ -17,111 +17,168 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +#: src/plugins/pyoida/py_log.c:118 +msgid "Invalid type of message" +msgstr "" + +#: src/debug/jdwp/tcp.c:187 +#, c-format +msgid "Error while connecting to the JDWP server at %s:%s." +msgstr "Erreur lors de la connexion au serveur JDWP sur %s:%s." + +#: src/debug/jdwp/tcp.c:193 +#, c-format +msgid "Connected to %s:%hd." +msgstr "Connecté à %s:%hd." + +#: src/debug/jdwp/tcp.c:211 +msgid "Failure in the first JDWP handshake." +msgstr "Echec des premiers échanges JDWP." + +#: src/debug/jdwp/debugger.c:196 +#, c-format +msgid "The debugger is '%s' (JRE %d.%d; VM %s)." +msgstr "Le débogueur est '%s' (JRE %d.%d ; VM %s)." + +#: src/analysis/decomp/decompiler.c:77 +msgid "Binary data decompiled by OpenIDA" +msgstr "" + +#: src/analysis/decomp/decompiler.c:81 src/analysis/disass/disassembler.c:316 +msgid "OpenIDA is free software - © 2008-2010 Cyrille Bagard" +msgstr "" + +#: src/analysis/decomp/decompiler.c:90 +msgid "whole binary" +msgstr "" + +#: src/analysis/decomp/decompiler.c:92 src/analysis/decomp/decompiler.c:95 +#: src/analysis/disass/disassembler.c:324 +#: src/analysis/disass/disassembler.c:327 +msgid "File: " +msgstr "" + #: src/analysis/binary.c:348 msgid "default" msgstr "" -#: src/analysis/binary.c:371 +#: src/analysis/binary.c:407 #, c-format msgid "Opening '%s' file..." msgstr "" -#: src/analysis/binary.c:381 +#: src/analysis/binary.c:420 msgid "Unknown binary format" msgstr "" -#: src/analysis/binary.c:389 +#: src/analysis/binary.c:428 msgid "Detected architecture: ARM" msgstr "" -#: src/analysis/binary.c:392 +#: src/analysis/binary.c:431 msgid "Detected architecture: Dalvik Virtual Machine" msgstr "" -#: src/analysis/binary.c:395 +#: src/analysis/binary.c:434 msgid "Detected architecture: Java Virtual Machine" msgstr "" -#: src/analysis/binary.c:398 +#: src/analysis/binary.c:437 msgid "" "Detected architecture: Microprocessor without Interlocked Pipeline Stages" msgstr "" -#: src/analysis/binary.c:401 +#: src/analysis/binary.c:440 msgid "Detected architecture: i386" msgstr "" -#: src/analysis/binary.c:404 +#: src/analysis/binary.c:443 msgid "Unknown architecture" msgstr "" -#: src/analysis/binary.c:1161 src/analysis/binary.c:1164 +#: src/analysis/binary.c:1213 src/analysis/binary.c:1216 msgid "Group" msgstr "" -#: src/analysis/decomp/decompiler.c:77 -msgid "Binary data decompiled by OpenIDA" -msgstr "" - -#: src/analysis/decomp/decompiler.c:81 src/analysis/disass/disassembler.c:288 -msgid "OpenIDA is free software - © 2008-2010 Cyrille Bagard" -msgstr "" - -#: src/analysis/decomp/decompiler.c:90 -msgid "whole binary" -msgstr "" - -#: src/analysis/decomp/decompiler.c:92 src/analysis/decomp/decompiler.c:95 -#: src/analysis/disass/disassembler.c:296 -#: src/analysis/disass/disassembler.c:299 -msgid "File: " +#: src/analysis/disass/disassembler.c:217 +msgid "Disassembling..." msgstr "" -#: src/analysis/disass/disassembler.c:207 -msgid "Disassembling..." +#: src/analysis/disass/disassembler.c:236 +#, c-format +msgid "Disassembled instructions : %u %% (%u / %d)" msgstr "" -#: src/analysis/disass/disassembler.c:216 +#: src/analysis/disass/disassembler.c:244 msgid "Establishing links..." msgstr "" -#: src/analysis/disass/disassembler.c:224 +#: src/analysis/disass/disassembler.c:252 msgid "Finding remaining limits..." msgstr "" -#: src/analysis/disass/disassembler.c:234 +#: src/analysis/disass/disassembler.c:262 msgid "Printing disassembled code..." msgstr "" -#: src/analysis/disass/disassembler.c:284 +#: src/analysis/disass/disassembler.c:312 msgid "Disassembly generated by OpenIDA" msgstr "Désassemblage généré par OpenIDA" -#: src/analysis/disass/disassembler.c:313 -#: src/analysis/disass/disassembler.c:316 +#: src/analysis/disass/disassembler.c:341 +#: src/analysis/disass/disassembler.c:344 msgid "Sha256: " msgstr "" -#: src/debug/jdwp/debugger.c:196 -#, c-format -msgid "The debugger is '%s' (JRE %d.%d; VM %s)." -msgstr "Le débogueur est '%s' (JRE %d.%d ; VM %s)." +#: src/dialogs/plugins.c:106 +msgid "Plugins selection" +msgstr "" -#: src/debug/jdwp/tcp.c:187 -#, c-format -msgid "Error while connecting to the JDWP server at %s:%s." -msgstr "Erreur lors de la connexion au serveur JDWP sur %s:%s." +#: src/dialogs/plugins.c:214 +msgid "Author:" +msgstr "" -#: src/debug/jdwp/tcp.c:193 -#, c-format -msgid "Connected to %s:%hd." -msgstr "Connecté à %s:%hd." +#: src/dialogs/plugins.c:219 +msgid "label8" +msgstr "" -#: src/debug/jdwp/tcp.c:211 -msgid "Failure in the first JDWP handshake." -msgstr "Echec des premiers échanges JDWP." +#: src/dialogs/plugins.c:223 +msgid "Version:" +msgstr "" + +#: src/dialogs/plugins.c:228 +msgid "label9" +msgstr "" + +#: src/dialogs/plugins.c:232 +msgid "URL:" +msgstr "" + +#: src/dialogs/plugins.c:237 +msgid "label10" +msgstr "" + +#: src/dialogs/plugins.c:251 +msgid "label12" +msgstr "" -#: src/dialogs/about.c:70 src/gui/menus/help.c:65 +#: src/dialogs/plugins.c:256 +msgid "Action" +msgstr "" + +#: src/dialogs/plugins.c:261 +msgid "Details:" +msgstr "" + +#: src/dialogs/plugins.c:293 +msgid "Apply" +msgstr "" + +#: src/dialogs/plugins.c:314 +msgid "Cancel" +msgstr "" + +#: src/dialogs/about.c:70 src/gui/menus/help.c:66 msgid "About" msgstr "A propos" @@ -141,8 +198,8 @@ msgstr "" msgid "Name" msgstr "" -#: src/dialogs/binparts.c:220 src/gui/menus/debug.c:69 -#: src/gui/menus/debug.c:104 src/gui/menus/debug.c:119 +#: src/dialogs/binparts.c:220 src/gui/menus/debug.c:70 +#: src/gui/menus/debug.c:109 src/gui/menus/debug.c:124 msgid "Start" msgstr "Démarrer" @@ -162,383 +219,409 @@ msgstr "" msgid "User" msgstr "" -#: src/dialogs/export.c:151 -msgid "Export assistant" +#: src/dialogs/add_shellcode.c:131 +msgid "Shellcode assistant" +msgstr "" + +#: src/dialogs/add_shellcode.c:274 src/dialogs/add_shellcode.c:500 +msgid "No code" +msgstr "" + +#: src/dialogs/add_shellcode.c:281 src/dialogs/add_shellcode.c:795 +#: src/dialogs/export.c:456 +msgid "Code" +msgstr "" + +#: src/dialogs/add_shellcode.c:489 +msgid "Error while decoding" +msgstr "" + +#: src/dialogs/add_shellcode.c:493 +#, c-format +msgid "Decoding OK (%d %s)" +msgstr "" + +#: src/dialogs/add_shellcode.c:494 +msgid "bytes" +msgstr "" + +#: src/dialogs/add_shellcode.c:494 +msgid "byte" +msgstr "" + +#: src/dialogs/add_shellcode.c:546 +msgid "Architecture:" +msgstr "" + +#: src/dialogs/add_shellcode.c:552 +msgid "x86" +msgstr "" + +#: src/dialogs/add_shellcode.c:558 +msgid "Register size:" +msgstr "" + +#: src/dialogs/add_shellcode.c:564 +msgid "32 bits" +msgstr "" + +#: src/dialogs/add_shellcode.c:565 +msgid "16 bits" msgstr "" -#: src/dialogs/export.c:290 +#: src/dialogs/add_shellcode.c:572 +msgid "Architecture" +msgstr "" + +#: src/dialogs/add_shellcode.c:629 src/dialogs/export.c:290 msgid "Format : " msgstr "" -#: src/dialogs/export.c:296 +#: src/dialogs/add_shellcode.c:635 src/dialogs/export.c:296 msgid "Simple text" msgstr "" -#: src/dialogs/export.c:306 +#: src/dialogs/add_shellcode.c:645 src/dialogs/export.c:306 msgid "File : " msgstr "" -#: src/dialogs/export.c:318 +#: src/dialogs/add_shellcode.c:657 src/dialogs/export.c:318 msgid "Output" msgstr "" -#: src/dialogs/export.c:384 +#: src/dialogs/add_shellcode.c:723 src/dialogs/export.c:384 msgid "Choose an output filename" msgstr "" -#: src/dialogs/export.c:445 +#: src/dialogs/add_shellcode.c:784 src/dialogs/export.c:445 msgid "Lines to process" msgstr "" -#: src/dialogs/export.c:452 +#: src/dialogs/add_shellcode.c:791 src/dialogs/export.c:452 msgid "Prologue" msgstr "" -#: src/dialogs/export.c:456 -msgid "Code" -msgstr "" - -#: src/dialogs/export.c:460 +#: src/dialogs/add_shellcode.c:799 src/dialogs/export.c:460 msgid "Comments" msgstr "" -#: src/dialogs/export.c:466 +#: src/dialogs/add_shellcode.c:805 src/dialogs/export.c:466 msgid "Items to display" msgstr "" -#: src/dialogs/export.c:473 src/editor.c:346 +#: src/dialogs/add_shellcode.c:812 src/dialogs/export.c:473 src/editor.c:348 msgid "Virtual address" msgstr "" -#: src/dialogs/export.c:477 src/editor.c:349 +#: src/dialogs/add_shellcode.c:816 src/dialogs/export.c:477 src/editor.c:351 msgid "Binary code" msgstr "" -#: src/dialogs/export.c:481 +#: src/dialogs/add_shellcode.c:820 src/dialogs/export.c:481 msgid "Assembly code" msgstr "" -#: src/dialogs/export.c:488 +#: src/dialogs/add_shellcode.c:827 src/dialogs/export.c:488 msgid "Exported content" msgstr "" +#: src/dialogs/export.c:151 +msgid "Export assistant" +msgstr "" + #: src/dialogs/export.c:612 msgid "Exporting binary lines..." msgstr "" -#: src/dialogs/plugins.c:106 -msgid "Plugins selection" +#: src/panel/strings.c:87 src/panels/breaks.c:189 src/panels/strings.c:87 +msgid "Address" msgstr "" -#: src/dialogs/plugins.c:214 -msgid "Author:" +#: src/panel/strings.c:91 src/panels/breaks.c:209 src/panels/strings.c:91 +msgid "String" msgstr "" -#: src/dialogs/plugins.c:219 -msgid "label8" +#: src/panel/registers.c:100 src/panels/registers.c:101 +msgid "Registers:" msgstr "" -#: src/dialogs/plugins.c:223 -msgid "Version:" +#: src/panel/registers.c:179 src/panels/registers.c:180 +msgid "Segments:" msgstr "" -#: src/dialogs/plugins.c:228 -msgid "label9" +#: src/gui/menus/file.c:59 src/editor.c:285 +msgid "_File" +msgstr "_Fichier" + +#: src/gui/menus/file.c:65 +msgid "Quit" +msgstr "Quitter" + +#: src/gui/menus/help.c:60 +msgid "_Help" +msgstr "_Aide" + +#: src/gui/menus/debug.c:64 src/editor.c:423 +msgid "_Debug" +msgstr "_Débogage" + +#: src/gui/menus/debug.c:105 +msgid "No available debug module for this binary !" +msgstr "Pas de module de débogage disponible pour ce binaire !" + +#: src/gui/menus/debug.c:113 +msgid "Failed to initialize the debugger." +msgstr "Echec de l'initialisation du débogueur." + +#: src/gui/menus/debug.c:117 +msgid "Stop" +msgstr "Arrêter" + +#: src/gui/tb/source.c:85 +msgid " Source: " msgstr "" -#: src/dialogs/plugins.c:232 -msgid "URL:" +#: src/gui/tb/source.c:116 +msgid "Source files" msgstr "" -#: src/dialogs/plugins.c:237 -msgid "label10" +#: src/format/dwarf/info.c:483 +msgid "[no name]" msgstr "" -#: src/dialogs/plugins.c:251 -msgid "label12" +#: src/format/elf/elf.c:182 +#, c-format +msgid "" +"Corrupted program header size (%hu); fixed ! -- replacing 0x%04hx by 0x" +"%04hx at offset 0x%x" msgstr "" -#: src/dialogs/plugins.c:256 -msgid "Action" +#: src/format/elf/elf.c:191 +#, c-format +msgid "" +"Corrupted section header size (%hu); fixed ! -- replacing 0x%04hx by 0x" +"%04hx at offset 0x%x" msgstr "" -#: src/dialogs/plugins.c:261 -msgid "Details:" +#: src/format/elf/symbols.c:99 +msgid "Binary is dynamically linked" msgstr "" -#: src/dialogs/plugins.c:293 -msgid "Apply" +#: src/format/elf/symbols.c:106 +msgid "Binary is statically linked" msgstr "" -#: src/dialogs/plugins.c:314 -msgid "Cancel" +#: src/format/exe_format.c:242 src/format/format.c:490 +msgid "ELF" msgstr "" -#: src/editor.c:253 -msgid "OpenIDA" +#: src/format/exe_format.c:243 src/format/format.c:491 +msgid "Java" msgstr "" -#: src/editor.c:283 -msgid "_File" -msgstr "_Fichier" +#: src/format/exe_format.c:244 +msgid "Portable Executable" +msgstr "" + +#: src/format/exe_format.c:301 src/format/format.c:558 +#, c-format +msgid "%s is matching..." +msgstr "" -#: src/editor.c:290 +#: src/format/java/attribute.c:239 +#, c-format +msgid "Attribute name not supported: '%s'" +msgstr "" + +#: src/format/java/attribute.c:243 +#, c-format +msgid "Size indication of the attribute '%s' not verified: %d vs %d" +msgstr "" + +#: src/format/format.c:488 +msgid "Dalvik Executable" +msgstr "" + +#: src/format/format.c:492 +msgid "PE" +msgstr "" + +#: src/editor.c:255 +msgid "OpenIDA" +msgstr "" + +#: src/editor.c:292 msgid "New project" msgstr "" -#: src/editor.c:294 +#: src/editor.c:296 msgid "Open project" msgstr "" -#: src/editor.c:300 +#: src/editor.c:302 msgid "Save project" msgstr "" -#: src/editor.c:303 +#: src/editor.c:305 msgid "Save project as..." msgstr "" -#: src/editor.c:309 +#: src/editor.c:311 msgid "Recent projects..." msgstr "" -#: src/editor.c:317 +#: src/editor.c:319 msgid "_View" msgstr "" -#: src/editor.c:324 +#: src/editor.c:326 msgid "Text view" msgstr "" -#: src/editor.c:331 +#: src/editor.c:333 msgid "Graph view" msgstr "" -#: src/editor.c:338 +#: src/editor.c:340 msgid "Source code" msgstr "" -#: src/editor.c:355 +#: src/editor.c:357 msgid "Toolbar" msgstr "" -#: src/editor.c:361 +#: src/editor.c:363 msgid "Source file" msgstr "" -#: src/editor.c:370 +#: src/editor.c:372 msgid "_Project" msgstr "" -#: src/editor.c:377 +#: src/editor.c:379 msgid "Add a binary..." msgstr "" -#: src/editor.c:380 -msgid "Remove a binary" +#: src/editor.c:382 +msgid "Add a binary" +msgstr "" + +#: src/editor.c:388 +msgid "Shellcode" msgstr "" #: src/editor.c:391 +msgid "Remove a binary" +msgstr "" + +#: src/editor.c:402 msgid "_Binary" msgstr "" -#: src/editor.c:398 +#: src/editor.c:409 msgid "Select parts..." msgstr "" -#: src/editor.c:401 +#: src/editor.c:412 msgid "Select plugins..." msgstr "" -#: src/editor.c:407 +#: src/editor.c:418 msgid "Export..." msgstr "" -#: src/editor.c:412 src/gui/menus/debug.c:63 -msgid "_Debug" -msgstr "_Débogage" - -#: src/editor.c:419 +#: src/editor.c:430 msgid "Start process" msgstr "" -#: src/editor.c:422 +#: src/editor.c:433 msgid "Pause process" msgstr "" -#: src/editor.c:425 +#: src/editor.c:436 msgid "Resume process" msgstr "" -#: src/editor.c:428 +#: src/editor.c:439 msgid "Kill process" msgstr "" -#: src/editor.c:434 +#: src/editor.c:445 msgid "Step into" msgstr "" -#: src/editor.c:437 +#: src/editor.c:448 msgid "Step over" msgstr "" -#: src/editor.c:440 +#: src/editor.c:451 msgid "Run until ret" msgstr "" -#: src/editor.c:452 +#: src/editor.c:463 msgid "_Plugins" msgstr "" -#: src/editor.c:510 +#: src/editor.c:521 msgid "Registers" msgstr "" -#: src/editor.c:527 +#: src/editor.c:538 msgid "Messages" msgstr "" -#: src/editor.c:530 +#: src/editor.c:541 msgid "Strings" msgstr "" -#: src/editor.c:537 +#: src/editor.c:548 msgid "Shell" msgstr "" -#: src/editor.c:625 +#: src/editor.c:636 msgid "The current project will be lost. Do you you want to save it ?" msgstr "" -#: src/editor.c:730 +#: src/editor.c:741 msgid "Open a project" msgstr "" -#: src/editor.c:812 +#: src/editor.c:823 msgid "Save the project as..." msgstr "" -#: src/editor.c:1005 +#: src/editor.c:1016 msgid "Open a binary file" msgstr "" -#: src/format/dwarf/info.c:483 -msgid "[no name]" -msgstr "" - -#: src/format/elf/elf.c:182 +#: src/main.c:64 #, c-format -msgid "" -"Corrupted program header size (%hu); fixed ! -- replacing 0x%04hx by 0x" -"%04hx at offset 0x%x" +msgid "Last compiled on %s at %s\n" msgstr "" -#: src/format/elf/elf.c:191 +#: src/main.c:68 #, c-format -msgid "" -"Corrupted section header size (%hu); fixed ! -- replacing 0x%04hx by 0x" -"%04hx at offset 0x%x" -msgstr "" - -#: src/format/elf/symbols.c:99 -msgid "Binary is dynamically linked" -msgstr "" - -#: src/format/elf/symbols.c:106 -msgid "Binary is statically linked" -msgstr "" - -#: src/format/exe_format.c:242 src/format/format.c:489 -msgid "ELF" +msgid "Data directory: %s\n" msgstr "" -#: src/format/exe_format.c:243 src/format/format.c:490 -msgid "Java" -msgstr "" - -#: src/format/exe_format.c:244 -msgid "Portable Executable" -msgstr "" - -#: src/format/exe_format.c:301 src/format/format.c:522 +#: src/main.c:69 #, c-format -msgid "%s is matching..." -msgstr "" - -#: src/format/format.c:487 -msgid "Dalvik Executable" +msgid "Plugins directory: %s\n" msgstr "" -#: src/format/format.c:491 -msgid "PE" -msgstr "" - -#: src/format/java/attribute.c:239 -#, c-format -msgid "Attribute name not supported: '%s'" -msgstr "" - -#: src/format/java/attribute.c:243 +#: src/main.c:70 #, c-format -msgid "Size indication of the attribute '%s' not verified: %d vs %d" -msgstr "" - -#: src/gtkext/gtkblockview.old.c:324 -msgid "Inserting lines..." -msgstr "" - -#: src/gui/menus/debug.c:100 -msgid "No available debug module for this binary !" -msgstr "Pas de module de débogage disponible pour ce binaire !" - -#: src/gui/menus/debug.c:108 -msgid "Failed to initialize the debugger." -msgstr "Echec de l'initialisation du débogueur." - -#: src/gui/menus/debug.c:112 -msgid "Stop" -msgstr "Arrêter" - -#: src/gui/menus/help.c:59 -msgid "_Help" -msgstr "_Aide" - -#: src/gui/tb/source.c:85 -msgid " Source: " -msgstr "" - -#: src/gui/tb/source.c:116 -msgid "Source files" -msgstr "" - -#: src/panels/breaks.c:156 -msgid "Breakpoints" -msgstr "" - -#: src/panels/breaks.c:189 src/panels/strings.c:87 -msgid "Address" -msgstr "" - -#: src/panels/breaks.c:209 src/panels/strings.c:91 -msgid "String" +msgid "Locale directory: %s\n" msgstr "" #: src/panels/glimpse.c:105 msgid "Glimpse" msgstr "" -#: src/panels/registers.c:101 -msgid "Registers:" -msgstr "" - -#: src/panels/registers.c:180 -msgid "Segments:" +#: src/panels/breaks.c:156 +msgid "Breakpoints" msgstr "" #: src/panels/symbols.c:181 msgid "Symbols" msgstr "" - -#: src/plugins/pyoida/py_log.c:118 -msgid "Invalid type of message" -msgstr "" diff --git a/po/openida.pot b/po/openida.pot index abdc091..1a261a2 100644 --- a/po/openida.pot +++ b/po/openida.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: openida 0.0.1\n" "Report-Msgid-Bugs-To: nocbos@gmail.com\n" -"POT-Creation-Date: 2011-01-06 02:08+0100\n" +"POT-Creation-Date: 2011-11-30 20:23+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,111 +17,168 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: src/plugins/pyoida/py_log.c:118 +msgid "Invalid type of message" +msgstr "" + +#: src/debug/jdwp/tcp.c:187 +#, c-format +msgid "Error while connecting to the JDWP server at %s:%s." +msgstr "" + +#: src/debug/jdwp/tcp.c:193 +#, c-format +msgid "Connected to %s:%hd." +msgstr "" + +#: src/debug/jdwp/tcp.c:211 +msgid "Failure in the first JDWP handshake." +msgstr "" + +#: src/debug/jdwp/debugger.c:196 +#, c-format +msgid "The debugger is '%s' (JRE %d.%d; VM %s)." +msgstr "" + +#: src/analysis/decomp/decompiler.c:77 +msgid "Binary data decompiled by OpenIDA" +msgstr "" + +#: src/analysis/decomp/decompiler.c:81 src/analysis/disass/disassembler.c:316 +msgid "OpenIDA is free software - © 2008-2010 Cyrille Bagard" +msgstr "" + +#: src/analysis/decomp/decompiler.c:90 +msgid "whole binary" +msgstr "" + +#: src/analysis/decomp/decompiler.c:92 src/analysis/decomp/decompiler.c:95 +#: src/analysis/disass/disassembler.c:324 +#: src/analysis/disass/disassembler.c:327 +msgid "File: " +msgstr "" + #: src/analysis/binary.c:348 msgid "default" msgstr "" -#: src/analysis/binary.c:371 +#: src/analysis/binary.c:407 #, c-format msgid "Opening '%s' file..." msgstr "" -#: src/analysis/binary.c:381 +#: src/analysis/binary.c:420 msgid "Unknown binary format" msgstr "" -#: src/analysis/binary.c:389 +#: src/analysis/binary.c:428 msgid "Detected architecture: ARM" msgstr "" -#: src/analysis/binary.c:392 +#: src/analysis/binary.c:431 msgid "Detected architecture: Dalvik Virtual Machine" msgstr "" -#: src/analysis/binary.c:395 +#: src/analysis/binary.c:434 msgid "Detected architecture: Java Virtual Machine" msgstr "" -#: src/analysis/binary.c:398 +#: src/analysis/binary.c:437 msgid "" "Detected architecture: Microprocessor without Interlocked Pipeline Stages" msgstr "" -#: src/analysis/binary.c:401 +#: src/analysis/binary.c:440 msgid "Detected architecture: i386" msgstr "" -#: src/analysis/binary.c:404 +#: src/analysis/binary.c:443 msgid "Unknown architecture" msgstr "" -#: src/analysis/binary.c:1161 src/analysis/binary.c:1164 +#: src/analysis/binary.c:1213 src/analysis/binary.c:1216 msgid "Group" msgstr "" -#: src/analysis/decomp/decompiler.c:77 -msgid "Binary data decompiled by OpenIDA" +#: src/analysis/disass/disassembler.c:217 +msgid "Disassembling..." msgstr "" -#: src/analysis/decomp/decompiler.c:81 src/analysis/disass/disassembler.c:288 -msgid "OpenIDA is free software - © 2008-2010 Cyrille Bagard" +#: src/analysis/disass/disassembler.c:236 +#, c-format +msgid "Disassembled instructions : %u %% (%u / %d)" msgstr "" -#: src/analysis/decomp/decompiler.c:90 -msgid "whole binary" +#: src/analysis/disass/disassembler.c:244 +msgid "Establishing links..." msgstr "" -#: src/analysis/decomp/decompiler.c:92 src/analysis/decomp/decompiler.c:95 -#: src/analysis/disass/disassembler.c:296 -#: src/analysis/disass/disassembler.c:299 -msgid "File: " +#: src/analysis/disass/disassembler.c:252 +msgid "Finding remaining limits..." msgstr "" -#: src/analysis/disass/disassembler.c:207 -msgid "Disassembling..." +#: src/analysis/disass/disassembler.c:262 +msgid "Printing disassembled code..." msgstr "" -#: src/analysis/disass/disassembler.c:216 -msgid "Establishing links..." +#: src/analysis/disass/disassembler.c:312 +msgid "Disassembly generated by OpenIDA" msgstr "" -#: src/analysis/disass/disassembler.c:224 -msgid "Finding remaining limits..." +#: src/analysis/disass/disassembler.c:341 +#: src/analysis/disass/disassembler.c:344 +msgid "Sha256: " msgstr "" -#: src/analysis/disass/disassembler.c:234 -msgid "Printing disassembled code..." +#: src/dialogs/plugins.c:106 +msgid "Plugins selection" msgstr "" -#: src/analysis/disass/disassembler.c:284 -msgid "Disassembly generated by OpenIDA" +#: src/dialogs/plugins.c:214 +msgid "Author:" msgstr "" -#: src/analysis/disass/disassembler.c:313 -#: src/analysis/disass/disassembler.c:316 -msgid "Sha256: " +#: src/dialogs/plugins.c:219 +msgid "label8" msgstr "" -#: src/debug/jdwp/debugger.c:196 -#, c-format -msgid "The debugger is '%s' (JRE %d.%d; VM %s)." +#: src/dialogs/plugins.c:223 +msgid "Version:" msgstr "" -#: src/debug/jdwp/tcp.c:187 -#, c-format -msgid "Error while connecting to the JDWP server at %s:%s." +#: src/dialogs/plugins.c:228 +msgid "label9" msgstr "" -#: src/debug/jdwp/tcp.c:193 -#, c-format -msgid "Connected to %s:%hd." +#: src/dialogs/plugins.c:232 +msgid "URL:" msgstr "" -#: src/debug/jdwp/tcp.c:211 -msgid "Failure in the first JDWP handshake." +#: src/dialogs/plugins.c:237 +msgid "label10" msgstr "" -#: src/dialogs/about.c:70 src/gui/menus/help.c:65 +#: src/dialogs/plugins.c:251 +msgid "label12" +msgstr "" + +#: src/dialogs/plugins.c:256 +msgid "Action" +msgstr "" + +#: src/dialogs/plugins.c:261 +msgid "Details:" +msgstr "" + +#: src/dialogs/plugins.c:293 +msgid "Apply" +msgstr "" + +#: src/dialogs/plugins.c:314 +msgid "Cancel" +msgstr "" + +#: src/dialogs/about.c:70 src/gui/menus/help.c:66 msgid "About" msgstr "" @@ -141,8 +198,8 @@ msgstr "" msgid "Name" msgstr "" -#: src/dialogs/binparts.c:220 src/gui/menus/debug.c:69 -#: src/gui/menus/debug.c:104 src/gui/menus/debug.c:119 +#: src/dialogs/binparts.c:220 src/gui/menus/debug.c:70 +#: src/gui/menus/debug.c:109 src/gui/menus/debug.c:124 msgid "Start" msgstr "" @@ -162,383 +219,409 @@ msgstr "" msgid "User" msgstr "" -#: src/dialogs/export.c:151 -msgid "Export assistant" +#: src/dialogs/add_shellcode.c:131 +msgid "Shellcode assistant" +msgstr "" + +#: src/dialogs/add_shellcode.c:274 src/dialogs/add_shellcode.c:500 +msgid "No code" msgstr "" -#: src/dialogs/export.c:290 +#: src/dialogs/add_shellcode.c:281 src/dialogs/add_shellcode.c:795 +#: src/dialogs/export.c:456 +msgid "Code" +msgstr "" + +#: src/dialogs/add_shellcode.c:489 +msgid "Error while decoding" +msgstr "" + +#: src/dialogs/add_shellcode.c:493 +#, c-format +msgid "Decoding OK (%d %s)" +msgstr "" + +#: src/dialogs/add_shellcode.c:494 +msgid "bytes" +msgstr "" + +#: src/dialogs/add_shellcode.c:494 +msgid "byte" +msgstr "" + +#: src/dialogs/add_shellcode.c:546 +msgid "Architecture:" +msgstr "" + +#: src/dialogs/add_shellcode.c:552 +msgid "x86" +msgstr "" + +#: src/dialogs/add_shellcode.c:558 +msgid "Register size:" +msgstr "" + +#: src/dialogs/add_shellcode.c:564 +msgid "32 bits" +msgstr "" + +#: src/dialogs/add_shellcode.c:565 +msgid "16 bits" +msgstr "" + +#: src/dialogs/add_shellcode.c:572 +msgid "Architecture" +msgstr "" + +#: src/dialogs/add_shellcode.c:629 src/dialogs/export.c:290 msgid "Format : " msgstr "" -#: src/dialogs/export.c:296 +#: src/dialogs/add_shellcode.c:635 src/dialogs/export.c:296 msgid "Simple text" msgstr "" -#: src/dialogs/export.c:306 +#: src/dialogs/add_shellcode.c:645 src/dialogs/export.c:306 msgid "File : " msgstr "" -#: src/dialogs/export.c:318 +#: src/dialogs/add_shellcode.c:657 src/dialogs/export.c:318 msgid "Output" msgstr "" -#: src/dialogs/export.c:384 +#: src/dialogs/add_shellcode.c:723 src/dialogs/export.c:384 msgid "Choose an output filename" msgstr "" -#: src/dialogs/export.c:445 +#: src/dialogs/add_shellcode.c:784 src/dialogs/export.c:445 msgid "Lines to process" msgstr "" -#: src/dialogs/export.c:452 +#: src/dialogs/add_shellcode.c:791 src/dialogs/export.c:452 msgid "Prologue" msgstr "" -#: src/dialogs/export.c:456 -msgid "Code" -msgstr "" - -#: src/dialogs/export.c:460 +#: src/dialogs/add_shellcode.c:799 src/dialogs/export.c:460 msgid "Comments" msgstr "" -#: src/dialogs/export.c:466 +#: src/dialogs/add_shellcode.c:805 src/dialogs/export.c:466 msgid "Items to display" msgstr "" -#: src/dialogs/export.c:473 src/editor.c:346 +#: src/dialogs/add_shellcode.c:812 src/dialogs/export.c:473 src/editor.c:348 msgid "Virtual address" msgstr "" -#: src/dialogs/export.c:477 src/editor.c:349 +#: src/dialogs/add_shellcode.c:816 src/dialogs/export.c:477 src/editor.c:351 msgid "Binary code" msgstr "" -#: src/dialogs/export.c:481 +#: src/dialogs/add_shellcode.c:820 src/dialogs/export.c:481 msgid "Assembly code" msgstr "" -#: src/dialogs/export.c:488 +#: src/dialogs/add_shellcode.c:827 src/dialogs/export.c:488 msgid "Exported content" msgstr "" +#: src/dialogs/export.c:151 +msgid "Export assistant" +msgstr "" + #: src/dialogs/export.c:612 msgid "Exporting binary lines..." msgstr "" -#: src/dialogs/plugins.c:106 -msgid "Plugins selection" +#: src/panel/strings.c:87 src/panels/breaks.c:189 src/panels/strings.c:87 +msgid "Address" msgstr "" -#: src/dialogs/plugins.c:214 -msgid "Author:" +#: src/panel/strings.c:91 src/panels/breaks.c:209 src/panels/strings.c:91 +msgid "String" msgstr "" -#: src/dialogs/plugins.c:219 -msgid "label8" +#: src/panel/registers.c:100 src/panels/registers.c:101 +msgid "Registers:" msgstr "" -#: src/dialogs/plugins.c:223 -msgid "Version:" +#: src/panel/registers.c:179 src/panels/registers.c:180 +msgid "Segments:" msgstr "" -#: src/dialogs/plugins.c:228 -msgid "label9" +#: src/gui/menus/file.c:59 src/editor.c:285 +msgid "_File" msgstr "" -#: src/dialogs/plugins.c:232 -msgid "URL:" +#: src/gui/menus/file.c:65 +msgid "Quit" msgstr "" -#: src/dialogs/plugins.c:237 -msgid "label10" +#: src/gui/menus/help.c:60 +msgid "_Help" msgstr "" -#: src/dialogs/plugins.c:251 -msgid "label12" +#: src/gui/menus/debug.c:64 src/editor.c:423 +msgid "_Debug" msgstr "" -#: src/dialogs/plugins.c:256 -msgid "Action" +#: src/gui/menus/debug.c:105 +msgid "No available debug module for this binary !" msgstr "" -#: src/dialogs/plugins.c:261 -msgid "Details:" +#: src/gui/menus/debug.c:113 +msgid "Failed to initialize the debugger." msgstr "" -#: src/dialogs/plugins.c:293 -msgid "Apply" +#: src/gui/menus/debug.c:117 +msgid "Stop" msgstr "" -#: src/dialogs/plugins.c:314 -msgid "Cancel" +#: src/gui/tb/source.c:85 +msgid " Source: " msgstr "" -#: src/editor.c:253 -msgid "OpenIDA" +#: src/gui/tb/source.c:116 +msgid "Source files" msgstr "" -#: src/editor.c:283 -msgid "_File" +#: src/format/dwarf/info.c:483 +msgid "[no name]" +msgstr "" + +#: src/format/elf/elf.c:182 +#, c-format +msgid "" +"Corrupted program header size (%hu); fixed ! -- replacing 0x%04hx by 0x" +"%04hx at offset 0x%x" msgstr "" -#: src/editor.c:290 +#: src/format/elf/elf.c:191 +#, c-format +msgid "" +"Corrupted section header size (%hu); fixed ! -- replacing 0x%04hx by 0x" +"%04hx at offset 0x%x" +msgstr "" + +#: src/format/elf/symbols.c:99 +msgid "Binary is dynamically linked" +msgstr "" + +#: src/format/elf/symbols.c:106 +msgid "Binary is statically linked" +msgstr "" + +#: src/format/exe_format.c:242 src/format/format.c:490 +msgid "ELF" +msgstr "" + +#: src/format/exe_format.c:243 src/format/format.c:491 +msgid "Java" +msgstr "" + +#: src/format/exe_format.c:244 +msgid "Portable Executable" +msgstr "" + +#: src/format/exe_format.c:301 src/format/format.c:558 +#, c-format +msgid "%s is matching..." +msgstr "" + +#: src/format/java/attribute.c:239 +#, c-format +msgid "Attribute name not supported: '%s'" +msgstr "" + +#: src/format/java/attribute.c:243 +#, c-format +msgid "Size indication of the attribute '%s' not verified: %d vs %d" +msgstr "" + +#: src/format/format.c:488 +msgid "Dalvik Executable" +msgstr "" + +#: src/format/format.c:492 +msgid "PE" +msgstr "" + +#: src/editor.c:255 +msgid "OpenIDA" +msgstr "" + +#: src/editor.c:292 msgid "New project" msgstr "" -#: src/editor.c:294 +#: src/editor.c:296 msgid "Open project" msgstr "" -#: src/editor.c:300 +#: src/editor.c:302 msgid "Save project" msgstr "" -#: src/editor.c:303 +#: src/editor.c:305 msgid "Save project as..." msgstr "" -#: src/editor.c:309 +#: src/editor.c:311 msgid "Recent projects..." msgstr "" -#: src/editor.c:317 +#: src/editor.c:319 msgid "_View" msgstr "" -#: src/editor.c:324 +#: src/editor.c:326 msgid "Text view" msgstr "" -#: src/editor.c:331 +#: src/editor.c:333 msgid "Graph view" msgstr "" -#: src/editor.c:338 +#: src/editor.c:340 msgid "Source code" msgstr "" -#: src/editor.c:355 +#: src/editor.c:357 msgid "Toolbar" msgstr "" -#: src/editor.c:361 +#: src/editor.c:363 msgid "Source file" msgstr "" -#: src/editor.c:370 +#: src/editor.c:372 msgid "_Project" msgstr "" -#: src/editor.c:377 +#: src/editor.c:379 msgid "Add a binary..." msgstr "" -#: src/editor.c:380 -msgid "Remove a binary" +#: src/editor.c:382 +msgid "Add a binary" +msgstr "" + +#: src/editor.c:388 +msgid "Shellcode" msgstr "" #: src/editor.c:391 +msgid "Remove a binary" +msgstr "" + +#: src/editor.c:402 msgid "_Binary" msgstr "" -#: src/editor.c:398 +#: src/editor.c:409 msgid "Select parts..." msgstr "" -#: src/editor.c:401 +#: src/editor.c:412 msgid "Select plugins..." msgstr "" -#: src/editor.c:407 +#: src/editor.c:418 msgid "Export..." msgstr "" -#: src/editor.c:412 src/gui/menus/debug.c:63 -msgid "_Debug" -msgstr "" - -#: src/editor.c:419 +#: src/editor.c:430 msgid "Start process" msgstr "" -#: src/editor.c:422 +#: src/editor.c:433 msgid "Pause process" msgstr "" -#: src/editor.c:425 +#: src/editor.c:436 msgid "Resume process" msgstr "" -#: src/editor.c:428 +#: src/editor.c:439 msgid "Kill process" msgstr "" -#: src/editor.c:434 +#: src/editor.c:445 msgid "Step into" msgstr "" -#: src/editor.c:437 +#: src/editor.c:448 msgid "Step over" msgstr "" -#: src/editor.c:440 +#: src/editor.c:451 msgid "Run until ret" msgstr "" -#: src/editor.c:452 +#: src/editor.c:463 msgid "_Plugins" msgstr "" -#: src/editor.c:510 +#: src/editor.c:521 msgid "Registers" msgstr "" -#: src/editor.c:527 +#: src/editor.c:538 msgid "Messages" msgstr "" -#: src/editor.c:530 +#: src/editor.c:541 msgid "Strings" msgstr "" -#: src/editor.c:537 +#: src/editor.c:548 msgid "Shell" msgstr "" -#: src/editor.c:625 +#: src/editor.c:636 msgid "The current project will be lost. Do you you want to save it ?" msgstr "" -#: src/editor.c:730 +#: src/editor.c:741 msgid "Open a project" msgstr "" -#: src/editor.c:812 +#: src/editor.c:823 msgid "Save the project as..." msgstr "" -#: src/editor.c:1005 +#: src/editor.c:1016 msgid "Open a binary file" msgstr "" -#: src/format/dwarf/info.c:483 -msgid "[no name]" -msgstr "" - -#: src/format/elf/elf.c:182 +#: src/main.c:64 #, c-format -msgid "" -"Corrupted program header size (%hu); fixed ! -- replacing 0x%04hx by 0x" -"%04hx at offset 0x%x" -msgstr "" - -#: src/format/elf/elf.c:191 -#, c-format -msgid "" -"Corrupted section header size (%hu); fixed ! -- replacing 0x%04hx by 0x" -"%04hx at offset 0x%x" -msgstr "" - -#: src/format/elf/symbols.c:99 -msgid "Binary is dynamically linked" -msgstr "" - -#: src/format/elf/symbols.c:106 -msgid "Binary is statically linked" -msgstr "" - -#: src/format/exe_format.c:242 src/format/format.c:489 -msgid "ELF" -msgstr "" - -#: src/format/exe_format.c:243 src/format/format.c:490 -msgid "Java" +msgid "Last compiled on %s at %s\n" msgstr "" -#: src/format/exe_format.c:244 -msgid "Portable Executable" -msgstr "" - -#: src/format/exe_format.c:301 src/format/format.c:522 +#: src/main.c:68 #, c-format -msgid "%s is matching..." +msgid "Data directory: %s\n" msgstr "" -#: src/format/format.c:487 -msgid "Dalvik Executable" -msgstr "" - -#: src/format/format.c:491 -msgid "PE" -msgstr "" - -#: src/format/java/attribute.c:239 +#: src/main.c:69 #, c-format -msgid "Attribute name not supported: '%s'" +msgid "Plugins directory: %s\n" msgstr "" -#: src/format/java/attribute.c:243 +#: src/main.c:70 #, c-format -msgid "Size indication of the attribute '%s' not verified: %d vs %d" -msgstr "" - -#: src/gtkext/gtkblockview.old.c:324 -msgid "Inserting lines..." -msgstr "" - -#: src/gui/menus/debug.c:100 -msgid "No available debug module for this binary !" -msgstr "" - -#: src/gui/menus/debug.c:108 -msgid "Failed to initialize the debugger." -msgstr "" - -#: src/gui/menus/debug.c:112 -msgid "Stop" -msgstr "" - -#: src/gui/menus/help.c:59 -msgid "_Help" -msgstr "" - -#: src/gui/tb/source.c:85 -msgid " Source: " -msgstr "" - -#: src/gui/tb/source.c:116 -msgid "Source files" -msgstr "" - -#: src/panels/breaks.c:156 -msgid "Breakpoints" -msgstr "" - -#: src/panels/breaks.c:189 src/panels/strings.c:87 -msgid "Address" -msgstr "" - -#: src/panels/breaks.c:209 src/panels/strings.c:91 -msgid "String" +msgid "Locale directory: %s\n" msgstr "" #: src/panels/glimpse.c:105 msgid "Glimpse" msgstr "" -#: src/panels/registers.c:101 -msgid "Registers:" -msgstr "" - -#: src/panels/registers.c:180 -msgid "Segments:" +#: src/panels/breaks.c:156 +msgid "Breakpoints" msgstr "" #: src/panels/symbols.c:181 msgid "Symbols" msgstr "" - -#: src/plugins/pyoida/py_log.c:118 -msgid "Invalid type of message" -msgstr "" diff --git a/src/gui/menus/Makefile.am b/src/gui/menus/Makefile.am index 36fffc2..67d65b6 100644 --- a/src/gui/menus/Makefile.am +++ b/src/gui/menus/Makefile.am @@ -3,6 +3,7 @@ noinst_LTLIBRARIES = libguimenus.la libguimenus_la_SOURCES = \ debug.h debug.c \ + file.h file.c \ help.h help.c \ menubar.h menubar.c diff --git a/src/gui/menus/file.c b/src/gui/menus/file.c new file mode 100644 index 0000000..880fb8a --- /dev/null +++ b/src/gui/menus/file.c @@ -0,0 +1,91 @@ + +/* OpenIDA - Outil d'analyse de fichiers binaires + * file.c - gestion du menu 'Fichier' + * + * Copyright (C) 2011 Cyrille Bagard + * + * This file is part of OpenIDA. + * + * OpenIDA is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * OpenIDA is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + +#include "file.h" + + +#include + + +#include "../../gtkext/easygtk.h" + + + +/* Réagit avec le menu "Fichier -> Quitter". */ +static void mcb_file_quit(GtkMenuItem *, GObject *); + + + +/****************************************************************************** +* * +* Paramètres : ref = espace de référencement global. * +* accgroup = groupe d'accélérateurs pour les menus. * +* * +* Description : Construit le menu "Fichier". * +* * +* Retour : Panneau de menus mis en place. * +* * +* Remarques : - * +* * +******************************************************************************/ + +GtkWidget *build_menu_file(GObject *ref, GtkAccelGroup *accgroup) +{ + GtkWidget *result; /* Support à retourner */ + GtkWidget *menubar; /* Support pour éléments */ + GtkWidget *submenuitem; /* Sous-élément de menu */ + + result = gtk_menu_item_new_with_mnemonic(_("_File")); + gtk_widget_show(result); + + menubar = gtk_menu_new(); + gtk_menu_item_set_submenu(GTK_MENU_ITEM(result), menubar); + + submenuitem = qck_create_menu_item(NULL, NULL, _("Quit"), G_CALLBACK(mcb_file_quit), ref); + add_accelerator_to_menu_item(submenuitem, "Q", accgroup); + gtk_container_add(GTK_CONTAINER(menubar), submenuitem); + + return result; + +} + + +/****************************************************************************** +* * +* Paramètres : menuitem = élément de menu sélectionné. * +* ref = adresse de l'espace de référencement global. * +* * +* Description : Réagit avec le menu "Fichier -> Quitter". * +* * +* Retour : - * +* * +* Remarques : - * +* * +******************************************************************************/ + +static void mcb_file_quit(GtkMenuItem *menuitem, GObject *ref) +{ + gtk_main_quit(); + +} diff --git a/src/gui/menus/file.h b/src/gui/menus/file.h new file mode 100644 index 0000000..13da6aa --- /dev/null +++ b/src/gui/menus/file.h @@ -0,0 +1,38 @@ + +/* OpenIDA - Outil d'analyse de fichiers binaires + * file.h - prototypes pour la gestion du menu 'Fichier' + * + * Copyright (C) 2011 Cyrille Bagard + * + * This file is part of OpenIDA. + * + * OpenIDA is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * OpenIDA is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + +#ifndef _GUI_MENUS_FILE_H +#define _GUI_MENUS_FILE_H + + +#include + + + +/* Construit le menu "Fichier". */ +GtkWidget *build_menu_file(GObject *, GtkAccelGroup *); + + + +#endif /* _GUI_MENUS_FILE_H */ diff --git a/src/gui/menus/menubar.c b/src/gui/menus/menubar.c index 4718caa..e6c9007 100644 --- a/src/gui/menus/menubar.c +++ b/src/gui/menus/menubar.c @@ -26,6 +26,7 @@ #include "debug.h" +#include "file.h" #include "help.h" #include "../editem-int.h" @@ -131,6 +132,11 @@ GEditorItem *g_menu_bar_new(GObject *ref, GtkAccelGroup *accgroup) g_object_ref(ref); item->ref = ref; + /* Fichier */ + + menuitem = build_menu_file(ref, accgroup); + gtk_container_add(GTK_CONTAINER(item->widget), menuitem); + /* Débogage */ menuitem = build_menu_debug(ref, accgroup); -- cgit v0.11.2-87-g4458