From 7e1c5ac72a317d39952843239023c0fa506f2322 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sun, 12 Jul 2015 22:26:49 +0000 Subject: Cleaned the code handling binary symbols. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@548 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 29 + plugins/mobicore/symbols.c | 2 +- po/POTFILES.in | 399 ++++++++- po/fr.po | 1942 ++++++++++++++---------------------------- src/analysis/disass/area.c | 2 +- src/analysis/disass/output.c | 4 +- src/arch/arm/v7/post.c | 8 +- src/format/dex/pool.c | 4 +- src/format/elf/helper_arm.c | 18 +- src/format/elf/helper_x86.c | 14 +- src/format/elf/strings.c | 2 +- src/format/elf/symbols.c | 4 +- src/format/symbol.c | 157 ++-- src/format/symbol.h | 27 +- src/gui/panels/strings.c | 2 +- src/gui/panels/symbols.c | 6 +- src/gui/status.c | 2 +- src/panels/strings.c | 9 +- 18 files changed, 1208 insertions(+), 1423 deletions(-) diff --git a/ChangeLog b/ChangeLog index bfe8fde..a108660 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,32 @@ +15-07-13 Cyrille Bagard + + * plugins/mobicore/symbols.c: + Update code. + + * po/fr.po: + * po/POTFILES.in: + Update the list of translated file. + + * src/analysis/disass/area.c: + * src/analysis/disass/output.c: + * src/arch/arm/v7/post.c: + * src/format/dex/pool.c: + * src/format/elf/helper_arm.c: + * src/format/elf/helper_x86.c: + * src/format/elf/strings.c: + * src/format/elf/symbols.c: + Update code. + + * src/format/symbol.c: + * src/format/symbol.h: + Clean the code handling binary symbols. + + * src/gui/panels/strings.c: + * src/gui/panels/symbols.c: + * src/gui/status.c: + * src/panels/strings.c: + Update code. + 15-07-12 Cyrille Bagard * plugins/androhelpers/params.c: diff --git a/plugins/mobicore/symbols.c b/plugins/mobicore/symbols.c index c718cfa..a324a4b 100644 --- a/plugins/mobicore/symbols.c +++ b/plugins/mobicore/symbols.c @@ -83,7 +83,7 @@ static void register_mclf_entry_point(GMCLFFormat *format, virt_t vaddr, phys_t g_binary_routine_set_range(routine, &range); - symbol = g_binary_symbol_new(STP_ENTRY_POINT, "XXX", ~0); + symbol = g_binary_symbol_new(STP_ENTRY_POINT); g_binary_symbol_attach_routine(symbol, routine); g_binary_format_add_symbol(base, symbol); diff --git a/po/POTFILES.in b/po/POTFILES.in index 3c97379..d86b9c7 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -86,6 +86,120 @@ src/arch/arm/processor.c src/arch/arm/v7/processor.c src/arch/arm/v7/context.c src/arch/arm/v7/register.c +src/arch/arm/v7/opcodes/arm_adr.c +src/arch/arm/v7/opcodes/arm_subs.c +src/arch/arm/v7/opcodes/arm_blx.c +src/arch/arm/v7/opcodes/thumb_32_bl.c +src/arch/arm/v7/opcodes/thumb_32_mla.c +src/arch/arm/v7/opcodes/thumb_32_mvn.c +src/arch/arm/v7/opcodes/arm_ldrb.c +src/arch/arm/v7/opcodes/thumb_16_lsr.c +src/arch/arm/v7/opcodes/arm_nop.c +src/arch/arm/v7/opcodes/arm_mvn.c +src/arch/arm/v7/opcodes/thumb_32_mls.c +src/arch/arm/v7/opcodes/arm_yield.c +src/arch/arm/v7/opcodes/thumb_32_mov.c +src/arch/arm/v7/opcodes/thumb_16_uxtb.c +src/arch/arm/v7/opcodes/arm_add.c +src/arch/arm/v7/opcodes/arm_rsc.c +src/arch/arm/v7/opcodes/thumb_16_asr.c +src/arch/arm/v7/opcodes/thumb_16_cmp.c +src/arch/arm/v7/opcodes/thumb_16_blx.c +src/arch/arm/v7/opcodes/thumb_32_orr.c +src/arch/arm/v7/opcodes/thumb_32_movt.c +src/arch/arm/v7/opcodes/arm_mov.c +src/arch/arm/v7/opcodes/thumb_32_b.c +src/arch/arm/v7/opcodes/thumb_16_orr.c +src/arch/arm/v7/opcodes/thumb_32_and.c +src/arch/arm/v7/opcodes/thumb_32_uxtb.c +src/arch/arm/v7/opcodes/arm_tst.c +src/arch/arm/v7/opcodes/thumb_16_adr.c +src/arch/arm/v7/opcodes/thumb_32_ldr.c +src/arch/arm/v7/opcodes/thumb_32_smlal.c +src/arch/arm/v7/opcodes/arm_lsr.c +src/arch/arm/v7/opcodes/arm_umull.c +src/arch/arm/v7/opcodes/thumb_32_nop.c +src/arch/arm/v7/opcodes/thumb_32_adr.c +src/arch/arm/v7/opcodes/arm_asr.c +src/arch/arm/v7/opcodes/arm_pop.c +src/arch/arm/v7/opcodes/thumb_16_ldrb.c +src/arch/arm/v7/opcodes/arm_bic.c +src/arch/arm/v7/opcodes/thumb_32_smull.c +src/arch/arm/v7/opcodes/arm_smull.c +src/arch/arm/v7/opcodes/thumb_32_adc.c +src/arch/arm/v7/opcodes/arm_sub.c +src/arch/arm/v7/opcodes/thumb_32_asr.c +src/arch/arm/v7/opcodes/thumb_16_tst.c +src/arch/arm/v7/opcodes/thumb_16_eor.c +src/arch/arm/v7/opcodes/arm_umlal.c +src/arch/arm/v7/opcodes/thumb_32_umaal.c +src/arch/arm/v7/opcodes/thumb_16_push.c +src/arch/arm/v7/opcodes/thumb_32_str.c +src/arch/arm/v7/opcodes/thumb_16_sbc.c +src/arch/arm/v7/opcodes/arm_and.c +src/arch/arm/v7/opcodes/arm_eor.c +src/arch/arm/v7/opcodes/arm_mls.c +src/arch/arm/v7/opcodes/arm_ldr.c +src/arch/arm/v7/opcodes/thumb_16_cmn.c +src/arch/arm/v7/opcodes/thumb_16_rsb.c +src/arch/arm/v7/opcodes/thumb_16_mul.c +src/arch/arm/v7/opcodes/thumb_32_tst.c +src/arch/arm/v7/opcodes/thumb_32_lsl.c +src/arch/arm/v7/opcodes/thumb_16_yield.c +src/arch/arm/v7/opcodes/arm_cmn.c +src/arch/arm/v7/opcodes/thumb_16_ldr.c +src/arch/arm/v7/opcodes/arm_lsl.c +src/arch/arm/v7/opcodes/thumb_16_add.c +src/arch/arm/v7/opcodes/thumb_32_ldrb.c +src/arch/arm/v7/opcodes/thumb_32_umull.c +src/arch/arm/v7/opcodes/arm_rsb.c +src/arch/arm/v7/opcodes/thumb_32_cmp.c +src/arch/arm/v7/opcodes/thumb_16_cbnz.c +src/arch/arm/v7/opcodes/arm_sbc.c +src/arch/arm/v7/opcodes/thumb_32_rsb.c +src/arch/arm/v7/opcodes/thumb_32_sub.c +src/arch/arm/v7/opcodes/thumb_16_strb.c +src/arch/arm/v7/opcodes/thumb_32_sbc.c +src/arch/arm/v7/opcodes/thumb_32_pop.c +src/arch/arm/v7/opcodes/arm_push.c +src/arch/arm/v7/opcodes/thumb_16_bic.c +src/arch/arm/v7/opcodes/thumb_16_b.c +src/arch/arm/v7/opcodes/arm_orr.c +src/arch/arm/v7/opcodes/arm_str.c +src/arch/arm/v7/opcodes/arm_mul.c +src/arch/arm/v7/opcodes/arm_smlal.c +src/arch/arm/v7/opcodes/thumb_16_str.c +src/arch/arm/v7/opcodes/thumb_32_push.c +src/arch/arm/v7/opcodes/arm_bl.c +src/arch/arm/v7/opcodes/thumb_16_lsl.c +src/arch/arm/v7/opcodes/thumb_32_yield.c +src/arch/arm/v7/opcodes/thumb_32_lsr.c +src/arch/arm/v7/opcodes/arm_strb.c +src/arch/arm/v7/opcodes/arm_umaal.c +src/arch/arm/v7/opcodes/arm_mla.c +src/arch/arm/v7/opcodes/thumb_16_bx.c +src/arch/arm/v7/opcodes/arm_adc.c +src/arch/arm/v7/opcodes/thumb_32_umlal.c +src/arch/arm/v7/opcodes/arm_teq.c +src/arch/arm/v7/opcodes/thumb_32_eor.c +src/arch/arm/v7/opcodes/thumb_32_mul.c +src/arch/arm/v7/opcodes/thumb_32_teq.c +src/arch/arm/v7/opcodes/thumb_32_strb.c +src/arch/arm/v7/opcodes/arm_cmp.c +src/arch/arm/v7/opcodes/arm_bx.c +src/arch/arm/v7/opcodes/arm_movt.c +src/arch/arm/v7/opcodes/thumb_32_cmn.c +src/arch/arm/v7/opcodes/thumb_16_mov.c +src/arch/arm/v7/opcodes/thumb_16_adc.c +src/arch/arm/v7/opcodes/arm_uxtb.c +src/arch/arm/v7/opcodes/thumb_16_and.c +src/arch/arm/v7/opcodes/arm_b.c +src/arch/arm/v7/opcodes/thumb_32_add.c +src/arch/arm/v7/opcodes/thumb_16_pop.c +src/arch/arm/v7/opcodes/thumb_16_mvn.c +src/arch/arm/v7/opcodes/thumb_16_nop.c +src/arch/arm/v7/opcodes/thumb_16_sub.c +src/arch/arm/v7/opcodes/thumb_32_bic.c src/arch/arm/v7/thumb_16.c src/arch/arm/v7/helpers.c src/arch/arm/v7/post.c @@ -97,6 +211,286 @@ src/arch/arm/v7/operands/rotation.c src/arch/arm/v7/operands/reglist.c src/arch/arm/v7/operands/maccess.c src/arch/arm/v7/operands/shift.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.sbc.tmpl.c +src/arch/arm/v7/opdefs/.gen/bic_A8821.arm_.bic.c +src/arch/arm/v7/opdefs/.gen/asr_A8816.arm_.asr.c +src/arch/arm/v7/opdefs/.gen/cmp_A8837.thumb_16_.cmp.c +src/arch/arm/v7/opdefs/.gen/cmp_A8837.thumb_32_.cmp.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.lsl.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.nop.tmpl.c +src/arch/arm/v7/opdefs/.gen/adc_A882.thumb_32_.adc.c +src/arch/arm/v7/opdefs/.gen/arm_.and.tmpl.c +src/arch/arm/v7/opdefs/.gen/mov_A88102.arm_.mov.c +src/arch/arm/v7/opdefs/.gen/sub_A88223.thumb_16_.sub.c +src/arch/arm/v7/opdefs/.gen/eor_A8847.thumb_32_.eor.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.asr.tmpl.c +src/arch/arm/v7/opdefs/.gen/adr_A8812.thumb_32_.adr.c +src/arch/arm/v7/opdefs/.gen/rsb_A88152.thumb_32_.rsb.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.eor.tmpl.c +src/arch/arm/v7/opdefs/.gen/orr_A88123.thumb_32_.orr.c +src/arch/arm/v7/opdefs/.gen/eor_A8847.arm_.eor.c +src/arch/arm/v7/opdefs/.gen/arm_.bl.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.push.tmpl.c +src/arch/arm/v7/opdefs/.gen/sub_A88222.arm_.sub.c +src/arch/arm/v7/opdefs/.gen/mla_A88100.arm_.mla.c +src/arch/arm/v7/opdefs/.gen/eor_A8846.thumb_32_.eor.c +src/arch/arm/v7/opdefs/.gen/mov_A88102.thumb_32_.mov.c +src/arch/arm/v7/opdefs/.gen/add_A889.thumb_16_.add.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.nop.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.ldr.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.tst.tmpl.c +src/arch/arm/v7/opdefs/.gen/tst_A88240.thumb_32_.tst.c +src/arch/arm/v7/opdefs/.gen/arm_.movt.tmpl.c +src/arch/arm/v7/opdefs/.gen/tst_A88240.arm_.tst.c +src/arch/arm/v7/opdefs/.gen/cmp_A8837.arm_.cmp.c +src/arch/arm/v7/opdefs/.gen/sbc_A88162.thumb_16_.sbc.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.smlal.tmpl.c +src/arch/arm/v7/opdefs/.gen/ldr_A8862.thumb_32_.ldr.c +src/arch/arm/v7/opdefs/.gen/lsr_A8896.thumb_32_.lsr.c +src/arch/arm/v7/opdefs/.gen/arm_.eor.tmpl.c +src/arch/arm/v7/opdefs/.gen/mvn_A88116.thumb_32_.mvn.c +src/arch/arm/v7/opdefs/.gen/arm_.tst.tmpl.c +src/arch/arm/v7/opdefs/.gen/arm_.b.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.mul.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.adr.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.mvn.tmpl.c +src/arch/arm/v7/opdefs/.gen/arm_.mul.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.ldrb.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.mls.tmpl.c +src/arch/arm/v7/opdefs/.gen/umaal_A88255.thumb_32_.umaal.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.ldrb.tmpl.c +src/arch/arm/v7/opdefs/.gen/pop_A88131.thumb_16_.pop.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.add.tmpl.c +src/arch/arm/v7/opdefs/.gen/arm_.ldr.tmpl.c +src/arch/arm/v7/opdefs/.gen/str_A88203.thumb_32_.str.c +src/arch/arm/v7/opdefs/.gen/mls_A88101.thumb_32_.mls.c +src/arch/arm/v7/opdefs/.gen/bx_A8827.arm_.bx.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.adc.tmpl.c +src/arch/arm/v7/opdefs/.gen/nop_A88119.thumb_16_.nop.c +src/arch/arm/v7/opdefs/.gen/arm_.add.tmpl.c +src/arch/arm/v7/opdefs/.gen/strb_A88207.arm_.strb.c +src/arch/arm/v7/opdefs/.gen/add_A884.thumb_32_.add.c +src/arch/arm/v7/opdefs/.gen/add_A889.thumb_32_.add.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.uxtb.tmpl.c +src/arch/arm/v7/opdefs/.gen/bl_A8825.thumb_32_.bl.c +src/arch/arm/v7/opdefs/.gen/mul_A88114.thumb_32_.mul.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.orr.tmpl.c +src/arch/arm/v7/opdefs/.gen/arm_.lsl.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.push.tmpl.c +src/arch/arm/v7/opdefs/.gen/sub_A88225.arm_.sub.c +src/arch/arm/v7/opdefs/.gen/arm_.bx.tmpl.c +src/arch/arm/v7/opdefs/.gen/mvn_A88116.thumb_16_.mvn.c +src/arch/arm/v7/opdefs/.gen/adr_A8812.thumb_16_.adr.c +src/arch/arm/v7/opdefs/.gen/add_A889.arm_.add.c +src/arch/arm/v7/opdefs/.gen/ldrb_A8870.thumb_16_.ldrb.c +src/arch/arm/v7/opdefs/.gen/cmn_A8835.arm_.cmn.c +src/arch/arm/v7/opdefs/.gen/ldrb_A8870.arm_.ldrb.c +src/arch/arm/v7/opdefs/.gen/mvn_A88115.arm_.mvn.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.b.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.b.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.bic.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.blx.tmpl.c +src/arch/arm/v7/opdefs/.gen/arm_.blx.tmpl.c +src/arch/arm/v7/opdefs/.gen/adr_A8812.arm_.adr.c +src/arch/arm/v7/opdefs/.gen/arm_.mls.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.str.tmpl.c +src/arch/arm/v7/opdefs/.gen/arm_.mvn.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.tst.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.teq.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.yield.tmpl.c +src/arch/arm/v7/opdefs/.gen/ldrb_A8867.thumb_16_.ldrb.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.mov.tmpl.c +src/arch/arm/v7/opdefs/.gen/yield_A88426.thumb_32_.yield.c +src/arch/arm/v7/opdefs/.gen/eor_A8846.arm_.eor.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.umull.tmpl.c +src/arch/arm/v7/opdefs/.gen/umlal_A88256.thumb_32_.umlal.c +src/arch/arm/v7/opdefs/.gen/movt_A88106.arm_.movt.c +src/arch/arm/v7/opdefs/.gen/arm_.mov.tmpl.c +src/arch/arm/v7/opdefs/.gen/arm_.yield.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.cmn.tmpl.c +src/arch/arm/v7/opdefs/.gen/arm_.pop.tmpl.c +src/arch/arm/v7/opdefs/.gen/umull_A88257.arm_.umull.c +src/arch/arm/v7/opdefs/.gen/arm_.nop.tmpl.c +src/arch/arm/v7/opdefs/.gen/arm_.sbc.tmpl.c +src/arch/arm/v7/opdefs/.gen/lsl_A8894.thumb_32_.lsl.c +src/arch/arm/v7/opdefs/.gen/orr_A88122.arm_.orr.c +src/arch/arm/v7/opdefs/.gen/strb_A88208.arm_.strb.c +src/arch/arm/v7/opdefs/.gen/mov_A88104.arm_.mov.c +src/arch/arm/v7/opdefs/.gen/bic_A8821.thumb_32_.bic.c +src/arch/arm/v7/opdefs/.gen/ldrb_A8867.thumb_32_.ldrb.c +src/arch/arm/v7/opdefs/.gen/adc_A881.arm_.adc.c +src/arch/arm/v7/opdefs/.gen/mul_A88114.arm_.mul.c +src/arch/arm/v7/opdefs/.gen/smull_A88189.thumb_32_.smull.c +src/arch/arm/v7/opdefs/.gen/str_A88204.arm_.str.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.lsr.tmpl.c +src/arch/arm/v7/opdefs/.gen/arm_.adc.tmpl.c +src/arch/arm/v7/opdefs/.gen/lsl_A8894.arm_.lsl.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.orr.tmpl.c +src/arch/arm/v7/opdefs/.gen/strb_A88208.thumb_32_.strb.c +src/arch/arm/v7/opdefs/.gen/arm_.str.tmpl.c +src/arch/arm/v7/opdefs/.gen/eor_A8847.thumb_16_.eor.c +src/arch/arm/v7/opdefs/.gen/rsb_A88152.thumb_16_.rsb.c +src/arch/arm/v7/opdefs/.gen/cmp_A8838.thumb_32_.cmp.c +src/arch/arm/v7/opdefs/.gen/arm_.cmp.tmpl.c +src/arch/arm/v7/opdefs/.gen/and_A8813.thumb_32_.and.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.bic.tmpl.c +src/arch/arm/v7/opdefs/.gen/mov_A88103.thumb_16_.mov.c +src/arch/arm/v7/opdefs/.gen/add_A887.arm_.add.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.ldr.tmpl.c +src/arch/arm/v7/opdefs/.gen/ldr_A8863.arm_.ldr.c +src/arch/arm/v7/opdefs/.gen/arm_.push.tmpl.c +src/arch/arm/v7/opdefs/.gen/arm_.lsr.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.yield.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.bl.tmpl.c +src/arch/arm/v7/opdefs/.gen/str_A88203.thumb_16_.str.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.asr.tmpl.c +src/arch/arm/v7/opdefs/.gen/sbc_A88161.thumb_32_.sbc.c +src/arch/arm/v7/opdefs/.gen/arm_.orr.tmpl.c +src/arch/arm/v7/opdefs/.gen/rsc_A88156.arm_.rsc.c +src/arch/arm/v7/opdefs/.gen/arm_.rsc.tmpl.c +src/arch/arm/v7/opdefs/.gen/sub_A88221.thumb_16_.sub.c +src/arch/arm/v7/opdefs/.gen/ldr_A8862.thumb_16_.ldr.c +src/arch/arm/v7/opdefs/.gen/cmp_A8838.arm_.cmp.c +src/arch/arm/v7/opdefs/.gen/blx_A8826.thumb_16_.blx.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.cmp.tmpl.c +src/arch/arm/v7/opdefs/.gen/yield_A88426.arm_.yield.c +src/arch/arm/v7/opdefs/.gen/arm_.smull.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.rsb.tmpl.c +src/arch/arm/v7/opdefs/.gen/tst_A88241.thumb_32_.tst.c +src/arch/arm/v7/opdefs/.gen/arm_.uxtb.tmpl.c +src/arch/arm/v7/opdefs/.gen/mls_A88101.arm_.mls.c +src/arch/arm/v7/opdefs/.gen/b_A8818.thumb_32_.b.c +src/arch/arm/v7/opdefs/.gen/teq_A88238.thumb_32_.teq.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.lsl.tmpl.c +src/arch/arm/v7/opdefs/.gen/umull_A88257.thumb_32_.umull.c +src/arch/arm/v7/opdefs/.gen/arm_.rsb.tmpl.c +src/arch/arm/v7/opdefs/.gen/subs_B9320.arm_.subs.c +src/arch/arm/v7/opdefs/.gen/yield_A88426.thumb_16_.yield.c +src/arch/arm/v7/opdefs/.gen/sbc_A88162.thumb_32_.sbc.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.umlal.tmpl.c +src/arch/arm/v7/opdefs/.gen/rsb_A88152.arm_.rsb.c +src/arch/arm/v7/opdefs/.gen/cmn_A8835.thumb_32_.cmn.c +src/arch/arm/v7/opdefs/.gen/mvn_A88116.arm_.mvn.c +src/arch/arm/v7/opdefs/.gen/rsc_A88155.arm_.rsc.c +src/arch/arm/v7/opdefs/.gen/cbnz_A8829.thumb_16_.cbnz.c +src/arch/arm/v7/opdefs/.gen/pop_A88131.thumb_32_.pop.c +src/arch/arm/v7/opdefs/.gen/bic_A8822.thumb_32_.bic.c +src/arch/arm/v7/opdefs/.gen/ldr_A8864.arm_.ldr.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.cmp.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.strb.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.and.tmpl.c +src/arch/arm/v7/opdefs/.gen/mov_A88102.thumb_16_.mov.c +src/arch/arm/v7/opdefs/.gen/arm_.umaal.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.sub.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.cbnz.tmpl.c +src/arch/arm/v7/opdefs/.gen/ldrb_A8870.thumb_32_.ldrb.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.mul.tmpl.c +src/arch/arm/v7/opdefs/.gen/b_A8818.thumb_16_.b.c +src/arch/arm/v7/opdefs/.gen/cmn_A8834.arm_.cmn.c +src/arch/arm/v7/opdefs/.gen/arm_.sub.tmpl.c +src/arch/arm/v7/opdefs/.gen/sub_A88221.thumb_32_.sub.c +src/arch/arm/v7/opdefs/.gen/and_A8814.thumb_16_.and.c +src/arch/arm/v7/opdefs/.gen/uxtb_A88274.thumb_16_.uxtb.c +src/arch/arm/v7/opdefs/.gen/asr_A8816.thumb_32_.asr.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.uxtb.tmpl.c +src/arch/arm/v7/opdefs/.gen/and_A8813.arm_.and.c +src/arch/arm/v7/opdefs/.gen/add_A884.thumb_16_.add.c +src/arch/arm/v7/opdefs/.gen/adc_A882.thumb_16_.adc.c +src/arch/arm/v7/opdefs/.gen/mvn_A88115.thumb_32_.mvn.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.add.tmpl.c +src/arch/arm/v7/opdefs/.gen/teq_A88237.arm_.teq.c +src/arch/arm/v7/opdefs/.gen/bic_A8822.thumb_16_.bic.c +src/arch/arm/v7/opdefs/.gen/lsr_A8896.arm_.lsr.c +src/arch/arm/v7/opdefs/.gen/and_A8814.thumb_32_.and.c +src/arch/arm/v7/opdefs/.gen/lsl_A8894.thumb_16_.lsl.c +src/arch/arm/v7/opdefs/.gen/arm_.ldrb.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.and.tmpl.c +src/arch/arm/v7/opdefs/.gen/bl_A8825.arm_.bl.c +src/arch/arm/v7/opdefs/.gen/umaal_A88255.arm_.umaal.c +src/arch/arm/v7/opdefs/.gen/teq_A88238.arm_.teq.c +src/arch/arm/v7/opdefs/.gen/orr_A88123.arm_.orr.c +src/arch/arm/v7/opdefs/.gen/tst_A88241.arm_.tst.c +src/arch/arm/v7/opdefs/.gen/strb_A88206.thumb_16_.strb.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.adr.tmpl.c +src/arch/arm/v7/opdefs/.gen/nop_A88119.thumb_32_.nop.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.strb.tmpl.c +src/arch/arm/v7/opdefs/.gen/arm_.cmn.tmpl.c +src/arch/arm/v7/opdefs/.gen/add_A886.thumb_32_.add.c +src/arch/arm/v7/opdefs/.gen/pop_A88132.arm_.pop.c +src/arch/arm/v7/opdefs/.gen/nop_A88119.arm_.nop.c +src/arch/arm/v7/opdefs/.gen/ldr_A8864.thumb_32_.ldr.c +src/arch/arm/v7/opdefs/.gen/arm_.teq.tmpl.c +src/arch/arm/v7/opdefs/.gen/mla_A88100.thumb_32_.mla.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.sbc.tmpl.c +src/arch/arm/v7/opdefs/.gen/umlal_A88256.arm_.umlal.c +src/arch/arm/v7/opdefs/.gen/mul_A88114.thumb_16_.mul.c +src/arch/arm/v7/opdefs/.gen/arm_.bic.tmpl.c +src/arch/arm/v7/opdefs/.gen/smlal_A88178.thumb_32_.smlal.c +src/arch/arm/v7/opdefs/.gen/sub_A88225.thumb_16_.sub.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.eor.tmpl.c +src/arch/arm/v7/opdefs/.gen/movt_A88106.thumb_32_.movt.c +src/arch/arm/v7/opdefs/.gen/arm_.adr.tmpl.c +src/arch/arm/v7/opdefs/.gen/smull_A88189.arm_.smull.c +src/arch/arm/v7/opdefs/.gen/strb_A88208.thumb_16_.strb.c +src/arch/arm/v7/opdefs/.gen/sub_A88223.arm_.sub.c +src/arch/arm/v7/opdefs/.gen/arm_.umull.tmpl.c +src/arch/arm/v7/opdefs/.gen/uxtb_A88274.arm_.uxtb.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.movt.tmpl.c +src/arch/arm/v7/opdefs/.gen/blx_A8826.arm_.blx.c +src/arch/arm/v7/opdefs/.gen/adc_A882.arm_.adc.c +src/arch/arm/v7/opdefs/.gen/cmn_A8835.thumb_16_.cmn.c +src/arch/arm/v7/opdefs/.gen/strb_A88206.thumb_32_.strb.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.adc.tmpl.c +src/arch/arm/v7/opdefs/.gen/bic_A8822.arm_.bic.c +src/arch/arm/v7/opdefs/.gen/teq_A88237.thumb_32_.teq.c +src/arch/arm/v7/opdefs/.gen/sub_A88225.thumb_32_.sub.c +src/arch/arm/v7/opdefs/.gen/ldrb_A8868.arm_.ldrb.c +src/arch/arm/v7/opdefs/.gen/tst_A88241.thumb_16_.tst.c +src/arch/arm/v7/opdefs/.gen/push_A88133.thumb_32_.push.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.bx.tmpl.c +src/arch/arm/v7/opdefs/.gen/orr_A88123.thumb_16_.orr.c +src/arch/arm/v7/opdefs/.gen/ldr_A8864.thumb_16_.ldr.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.mla.tmpl.c +src/arch/arm/v7/opdefs/.gen/ldr_A8865.thumb_32_.ldr.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.pop.tmpl.c +src/arch/arm/v7/opdefs/.gen/mov_A88103.thumb_32_.mov.c +src/arch/arm/v7/opdefs/.gen/ldr_A8865.thumb_16_.ldr.c +src/arch/arm/v7/opdefs/.gen/sbc_A88161.arm_.sbc.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.cmn.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.rsb.tmpl.c +src/arch/arm/v7/opdefs/.gen/cmp_A8838.thumb_16_.cmp.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.smull.tmpl.c +src/arch/arm/v7/opdefs/.gen/push_A88133.arm_.push.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.lsr.tmpl.c +src/arch/arm/v7/opdefs/.gen/sub_A88223.thumb_32_.sub.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.mov.tmpl.c +src/arch/arm/v7/opdefs/.gen/rsb_A88153.thumb_32_.rsb.c +src/arch/arm/v7/opdefs/.gen/push_A88133.thumb_16_.push.c +src/arch/arm/v7/opdefs/.gen/sbc_A88162.arm_.sbc.c +src/arch/arm/v7/opdefs/.gen/lsr_A8896.thumb_16_.lsr.c +src/arch/arm/v7/opdefs/.gen/arm_.asr.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.umaal.tmpl.c +src/arch/arm/v7/opdefs/.gen/and_A8814.arm_.and.c +src/arch/arm/v7/opdefs/.gen/asr_A8816.thumb_16_.asr.c +src/arch/arm/v7/opdefs/.gen/add_A885.arm_.add.c +src/arch/arm/v7/opdefs/.gen/arm_.mla.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.sub.tmpl.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.pop.tmpl.c +src/arch/arm/v7/opdefs/.gen/rsb_A88153.arm_.rsb.c +src/arch/arm/v7/opdefs/.gen/adc_A881.thumb_32_.adc.c +src/arch/arm/v7/opdefs/.gen/uxtb_A88274.thumb_32_.uxtb.c +src/arch/arm/v7/opdefs/.gen/arm_.umlal.tmpl.c +src/arch/arm/v7/opdefs/.gen/bx_A8827.thumb_16_.bx.c +src/arch/arm/v7/opdefs/.gen/cmn_A8834.thumb_32_.cmn.c +src/arch/arm/v7/opdefs/.gen/arm_.smlal.tmpl.c +src/arch/arm/v7/opdefs/.gen/smlal_A88178.arm_.smlal.c +src/arch/arm/v7/opdefs/.gen/arm_.subs.tmpl.c +src/arch/arm/v7/opdefs/.gen/orr_A88122.thumb_32_.orr.c +src/arch/arm/v7/opdefs/.gen/thumb_16_.mvn.tmpl.c +src/arch/arm/v7/opdefs/.gen/arm_.strb.tmpl.c +src/arch/arm/v7/opdefs/.gen/b_A8818.arm_.b.c +src/arch/arm/v7/opdefs/.gen/thumb_32_.str.tmpl.c +src/arch/arm/v7/opdefs/.gen/add_A886.thumb_16_.add.c src/arch/arm/v7/thumb_32.c src/arch/arm/v7/arm.c src/arch/arm/context.c @@ -210,11 +604,13 @@ src/gui/menus/edition.c src/gui/menus/view.c src/gui/menus/menubar.c src/gui/menus/file.c +src/gui/menus/plugins.c src/gui/menus/project.c src/glibext/gbuffersegment.c src/glibext/signal.c src/glibext/gbinportion.c src/glibext/gcodebuffer.c +src/glibext/chrysamarshal.c src/glibext/delayed.c src/glibext/gbincontent.c src/glibext/gbufferline.c @@ -272,9 +668,11 @@ src/format/dwarf/info.c src/format/dwarf/d_dwarf.c src/format/mangling/context.c src/format/mangling/demangler.c +src/format/mangling/libjavamangling_la-java_gram.c src/format/mangling/itanium/abi.c src/format/mangling/itanium/context.c src/format/mangling/itanium/component.c +src/format/mangling/libjavamangling_la-java_tok.c src/format/executable.c src/format/dbg_format.c src/format/pe/pe.c @@ -351,7 +749,6 @@ src/dialogs/shellcode.c src/dialogs/bookmark.c src/dialogs/plugins.c src/gtkext/gtkdockstation.c -src/gtkext/gtklinkrenderer.c src/gtkext/theme.c src/gtkext/easygtk.c src/gtkext/gtksourceview.c diff --git a/po/fr.po b/po/fr.po index dd7878f..728404d 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: 2014-11-15 01:44+0100\n" +"POT-Creation-Date: 2015-07-13 00:24+0200\n" "PO-Revision-Date: 2010-11-04 16:11+0100\n" "Last-Translator: cyrille \n" "Language-Team: French\n" @@ -17,1742 +17,1126 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: src/analysis/binaries/file.c:171 +#: src/plugins/plugin.c:177 #, c-format -msgid "Opening '%s' file..." -msgstr "" - -#: src/analysis/binaries/file.c:215 -msgid "Unknown binary format" -msgstr "" - -#: src/analysis/binaries/file.c:222 -msgid "Detected architecture: ARM" -msgstr "" - -#: src/analysis/binaries/file.c:225 -msgid "Detected architecture: Dalvik Virtual Machine" -msgstr "" - -#: src/analysis/binaries/file.c:228 -msgid "Detected architecture: Java Virtual Machine" -msgstr "" - -#: src/analysis/binaries/file.c:231 -msgid "" -"Detected architecture: Microprocessor without Interlocked Pipeline Stages" -msgstr "" - -#: src/analysis/binaries/file.c:234 -msgid "Detected architecture: i386" -msgstr "" - -#: src/analysis/binaries/file.c:237 -msgid "Unknown architecture" -msgstr "" - -#: src/analysis/db/client.c:268 -#, c-format -msgid "The server '%s:%hu' did not welcome us!" -msgstr "" - -#: src/analysis/db/client.c:280 -#, fuzzy, c-format -msgid "Connected to the server '%s:%hu'!" -msgstr "Connecté à %s:%hd." - -#: src/analysis/db/client.c:284 -#, c-format -msgid "The server '%s:%hu' does not use our protocol version (0x%08x)..." -msgstr "" - -#: src/analysis/db/client.c:290 -#, c-format -msgid "The server '%s:%hu' uses an unknown protocol..." -msgstr "" - -#: src/analysis/db/client.c:299 -#, c-format -msgid "Failed to start a listening thread for the server '%s:%hu'!" -msgstr "" - -#: src/analysis/db/client.c:373 -#, c-format -msgid "Archive saved for binary '%s'" -msgstr "" - -#: src/analysis/db/client.c:376 -#, c-format -msgid "Failed to save the archive for binary '%s'" -msgstr "" - -#: src/analysis/db/server.c:315 -#, c-format -msgid "The client from '%s:%hu' did not introduce itself!" -msgstr "" - -#: src/analysis/db/server.c:325 -#, c-format -msgid "" -"The client from '%s:%hu' does not use the same protocol: 0x%08x vs 0x%08x..." -msgstr "" - -#: src/analysis/db/server.c:333 -#, fuzzy, c-format -msgid "Error while getting the binary hash from '%s:%hu'..." -msgstr "Erreur lors de la connexion au serveur JDWP sur %s:%s." - -#: src/analysis/db/server.c:340 -#, fuzzy, c-format -msgid "Error while getting the user name from '%s:%hu'..." -msgstr "Erreur lors de la connexion au serveur JDWP sur %s:%s." - -#: src/analysis/db/server.c:481 -#, c-format -msgid "Server started and listening at %s:%hu" -msgstr "" - -#: src/analysis/decomp/decompiler.c:81 -msgid "Binary data decompiled by Chrysalide" -msgstr "Données binaires décompilées par Chrysalide" - -#: src/analysis/decomp/decompiler.c:85 -msgid "Chrysalide is free software - © 2008-2012 Cyrille Bagard" -msgstr "Chrysalide est un Logiciel Libre - © 2008-2012 Cyrille Bagard" - -#: src/analysis/decomp/decompiler.c:94 -msgid "whole binary" -msgstr "" - -#: src/analysis/decomp/decompiler.c:96 src/analysis/decomp/decompiler.c:99 -#: src/analysis/disass/disassembler.c:504 -#: src/analysis/disass/disassembler.c:507 src/dialogs/export.c:311 -msgid "File: " -msgstr "Fichier: " - -#: src/analysis/disass/disassembler.c:232 -#: src/analysis/disass/disassembler.c:357 -msgid "Disassembling..." -msgstr "" - -#: src/analysis/disass/disassembler.c:286 -#: src/analysis/disass/disassembler.c:440 -msgid "Printing disassembled code..." -msgstr "" - -#: src/analysis/disass/disassembler.c:376 -#, c-format -msgid "Disassembled instructions : %u %% (%u / %d)" -msgstr "" - -#: src/analysis/disass/disassembler.c:386 -msgid "Establishing links..." -msgstr "" - -#: src/analysis/disass/disassembler.c:396 -msgid "Finding remaining limits..." -msgstr "" - -#: src/analysis/disass/disassembler.c:408 -msgid "Detecting loops..." -msgstr "" - -#: src/analysis/disass/disassembler.c:416 -msgid "Grouping routines instructions..." -msgstr "" - -#: src/analysis/disass/disassembler.c:428 -msgid "Ranking each instructions block..." -msgstr "" - -#: src/analysis/disass/disassembler.c:492 -msgid "Disassembly generated by Chrysalide" -msgstr "Désassemblage généré par Chrysalide" - -#: src/analysis/disass/disassembler.c:496 -#, fuzzy -msgid "Chrysalide is free software - © 2008-2014 Cyrille Bagard" -msgstr "Chrysalide est un Logiciel Libre - © 2008-2012 Cyrille Bagard" - -#: src/analysis/disass/disassembler.c:521 -#: src/analysis/disass/disassembler.c:524 -msgid "Sha256: " -msgstr "" - -#: src/arch/dalvik/operands/pool.c:207 src/arch/dalvik/operands/pool.c:209 -#, c-format -msgid "" -msgstr "" - -#: src/arch/dalvik/operands/pool.c:234 src/arch/dalvik/operands/pool.c:236 -#, c-format -msgid "" -msgstr "" - -#: src/arch/dalvik/operands/pool.c:265 src/arch/dalvik/operands/pool.c:267 -#, c-format -msgid "" -msgstr "" - -#: src/arch/dalvik/operands/pool.c:292 src/arch/dalvik/operands/pool.c:294 -#, c-format -msgid "" -msgstr "" - -#: src/debug/jdwp/debugger.c:213 -#, c-format -msgid "The debugger is '%s' (JRE %d.%d; VM %s)." -msgstr "Le débogueur est '%s' (JRE %d.%d ; VM %s)." - -#: src/debug/jdwp/tcp.c:191 -#, 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:197 -#, c-format -msgid "Connected to %s:%hd." -msgstr "Connecté à %s:%hd." - -#: src/debug/jdwp/tcp.c:215 -msgid "Failure in the first JDWP handshake." -msgstr "Echec des premiers échanges JDWP." - -#: src/dialogs/about.c:75 src/gui/menus/help.c:66 -msgid "About" -msgstr "A propos" - -#: src/dialogs/binparts.c:138 -msgid "Content to display" -msgstr "" - -#: src/dialogs/binparts.c:160 -msgid "Model :" -msgstr "" - -#: src/dialogs/binparts.c:210 -msgid "Active" -msgstr "" - -#: src/dialogs/binparts.c:215 src/gui/panels/symbols.c:344 -msgid "Name" -msgstr "" - -#: src/dialogs/binparts.c:220 src/gui/menus/debug.c:69 -#: src/gui/menus/debug.c:108 src/gui/menus/debug.c:123 -msgid "Start" -msgstr "Démarrer" - -#: src/dialogs/binparts.c:224 -msgid "End" -msgstr "" - -#: src/dialogs/binparts.c:282 -msgid "Default" -msgstr "" - -#: src/dialogs/binparts.c:283 -msgid "Routines" -msgstr "" - -#: src/dialogs/binparts.c:284 -msgid "User" -msgstr "" - -#: src/dialogs/export.c:114 -msgid "Export assistant" -msgstr "Assistant d'exportation" - -#: src/dialogs/export.c:213 -msgid "Exporting binary lines..." -msgstr "Exportation des lignes binaires..." - -#: src/dialogs/export.c:295 -msgid "Format: " -msgstr "Format : " - -#: src/dialogs/export.c:301 src/dialogs/shellcode.c:607 -msgid "Simple text" -msgstr "Texte simple" - -#: src/dialogs/export.c:323 src/dialogs/shellcode.c:629 -msgid "Output" -msgstr "Sortie" - -#: src/dialogs/export.c:389 src/dialogs/shellcode.c:695 -msgid "Choose an output filename" -msgstr "Choisir un fichier de sortie" - -#: src/dialogs/export.c:448 src/dialogs/shellcode.c:777 -msgid "Items to display" -msgstr "Eléments à afficher" - -#: src/dialogs/export.c:455 src/dialogs/shellcode.c:784 -#: src/gui/menus/view.c:103 src/gui/panels/bookmarks.c:306 -msgid "Virtual address" -msgstr "Adresse virtuelle" - -#: src/dialogs/export.c:459 src/dialogs/shellcode.c:788 -#: src/gui/menus/view.c:108 -msgid "Binary code" -msgstr "Code binaire" - -#: src/dialogs/export.c:463 src/dialogs/shellcode.c:792 -msgid "Assembly code" -msgstr "Code d'assembleur" - -#: src/dialogs/export.c:470 src/dialogs/shellcode.c:799 -msgid "Exported content" -msgstr "Contenu exporté" - -#: src/dialogs/goto.c:157 -#, fuzzy -msgid "Go to address" -msgstr "Adresse virtuelle" - -#: src/dialogs/goto.c:172 -msgid "Enter the value of the target address:" -msgstr "" - -#: src/dialogs/goto.c:197 -msgid "Address is physical" -msgstr "" - -#: src/dialogs/goto.c:201 -msgid "Address is virtual" -msgstr "" - -#: src/dialogs/plugins.c:106 -msgid "Plugins selection" -msgstr "" - -#: src/dialogs/plugins.c:210 -msgid "Author:" -msgstr "" - -#: src/dialogs/plugins.c:215 -msgid "label8" -msgstr "" - -#: src/dialogs/plugins.c:219 -msgid "Version:" -msgstr "" - -#: src/dialogs/plugins.c:224 -msgid "label9" -msgstr "" - -#: src/dialogs/plugins.c:228 -msgid "URL:" -msgstr "" - -#: src/dialogs/plugins.c:233 -msgid "label10" -msgstr "" - -#: src/dialogs/plugins.c:247 -msgid "label12" -msgstr "" - -#: src/dialogs/plugins.c:252 -msgid "Action" -msgstr "" - -#: src/dialogs/plugins.c:257 -msgid "Details:" -msgstr "" - -#: src/dialogs/plugins.c:288 -msgid "Apply" -msgstr "" - -#: src/dialogs/plugins.c:308 -msgid "Cancel" -msgstr "" - -#: src/dialogs/shellcode.c:131 -msgid "Shellcode assistant" -msgstr "" - -#: src/dialogs/shellcode.c:262 -msgid "" -"Paste here the raw C code containing the shellcode.\r\n" -"All content between quotes will be extracted." -msgstr "" - -#: src/dialogs/shellcode.c:279 src/dialogs/shellcode.c:461 -msgid "No code" -msgstr "" - -#: src/dialogs/shellcode.c:286 src/dialogs/shellcode.c:767 -msgid "Code" -msgstr "Code" - -#: src/dialogs/shellcode.c:448 -msgid "Error while decoding" -msgstr "" - -#: src/dialogs/shellcode.c:452 -msgid "Decoding OK (" -msgstr "" - -#: src/dialogs/shellcode.c:454 -msgid "bytes" -msgstr "" - -#: src/dialogs/shellcode.c:454 -msgid "byte" -msgstr "" - -#: src/dialogs/shellcode.c:518 -msgid "Architecture:" -msgstr "" - -#: src/dialogs/shellcode.c:524 -msgid "x86" -msgstr "" - -#: src/dialogs/shellcode.c:530 -msgid "Register size:" -msgstr "" - -#: src/dialogs/shellcode.c:536 -msgid "32 bits" -msgstr "" - -#: src/dialogs/shellcode.c:537 -msgid "16 bits" -msgstr "" - -#: src/dialogs/shellcode.c:544 -msgid "Architecture" -msgstr "" - -#: src/dialogs/shellcode.c:601 -#, fuzzy -msgid "Format : " -msgstr "Format : " - -#: src/dialogs/shellcode.c:617 -#, fuzzy -msgid "File : " -msgstr "Fichier: " - -#: src/dialogs/shellcode.c:756 -#, fuzzy -msgid "Lines to process" -msgstr "Eléments à afficher" - -#: src/dialogs/shellcode.c:763 -msgid "Prologue" -msgstr "" - -#: src/dialogs/shellcode.c:771 src/dialogs/storage.c:549 -msgid "Comments" -msgstr "" - -#: src/dialogs/storage.c:139 -msgid "Features" -msgstr "" - -#: src/dialogs/storage.c:149 src/dialogs/storage.c:564 -msgid "Local storage" -msgstr "" - -#: src/dialogs/storage.c:151 src/dialogs/storage.c:567 -#: src/dialogs/storage.c:621 -msgid "Remote storage" -msgstr "" - -#: src/dialogs/storage.c:153 src/dialogs/storage.c:570 -#: src/dialogs/storage.c:623 -msgid "Local storage with remote access" -msgstr "" - -#: src/dialogs/storage.c:160 src/dialogs/storage.c:201 -msgid "Storage" -msgstr "" - -#: src/dialogs/storage.c:222 -#, fuzzy -msgid "Identity" -msgstr "Eléments à afficher" - -#: src/dialogs/storage.c:229 -msgid "Username: " -msgstr "" - -#: src/dialogs/storage.c:237 -msgid "Server to contact" -msgstr "" - -#: src/dialogs/storage.c:245 -msgid "Use a remote server:" -msgstr "" - -#: src/dialogs/storage.c:254 -msgid "Host: " -msgstr "" - -#: src/dialogs/storage.c:261 -msgid "Port:" -msgstr "" - -#: src/dialogs/storage.c:552 -msgid "Segments display" -msgstr "" - -#: src/dialogs/storage.c:555 src/gui/panels/bookmarks.c:412 -msgid "Bookmarks" -msgstr "" - -#: src/editor.c:158 -msgid "Chrysalide" -msgstr "" - -#: src/editor.c:270 -msgid "The current project will be lost. Do you you want to save it ?" -msgstr "" - -#: src/format/dwarf/info.c:483 -msgid "[no name]" +msgid "Error while loading the plugin candidate '%s' : %s" msgstr "" -#: src/format/elf/elf.c:190 +#: src/plugins/plugin.c:188 #, c-format -msgid "" -"Corrupted program header size (%hu); fixed ! -- replacing 0x%04hx by 0x" -"%04hx at offset 0x%x" +msgid "No '%s' entry in plugin candidate '%s'" msgstr "" -#: src/format/elf/elf.c:199 +#: src/plugins/plugin.c:208 #, c-format -msgid "" -"Corrupted section header size (%hu); fixed ! -- replacing 0x%04hx by 0x" -"%04hx at offset 0x%x" -msgstr "" - -#: src/format/elf/elf.c:349 -msgid "Segment" -msgstr "" - -#: src/format/elf/elf.c:394 src/format/elf/elf.c:396 -#: src/gui/panels/symbols.c:358 -msgid "Section" -msgstr "" - -#: src/format/elf/symbols.c:137 -msgid "Binary is dynamically linked" -msgstr "" - -#: src/format/elf/symbols.c:144 -msgid "Binary is statically linked" -msgstr "" - -#: src/format/elf/symbols.c:238 -msgid "ELF magic number" -msgstr "" - -#: src/format/elf/symbols.c:245 -msgid "File class: invalid" -msgstr "" - -#: src/format/elf/symbols.c:248 -msgid "File class: 32-bit objects" -msgstr "" - -#: src/format/elf/symbols.c:251 -msgid "File class: 64-bit objects" -msgstr "" - -#: src/format/elf/symbols.c:254 -msgid "File class: unknown" -msgstr "" - -#: src/format/elf/symbols.c:269 -msgid "Data encoding: invalid" -msgstr "" - -#: src/format/elf/symbols.c:272 -msgid "Data encoding: 2's complement, little endian" -msgstr "" - -#: src/format/elf/symbols.c:275 -msgid "Data encoding: 2's complement, big endian" -msgstr "" - -#: src/format/elf/symbols.c:278 -msgid "Data encoding: unknown" -msgstr "" - -#: src/format/elf/symbols.c:293 -msgid "File version: invalid" -msgstr "" - -#: src/format/elf/symbols.c:296 -msgid "File version: current" -msgstr "" - -#: src/format/elf/symbols.c:299 -msgid "File version: unknown" -msgstr "" - -#: src/format/elf/symbols.c:314 -msgid "OS ABI: UNIX System V" -msgstr "" - -#: src/format/elf/symbols.c:317 -msgid "OS ABI: HP-UX" -msgstr "" - -#: src/format/elf/symbols.c:320 -msgid "OS ABI: NetBSD" -msgstr "" - -#: src/format/elf/symbols.c:323 -msgid "OS ABI: object uses GNU ELF extensions" -msgstr "" - -#: src/format/elf/symbols.c:326 -msgid "OS ABI: Sun Solaris" -msgstr "" - -#: src/format/elf/symbols.c:329 -msgid "OS ABI: IBM AIX" -msgstr "" - -#: src/format/elf/symbols.c:332 -msgid "OS ABI: SGI Irix" -msgstr "" - -#: src/format/elf/symbols.c:335 -msgid "OS ABI: FreeBSD" -msgstr "" - -#: src/format/elf/symbols.c:338 -msgid "OS ABI: Compaq TRU64 UNIX" -msgstr "" - -#: src/format/elf/symbols.c:341 -msgid "OS ABI: Novell Modesto" -msgstr "" - -#: src/format/elf/symbols.c:344 -msgid "OS ABI: OpenBSD" -msgstr "" - -#: src/format/elf/symbols.c:347 -msgid "OS ABI: ARM EABI" -msgstr "" - -#: src/format/elf/symbols.c:350 -msgid "OS ABI: ARM" -msgstr "" - -#: src/format/elf/symbols.c:353 -msgid "OS ABI: standalone (embedded) application" -msgstr "" - -#: src/format/elf/symbols.c:356 -msgid "OS ABI: unknown" -msgstr "" - -#: src/format/elf/symbols.c:372 -msgid "ABI version" -msgstr "" - -#: src/format/elf/symbols.c:380 -msgid "Padding" -msgstr "" - -#: src/format/elf/symbols.c:387 -msgid "Object file type: no file type" -msgstr "" - -#: src/format/elf/symbols.c:390 -msgid "Object file type: relocatable file" -msgstr "" - -#: src/format/elf/symbols.c:393 -msgid "Object file type: executable file" -msgstr "" - -#: src/format/elf/symbols.c:396 -msgid "Object file type: shared object file" -msgstr "" - -#: src/format/elf/symbols.c:399 -msgid "Object file type: core file" -msgstr "" - -#: src/format/elf/symbols.c:402 -msgid "Object file type: OS-specific" -msgstr "" - -#: src/format/elf/symbols.c:405 -msgid "Object file type: processor-specific" -msgstr "" - -#: src/format/elf/symbols.c:408 -msgid "Object file type: unkown" +msgid "Bad version... '%s'" msgstr "" -#: src/format/elf/symbols.c:422 -msgid "Architecture: No machine" +#: src/plugins/plugin.c:245 src/plugins/plugin.c:285 +#, c-format +msgid "Unknown sub-category '0x%02x' in plugin '%s'..." msgstr "" -#: src/format/elf/symbols.c:423 -msgid "Architecture: AT&T WE 32100" +#: src/plugins/plugin.c:269 +#, c-format +msgid "Unknown action '0x%02x' in plugin '%s'..." msgstr "" -#: src/format/elf/symbols.c:424 -msgid "Architecture: SUN SPARC" +#: src/plugins/plugin.c:294 +#, c-format +msgid "Unknown category '0x%02x' in plugin '%s'..." msgstr "" -#: src/format/elf/symbols.c:425 -msgid "Architecture: Intel 80386" +#: src/plugins/plugin.c:311 +#, c-format +msgid "Plugin '%s' failed to load itself..." msgstr "" -#: src/format/elf/symbols.c:426 -msgid "Architecture: Motorola m68k family" +#: src/plugins/plugin.c:316 +#, c-format +msgid "Loaded the '%s' from the '%s' directory" msgstr "" -#: src/format/elf/symbols.c:427 -msgid "Architecture: Motorola m88k family" +#: src/arch/dalvik/operands/pool.c:260 src/arch/dalvik/operands/pool.c:262 +#, c-format +msgid "" msgstr "" -#: src/format/elf/symbols.c:428 -msgid "Architecture: Intel 80860" +#: src/arch/dalvik/operands/pool.c:287 src/arch/dalvik/operands/pool.c:289 +#, c-format +msgid "" msgstr "" -#: src/format/elf/symbols.c:429 -msgid "Architecture: MIPS R3000 big-endian" +#: src/arch/dalvik/operands/pool.c:318 src/arch/dalvik/operands/pool.c:320 +#, c-format +msgid "" msgstr "" -#: src/format/elf/symbols.c:430 -msgid "Architecture: IBM System/370" +#: src/arch/dalvik/operands/pool.c:345 src/arch/dalvik/operands/pool.c:347 +#, c-format +msgid "" msgstr "" -#: src/format/elf/symbols.c:431 -msgid "Architecture: MIPS R3000 little-endian" +#: src/arch/arm/v7/fetch.c:464 src/arch/arm/v7/fetch.c:469 +#, c-format +msgid "Value used @ %s" msgstr "" -#: src/format/elf/symbols.c:432 -msgid "Architecture: HPPA" +#: src/arch/vmpa.c:387 src/arch/vmpa.c:442 +#, c-format +msgid "(none)" msgstr "" -#: src/format/elf/symbols.c:433 -msgid "Architecture: Fujitsu VPP500" +#: src/gui/tb/source.c:140 +msgid " Source: " msgstr "" -#: src/format/elf/symbols.c:434 -msgid "Architecture: Sun's \"v8plus\"" +#: src/gui/tb/source.c:206 +msgid "Source files" msgstr "" -#: src/format/elf/symbols.c:435 -msgid "Architecture: Intel 80960" +#: src/gui/tb/portions.c:198 +msgid "Portions" msgstr "" -#: src/format/elf/symbols.c:436 -msgid "Architecture: PowerPC" +#: src/gui/panels/regedit.c:229 src/gui/panels/strings.c:232 +#: src/gui/panels/bookmarks.c:256 +msgid "Look for:" msgstr "" -#: src/format/elf/symbols.c:437 -msgid "Architecture: PowerPC 64-bit" +#: src/gui/panels/regedit.c:268 +msgid "Access path" msgstr "" -#: src/format/elf/symbols.c:438 -msgid "Architecture: IBM S390" +#: src/gui/panels/regedit.c:276 +msgid "Status" msgstr "" -#: src/format/elf/symbols.c:439 -msgid "Architecture: NEC V800 series" +#: src/gui/panels/regedit.c:284 +msgid "Type" msgstr "" -#: src/format/elf/symbols.c:440 -msgid "Architecture: Fujitsu FR20" +#: src/gui/panels/regedit.c:294 src/gui/panels/strings.c:296 +msgid "Value" msgstr "" -#: src/format/elf/symbols.c:441 -msgid "Architecture: TRW RH-32" +#: src/gui/panels/regedit.c:389 +msgid "Configuration parameters" msgstr "" -#: src/format/elf/symbols.c:442 -msgid "Architecture: Motorola RCE" +#: src/gui/panels/regedit.c:469 +msgid "Boolean" msgstr "" -#: src/format/elf/symbols.c:443 -msgid "Architecture: ARM" +#: src/gui/panels/regedit.c:473 +msgid "Integer" msgstr "" -#: src/format/elf/symbols.c:444 -msgid "Architecture: Digital Alpha" +#: src/gui/panels/regedit.c:477 src/panels/breaks.c:209 +#: src/panels/strings.c:91 +msgid "String" msgstr "" -#: src/format/elf/symbols.c:445 -msgid "Architecture: Hitachi SH" +#: src/gui/panels/regedit.c:481 +msgid "" msgstr "" -#: src/format/elf/symbols.c:446 -msgid "Architecture: SPARC v9 64-bit" +#: src/gui/panels/regedit.c:573 src/gui/panels/bookmarks.c:728 +msgid "By default" msgstr "" -#: src/format/elf/symbols.c:447 -msgid "Architecture: Siemens Tricore" +#: src/gui/panels/regedit.c:575 src/gui/panels/bookmarks.c:730 +msgid "Changed" msgstr "" -#: src/format/elf/symbols.c:448 -msgid "Architecture: Argonaut RISC Core" +#: src/gui/panels/regedit.c:578 src/gui/panels/bookmarks.c:733 +msgid " + empty" msgstr "" -#: src/format/elf/symbols.c:449 -msgid "Architecture: Hitachi H8/300" +#: src/gui/panels/regedit.c:588 src/gui/panels/bookmarks.c:743 +msgid "true" msgstr "" -#: src/format/elf/symbols.c:450 -msgid "Architecture: Hitachi H8/300H" +#: src/gui/panels/regedit.c:588 src/gui/panels/bookmarks.c:743 +msgid "false" msgstr "" -#: src/format/elf/symbols.c:451 -msgid "Architecture: Hitachi H8S" +#: src/gui/panels/regedit.c:933 +msgid "Copy the name" msgstr "" -#: src/format/elf/symbols.c:452 -msgid "Architecture: Hitachi H8/500" +#: src/gui/panels/regedit.c:939 +msgid "Make empty" msgstr "" -#: src/format/elf/symbols.c:453 -msgid "Architecture: Intel Merced" +#: src/gui/panels/regedit.c:942 +msgid "Reset" msgstr "" -#: src/format/elf/symbols.c:454 -msgid "Architecture: Stanford MIPS-X" +#: src/gui/panels/symbols.c:263 +msgid "List" msgstr "" -#: src/format/elf/symbols.c:455 -msgid "Architecture: Motorola Coldfire" +#: src/gui/panels/symbols.c:266 +msgid "Show symbols using a list view" msgstr "" -#: src/format/elf/symbols.c:456 -msgid "Architecture: Motorola M68HC12" +#: src/gui/panels/symbols.c:269 +msgid "Tree" msgstr "" -#: src/format/elf/symbols.c:457 -msgid "Architecture: Fujitsu MMA Multimedia Accelerator" +#: src/gui/panels/symbols.c:272 +msgid "Show symbols using a tree view" msgstr "" -#: src/format/elf/symbols.c:458 -msgid "Architecture: Siemens PCP" +#: src/gui/panels/symbols.c:279 +msgid "Collapse" msgstr "" -#: src/format/elf/symbols.c:459 -msgid "Architecture: Sony nCPU embeeded RISC" +#: src/gui/panels/symbols.c:282 +msgid "Collapse all symbol nodes in the tree view" msgstr "" -#: src/format/elf/symbols.c:460 -msgid "Architecture: Denso NDR1 microprocessor" +#: src/gui/panels/symbols.c:285 +msgid "Expand" msgstr "" -#: src/format/elf/symbols.c:461 -msgid "Architecture: Motorola Start*Core processor" +#: src/gui/panels/symbols.c:288 +msgid "Expand all symbol nodes in the tree view" msgstr "" -#: src/format/elf/symbols.c:462 -msgid "Architecture: Toyota ME16 processor" +#: src/gui/panels/symbols.c:291 +msgid "Classes" msgstr "" -#: src/format/elf/symbols.c:463 -msgid "Architecture: STMicroelectronic ST100 processor" +#: src/gui/panels/symbols.c:294 +msgid "Show all classes in the tree view" msgstr "" -#: src/format/elf/symbols.c:464 -msgid "Architecture: Advanced Logic Corp. Tinyj emb.fam" +#: src/gui/panels/symbols.c:303 +msgid "Filter symbols using POSIX extended regular expressions" msgstr "" -#: src/format/elf/symbols.c:465 -msgid "Architecture: AMD x86-64 architecture" +#: src/gui/panels/symbols.c:343 src/gui/panels/strings.c:289 +#: src/dialogs/gotox.c:161 +msgid "Name" msgstr "" -#: src/format/elf/symbols.c:466 -msgid "Architecture: Sony DSP Processor" +#: src/gui/panels/symbols.c:350 src/panels/breaks.c:189 +#: src/panels/strings.c:87 src/dialogs/gotox.c:153 +msgid "Address" msgstr "" -#: src/format/elf/symbols.c:467 -msgid "Architecture: Siemens FX66 microcontroller" +#: src/gui/panels/symbols.c:357 src/format/elf/elf.c:424 +#: src/format/elf/elf.c:426 +msgid "Section" msgstr "" -#: src/format/elf/symbols.c:468 -msgid "Architecture: STMicroelectronics ST9+ 8/16 mc" -msgstr "" +#: src/gui/panels/symbols.c:438 +#, fuzzy +msgid "Binary symbols" +msgstr "Code binaire" -#: src/format/elf/symbols.c:469 -msgid "Architecture: STmicroelectronics ST7 8 bit mc" +#: src/gui/panels/glance.c:180 src/gui/panels/glance.c:264 +msgid "Glance" msgstr "" -#: src/format/elf/symbols.c:470 -msgid "Architecture: Motorola MC68HC16 microcontroller" +#: src/gui/panels/welcome.c:143 +msgid "Welcome" msgstr "" -#: src/format/elf/symbols.c:471 -msgid "Architecture: Motorola MC68HC11 microcontroller" -msgstr "" +#: src/gui/panels/strings.c:273 src/gui/panels/bookmarks.c:301 +#, fuzzy +msgid "Physical address" +msgstr "Adresse virtuelle" -#: src/format/elf/symbols.c:472 -msgid "Architecture: Motorola MC68HC08 microcontroller" -msgstr "" +#: src/gui/panels/strings.c:280 src/gui/panels/bookmarks.c:308 +#: src/gui/menus/view.c:103 src/dialogs/export.c:639 +#: src/dialogs/shellcode.c:784 +msgid "Virtual address" +msgstr "Adresse virtuelle" -#: src/format/elf/symbols.c:473 -msgid "Architecture: Motorola MC68HC05 microcontroller" +#: src/gui/panels/strings.c:397 +msgid "Strings" msgstr "" -#: src/format/elf/symbols.c:474 -msgid "Architecture: Silicon Graphics SVx" +#: src/gui/panels/strings.c:887 +msgid "_Edit name" msgstr "" -#: src/format/elf/symbols.c:475 -msgid "Architecture: STMicroelectronics ST19 8 bit mc" +#: src/gui/panels/strings.c:890 +msgid "_Copy to clipboard" msgstr "" -#: src/format/elf/symbols.c:476 -msgid "Architecture: Digital VAX" +#: src/gui/panels/strings.c:894 +msgid "_Find references..." msgstr "" -#: src/format/elf/symbols.c:477 -msgid "Architecture: Axis Communications 32-bit embedded processor" +#: src/gui/panels/strings.c:901 src/gui/panels/bookmarks.c:1113 +msgid "Filter..." msgstr "" -#: src/format/elf/symbols.c:478 -msgid "Architecture: Infineon Technologies 32-bit embedded processor" +#: src/gui/panels/log.c:95 +msgid "Misc information" msgstr "" -#: src/format/elf/symbols.c:479 -msgid "Architecture: Element 14 64-bit DSP Processor" +#: src/gui/panels/bookmarks.c:317 +msgid "Comment" msgstr "" -#: src/format/elf/symbols.c:480 -msgid "Architecture: LSI Logic 16-bit DSP Processor" +#: src/gui/panels/bookmarks.c:414 src/gui/menus/edition.c:103 +#: src/dialogs/storage.c:544 +msgid "Bookmarks" msgstr "" -#: src/format/elf/symbols.c:481 -msgid "Architecture: Donald Knuth's educational 64-bit processor" +#: src/gui/panels/bookmarks.c:1104 +msgid "Edit" msgstr "" -#: src/format/elf/symbols.c:482 -msgid "Architecture: Harvard University machine-independent object files" +#: src/gui/panels/bookmarks.c:1107 +msgid "Delete" msgstr "" -#: src/format/elf/symbols.c:483 -msgid "Architecture: SiTera Prism" +#: src/gui/status.c:306 +msgid "Location phys:" msgstr "" -#: src/format/elf/symbols.c:484 -msgid "Architecture: Atmel AVR 8-bit microcontroller" +#: src/gui/status.c:329 src/gui/status.c:415 +msgid " at " msgstr "" -#: src/format/elf/symbols.c:485 -msgid "Architecture: Fujitsu FR30" +#: src/gui/status.c:331 src/gui/status.c:417 +msgid "+" msgstr "" -#: src/format/elf/symbols.c:486 -msgid "Architecture: Mitsubishi D10V" +#: src/gui/status.c:395 +msgid "Localisation:" msgstr "" -#: src/format/elf/symbols.c:487 -msgid "Architecture: Mitsubishi D30V" +#: src/gui/status.c:436 +msgid " (" msgstr "" -#: src/format/elf/symbols.c:488 -msgid "Architecture: NEC v850" +#: src/gui/status.c:447 +msgid ")" msgstr "" -#: src/format/elf/symbols.c:489 -msgid "Architecture: Mitsubishi M32R" -msgstr "" +#: src/gui/menus/binary.c:70 +msgid "_Binary" +msgstr "_Binaire" -#: src/format/elf/symbols.c:490 -msgid "Architecture: Matsushita MN10300" -msgstr "" +#: src/gui/menus/binary.c:76 +#, fuzzy +msgid "Entry points" +msgstr "Adresse virtuelle" -#: src/format/elf/symbols.c:491 -msgid "Architecture: Matsushita MN10200" +#: src/gui/menus/binary.c:84 +msgid "Storage..." msgstr "" -#: src/format/elf/symbols.c:492 -msgid "Architecture: picoJava" -msgstr "" +#: src/gui/menus/binary.c:88 +msgid "Export..." +msgstr "Exportation..." -#: src/format/elf/symbols.c:493 -msgid "Architecture: OpenRISC 32-bit embedded processor" -msgstr "" +#: src/gui/menus/debug.c:63 +msgid "_Debug" +msgstr "_Débogage" -#: src/format/elf/symbols.c:494 -msgid "Architecture: ARC Cores Tangent-A5" -msgstr "" +#: src/gui/menus/debug.c:69 src/gui/menus/debug.c:108 +#: src/gui/menus/debug.c:123 +msgid "Start" +msgstr "Démarrer" -#: src/format/elf/symbols.c:495 -msgid "Architecture: Tensilica Xtensa Architecture" -msgstr "" +#: src/gui/menus/debug.c:104 +msgid "No available debug module for this binary !" +msgstr "Pas de module de débogage disponible pour ce binaire !" -#: src/format/elf/symbols.c:496 -msgid "Architecture: ARM AARCH64" -msgstr "" +#: src/gui/menus/debug.c:112 +msgid "Failed to initialize the debugger." +msgstr "Echec de l'initialisation du débogueur." -#: src/format/elf/symbols.c:497 -msgid "Architecture: Tilera TILEPro" -msgstr "" +#: src/gui/menus/debug.c:116 +msgid "Stop" +msgstr "Arrêter" -#: src/format/elf/symbols.c:498 -msgid "Architecture: Xilinx MicroBlaze" -msgstr "" +#: src/gui/menus/help.c:60 +msgid "_Help" +msgstr "_Aide" -#: src/format/elf/symbols.c:499 -msgid "Architecture: Tilera TILE-Gx" -msgstr "" +#: src/gui/menus/help.c:66 src/dialogs/about.c:75 +msgid "About" +msgstr "A propos" -#: src/format/elf/symbols.c:500 -msgid "Architecture: unknown" +#: src/gui/menus/edition.c:76 +msgid "_Edition" msgstr "" -#: src/format/elf/symbols.c:515 -msgid "Object file version" +#: src/gui/menus/edition.c:82 +msgid "Go to address..." msgstr "" -#: src/format/elf/symbols.c:523 src/format/elf/symbols.c:545 -#, fuzzy -msgid "Entry point virtual address" -msgstr "Adresse virtuelle" - -#: src/format/elf/symbols.c:529 src/format/elf/symbols.c:551 -msgid "Program header table file offset" +#: src/gui/menus/edition.c:90 +msgid "Follow the reference" msgstr "" -#: src/format/elf/symbols.c:535 src/format/elf/symbols.c:557 -msgid "Section header table file offset" +#: src/gui/menus/edition.c:95 +msgid "List all references leading to..." msgstr "" -#: src/format/elf/symbols.c:569 -msgid "Processor-specific flags" +#: src/gui/menus/edition.c:109 +msgid "Toggle at current location" msgstr "" -#: src/format/elf/symbols.c:577 -msgid "ELF header size in bytes" +#: src/gui/menus/edition.c:374 +msgid "Location already bookmarked!" msgstr "" -#: src/format/elf/symbols.c:585 -msgid "Program header table entry size" +#: src/gui/menus/edition.c:375 +msgid "" +"A bookmark has been defined at the same location.\n" +"Do you want to replace it ?" msgstr "" -#: src/format/elf/symbols.c:593 -msgid "Program header table entry count" -msgstr "" +#: src/gui/menus/view.c:67 +msgid "_View" +msgstr "Affichage" -#: src/format/elf/symbols.c:601 -msgid "Section header table entry size" -msgstr "" +#: src/gui/menus/view.c:73 +msgid "Text view" +msgstr "Vue binaire" -#: src/format/elf/symbols.c:609 -msgid "Section header table entry count" -msgstr "" +#: src/gui/menus/view.c:81 +msgid "Graph view" +msgstr "Vue graphique" -#: src/format/elf/symbols.c:617 -msgid "Section header string table index" -msgstr "" +#: src/gui/menus/view.c:89 +msgid "Source code" +msgstr "Code source" -#: src/format/elf/symbols.c:675 -msgid "Segment type: unused" +#: src/gui/menus/view.c:98 src/dialogs/export.c:635 +msgid "Physical offset" msgstr "" -#: src/format/elf/symbols.c:678 -msgid "Segment type: loadable program segment" -msgstr "" +#: src/gui/menus/view.c:108 src/dialogs/export.c:643 +#: src/dialogs/shellcode.c:788 +msgid "Binary code" +msgstr "Code binaire" -#: src/format/elf/symbols.c:681 -msgid "Segment type: dynamic linking information" -msgstr "" +#: src/gui/menus/file.c:74 +msgid "_File" +msgstr "_Fichier" -#: src/format/elf/symbols.c:684 -msgid "Segment type: program interpreter" -msgstr "" +#: src/gui/menus/file.c:80 +msgid "New project" +msgstr "Nouveau projet" -#: src/format/elf/symbols.c:687 -msgid "Segment type: auxiliary information" -msgstr "" +#: src/gui/menus/file.c:88 +msgid "Open project" +msgstr "Ouvrir un projet" -#: src/format/elf/symbols.c:690 -msgid "Segment type: reserved" -msgstr "" +#: src/gui/menus/file.c:93 +msgid "Recent projects..." +msgstr "Projets récents..." -#: src/format/elf/symbols.c:693 -msgid "Segment type: entry for header table itself" -msgstr "" +#: src/gui/menus/file.c:109 +msgid "Save project" +msgstr "Enregistrer le projet" -#: src/format/elf/symbols.c:696 -msgid "Segment type: thread-local storage segment" -msgstr "" +#: src/gui/menus/file.c:114 +msgid "Save project as..." +msgstr "Enregistrer le projet sous..." -#: src/format/elf/symbols.c:703 -msgid "Segment type: GCC .eh_frame_hdr segment" -msgstr "" +#: src/gui/menus/file.c:121 +msgid "Quit" +msgstr "Quitter" -#: src/format/elf/symbols.c:706 -msgid "Segment type: indicates stack executability" -msgstr "" +#: src/gui/menus/file.c:175 +msgid "Open a project" +msgstr "Ouvrir un projet" -#: src/format/elf/symbols.c:709 -msgid "Segment type: read-only after relocation" +#: src/gui/menus/file.c:177 src/gui/menus/file.c:261 +#: src/gui/menus/project.c:278 src/dialogs/export.c:779 +#: src/dialogs/storage.c:280 src/dialogs/goto.c:205 src/dialogs/gotox.c:189 +#: src/dialogs/shellcode.c:697 src/dialogs/bookmark.c:221 src/editor.c:274 +msgid "_Cancel" msgstr "" -#: src/format/elf/symbols.c:715 -msgid "Segment type: Sun Stack segment" +#: src/gui/menus/file.c:178 src/gui/menus/project.c:279 +msgid "_Open" msgstr "" -#: src/format/elf/symbols.c:718 -msgid "Segment type: Sun specific segment" -msgstr "" +#: src/gui/menus/file.c:259 +msgid "Save the project as..." +msgstr "Enregistrer le projet sous..." -#: src/format/elf/symbols.c:723 -msgid "Segment type: OS-specific" +#: src/gui/menus/file.c:262 src/dialogs/export.c:780 +#: src/dialogs/shellcode.c:698 +msgid "_Save" msgstr "" -#: src/format/elf/symbols.c:729 -msgid "Segment type: processor-specific" +#: src/gui/menus/plugins.c:56 +msgid "_Plugins" msgstr "" -#: src/format/elf/symbols.c:733 -msgid "Segment type: unknown" +#: src/gui/menus/project.c:74 +msgid "_Project" msgstr "" -#: src/format/elf/symbols.c:749 src/format/elf/symbols.c:864 -msgid "Segment file offset" +#: src/gui/menus/project.c:80 +msgid "Add a binary..." msgstr "" -#: src/format/elf/symbols.c:755 src/format/elf/symbols.c:870 +#: src/gui/menus/project.c:86 #, fuzzy -msgid "Segment virtual address" -msgstr "Adresse virtuelle" +msgid "Shellcode" +msgstr "Code source" -#: src/format/elf/symbols.c:761 src/format/elf/symbols.c:876 -msgid "Segment physical address" -msgstr "" +#: src/gui/menus/project.c:90 +#, fuzzy +msgid "File" +msgstr "_Fichier" -#: src/format/elf/symbols.c:767 src/format/elf/symbols.c:882 -msgid "Segment size in file" +#: src/gui/menus/project.c:94 +msgid "Remove a binary" msgstr "" -#: src/format/elf/symbols.c:773 src/format/elf/symbols.c:888 -msgid "Segment size in memory" +#: src/gui/menus/project.c:209 src/gui/menus/project.c:275 +msgid "Open a binary file" msgstr "" -#: src/format/elf/symbols.c:777 src/format/elf/symbols.c:824 -msgid "Segment flags: " +#: src/glibext/gbinportion.c:743 +msgid "rights: " msgstr "" -#: src/format/elf/symbols.c:805 src/format/elf/symbols.c:852 -#: src/format/elf/symbols.c:1142 -msgid "none" +#: src/glibext/gbinportion.c:817 +msgid "Localisation" msgstr "" -#: src/format/elf/symbols.c:817 src/format/elf/symbols.c:894 -msgid "Segment alignment" +#: src/glibext/gbinportion.c:820 +msgid "physical: from " msgstr "" -#: src/format/elf/symbols.c:960 -msgid "Section name: " +#: src/glibext/gbinportion.c:823 src/glibext/gbinportion.c:832 +msgid " to " msgstr "" -#: src/format/elf/symbols.c:963 -msgid "Section name: '" +#: src/glibext/gbinportion.c:828 +msgid "memory: from " msgstr "" -#: src/format/elf/symbols.c:983 -msgid "Section type: unused" +#: src/glibext/gbinportion.c:841 +msgid "Rights" msgstr "" -#: src/format/elf/symbols.c:986 -msgid "Section type: program data" +#: src/panels/breaks.c:156 +msgid "Breakpoints" msgstr "" -#: src/format/elf/symbols.c:989 -msgid "Section type: symbol table" +#: src/panels/registers.c:101 +msgid "Registers:" msgstr "" -#: src/format/elf/symbols.c:992 -msgid "Section type: string table" +#: src/panels/registers.c:178 +msgid "Segments:" msgstr "" -#: src/format/elf/symbols.c:995 -msgid "Section type: relocation entries with addends" -msgstr "" +#: src/debug/jdwp/tcp.c:191 +#, 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/format/elf/symbols.c:998 -msgid "Section type: symbol hash table" -msgstr "" +#: src/debug/jdwp/tcp.c:197 +#, c-format +msgid "Connected to %s:%hd." +msgstr "Connecté à %s:%hd." -#: src/format/elf/symbols.c:1001 -msgid "Section type: dynamic linking information" -msgstr "" +#: src/debug/jdwp/tcp.c:215 +msgid "Failure in the first JDWP handshake." +msgstr "Echec des premiers échanges JDWP." -#: src/format/elf/symbols.c:1004 -msgid "Section type: notes" -msgstr "" +#: src/debug/jdwp/debugger.c:213 +#, c-format +msgid "The debugger is '%s' (JRE %d.%d; VM %s)." +msgstr "Le débogueur est '%s' (JRE %d.%d ; VM %s)." -#: src/format/elf/symbols.c:1007 -msgid "Section type: program space with no data (bss)" +#: src/format/dwarf/info.c:483 +msgid "[no name]" msgstr "" -#: src/format/elf/symbols.c:1010 -msgid "Section type: relocation entries, no addends" +#: src/format/elf/symbols.c:122 +msgid "Binary is dynamically linked" msgstr "" -#: src/format/elf/symbols.c:1013 -msgid "Section type: reserved" +#: src/format/elf/symbols.c:129 +msgid "Binary is statically linked" msgstr "" -#: src/format/elf/symbols.c:1016 -msgid "Section type: dynamic linker symbol table" +#: src/format/elf/elf.c:236 +#, c-format +msgid "" +"Corrupted program header size (%hu); fixed ! -- replacing 0x%04hx by 0x" +"%04hx at offset 0x%x" msgstr "" -#: src/format/elf/symbols.c:1019 -msgid "Section type: array of constructors" +#: src/format/elf/elf.c:245 +#, 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:1022 -msgid "Section type: array of destructors" +#: src/format/elf/elf.c:379 +msgid "Segment" msgstr "" -#: src/format/elf/symbols.c:1025 -msgid "Section type: array of pre-constructors" +#: src/format/java/attribute.c:239 +#, c-format +msgid "Attribute name not supported: '%s'" msgstr "" -#: src/format/elf/symbols.c:1028 -msgid "Section type: section group" +#: src/format/java/attribute.c:243 +#, c-format +msgid "Size indication of the attribute '%s' not verified: %d vs %d" msgstr "" -#: src/format/elf/symbols.c:1031 -msgid "Section type: extended section indeces" +#: src/analysis/disass/output.c:192 +#, c-format +msgid "Unable to find a proper location for symbol '%s' @ 0x%08x" msgstr "" -#: src/format/elf/symbols.c:1038 -msgid "Section type: object attributes" +#: src/analysis/disass/fetch.c:179 +msgid "Disassembling following the execution flow..." msgstr "" -#: src/format/elf/symbols.c:1041 -msgid "Section type: GNU-style hash table" +#: src/analysis/disass/fetch.c:214 +msgid "Disassembling the remaining instructions..." msgstr "" -#: src/format/elf/symbols.c:1044 -msgid "Section type: prelink library list" +#: src/analysis/disass/fetch.c:226 +msgid "Collecting disassembled instructions..." msgstr "" -#: src/format/elf/symbols.c:1047 -msgid "Section type: checksum for DSO content" +#: src/analysis/disass/disassembler.c:349 +#: src/analysis/disass/disassembler.c:522 +msgid "Establishing links..." msgstr "" -#: src/format/elf/symbols.c:1053 -msgid "Section type: SHT_SUNW_move" +#: src/analysis/disass/disassembler.c:379 +#: src/analysis/disass/disassembler.c:544 +msgid "Detecting loops..." msgstr "" -#: src/format/elf/symbols.c:1056 -msgid "Section type: SHT_SUNW_COMDAT" +#: src/analysis/disass/disassembler.c:396 +#: src/analysis/disass/disassembler.c:552 +msgid "Grouping routines instructions..." msgstr "" -#: src/format/elf/symbols.c:1059 -msgid "Section type: SHT_SUNW_syminfo" +#: src/analysis/disass/disassembler.c:415 +#: src/analysis/disass/disassembler.c:564 +msgid "Ranking each instructions block..." msgstr "" -#: src/format/elf/symbols.c:1062 -msgid "Section type: version definition section" +#: src/analysis/disass/disassembler.c:493 +msgid "Disassembling..." msgstr "" -#: src/format/elf/symbols.c:1065 -msgid "Section type: version needs section" +#: src/analysis/disass/disassembler.c:512 +#, c-format +msgid "Disassembled instructions : %u %% (%u / %d)" msgstr "" -#: src/format/elf/symbols.c:1068 -msgid "Section type: version symbol table" +#: src/analysis/disass/disassembler.c:532 +msgid "Finding remaining limits..." msgstr "" -#: src/format/elf/symbols.c:1071 -msgid "Section type: Sun-specific" +#: src/analysis/disass/disassembler.c:576 +msgid "Printing disassembled code..." msgstr "" -#: src/format/elf/symbols.c:1076 -msgid "Section type: OS-specific" -msgstr "" +#: src/analysis/disass/disassembler.c:626 +msgid "Disassembly generated by Chrysalide" +msgstr "Désassemblage généré par Chrysalide" -#: src/format/elf/symbols.c:1082 -msgid "Section type: processor-specific" -msgstr "" +#: src/analysis/disass/disassembler.c:630 +#, fuzzy +msgid "Chrysalide is free software - © 2008-2015 Cyrille Bagard" +msgstr "Chrysalide est un Logiciel Libre - © 2008-2012 Cyrille Bagard" -#: src/format/elf/symbols.c:1086 -msgid "Section type: application-specific" -msgstr "" +#: src/analysis/disass/disassembler.c:638 +#: src/analysis/disass/disassembler.c:641 src/analysis/decomp/decompiler.c:96 +#: src/analysis/decomp/decompiler.c:99 src/dialogs/export.c:695 +msgid "File: " +msgstr "Fichier: " -#: src/format/elf/symbols.c:1090 -msgid "Section type: unknown" +#: src/analysis/disass/disassembler.c:650 +#: src/analysis/disass/disassembler.c:653 +msgid "Sha256: " msgstr "" -#: src/format/elf/symbols.c:1102 -msgid "Section flags: " -msgstr "" +#: src/analysis/decomp/decompiler.c:81 +msgid "Binary data decompiled by Chrysalide" +msgstr "Données binaires décompilées par Chrysalide" -#: src/format/elf/symbols.c:1158 src/format/elf/symbols.c:1189 -msgid "Section virtual addr at execution" -msgstr "" +#: src/analysis/decomp/decompiler.c:85 +msgid "Chrysalide is free software - © 2008-2012 Cyrille Bagard" +msgstr "Chrysalide est un Logiciel Libre - © 2008-2012 Cyrille Bagard" -#: src/format/elf/symbols.c:1164 src/format/elf/symbols.c:1195 -msgid "Section file offset" +#: src/analysis/decomp/decompiler.c:94 +msgid "whole binary" msgstr "" -#: src/format/elf/symbols.c:1172 src/format/elf/symbols.c:1203 -msgid "Section size in bytes" +#: src/analysis/db/client.c:268 +#, c-format +msgid "The server '%s:%hu' did not welcome us!" msgstr "" -#: src/format/elf/symbols.c:1211 -msgid "Link to another section" -msgstr "" +#: src/analysis/db/client.c:280 +#, fuzzy, c-format +msgid "Connected to the server '%s:%hu'!" +msgstr "Connecté à %s:%hd." -#: src/format/elf/symbols.c:1217 -msgid "Additional section information" +#: src/analysis/db/client.c:284 +#, c-format +msgid "The server '%s:%hu' does not use our protocol version (0x%08x)..." msgstr "" -#: src/format/elf/symbols.c:1225 src/format/elf/symbols.c:1242 -msgid "Section alignment" +#: src/analysis/db/client.c:290 +#, c-format +msgid "The server '%s:%hu' uses an unknown protocol..." msgstr "" -#: src/format/elf/symbols.c:1233 src/format/elf/symbols.c:1250 -msgid "Entry size if section holds table" +#: src/analysis/db/client.c:299 +#, c-format +msgid "Failed to start a listening thread for the server '%s:%hu'!" msgstr "" -#: src/format/exe_format.c:242 src/format/format.c:461 -msgid "ELF" +#: src/analysis/db/client.c:373 +#, c-format +msgid "Archive saved for binary '%s'" msgstr "" -#: src/format/exe_format.c:243 src/format/format.c:462 -msgid "Java" +#: src/analysis/db/client.c:376 +#, c-format +msgid "Failed to save the archive for binary '%s'" msgstr "" -#: src/format/exe_format.c:244 -msgid "Portable Executable" +#: src/analysis/db/server.c:315 +#, c-format +msgid "The client from '%s:%hu' did not introduce itself!" msgstr "" -#: src/format/exe_format.c:301 src/format/format.c:529 +#: src/analysis/db/server.c:325 #, c-format -msgid "%s is matching..." +msgid "" +"The client from '%s:%hu' does not use the same protocol: 0x%08x vs 0x%08x..." msgstr "" -#: src/format/format.c:459 -msgid "Dalvik Executable" -msgstr "" +#: src/analysis/db/server.c:333 +#, fuzzy, c-format +msgid "Error while getting the binary hash from '%s:%hu'..." +msgstr "Erreur lors de la connexion au serveur JDWP sur %s:%s." -#: src/format/format.c:463 -msgid "PE" -msgstr "" +#: src/analysis/db/server.c:340 +#, fuzzy, c-format +msgid "Error while getting the user name from '%s:%hu'..." +msgstr "Erreur lors de la connexion au serveur JDWP sur %s:%s." -#: src/format/java/attribute.c:239 +#: src/analysis/db/server.c:490 #, c-format -msgid "Attribute name not supported: '%s'" +msgid "Server started and listening at %s:%hu" msgstr "" -#: src/format/java/attribute.c:243 +#: src/analysis/binaries/file.c:169 #, c-format -msgid "Size indication of the attribute '%s' not verified: %d vs %d" +msgid "Opening '%s' file..." msgstr "" -#: src/glibext/gbinportion.c:657 -msgid "Localisation" +#: src/analysis/binaries/file.c:187 +msgid "Unknown binary format" msgstr "" -#: src/glibext/gbinportion.c:660 -msgid "physical: from " +#: src/analysis/binaries/file.c:191 +#, c-format +msgid "Detected format: %s" msgstr "" -#: src/glibext/gbinportion.c:663 src/glibext/gbinportion.c:672 -msgid " to " -msgstr "" +#: src/analysis/binaries/file.c:197 +#, fuzzy +msgid "Error while loading the binary" +msgstr "Erreur lors de la connexion au serveur JDWP sur %s:%s." -#: src/glibext/gbinportion.c:668 -msgid "memory: from " +#: src/analysis/binaries/file.c:206 +msgid "Unknown architecture" msgstr "" -#: src/glibext/gbinportion.c:681 -msgid "Rights" +#: src/analysis/binaries/file.c:210 +#, c-format +msgid "Detected architecture: %s" msgstr "" -#: src/gui/menus/binary.c:66 -msgid "_Binary" -msgstr "_Binaire" - -#: src/gui/menus/binary.c:72 -msgid "Storage..." +#: src/analysis/binaries/file.c:216 +msgid "Unable to load the required processor" msgstr "" -#: src/gui/menus/binary.c:76 -msgid "Export..." -msgstr "Exportation..." - -#: src/gui/menus/debug.c:63 -msgid "_Debug" -msgstr "_Débogage" - -#: src/gui/menus/debug.c:104 -msgid "No available debug module for this binary !" -msgstr "Pas de module de débogage disponible pour ce binaire !" - -#: src/gui/menus/debug.c:112 -msgid "Failed to initialize the debugger." -msgstr "Echec de l'initialisation du débogueur." +#: src/dialogs/export.c:118 +msgid "Export assistant" +msgstr "Assistant d'exportation" -#: src/gui/menus/debug.c:116 -msgid "Stop" -msgstr "Arrêter" +#: src/dialogs/export.c:333 +msgid "Format: " +msgstr "Format : " -#: src/gui/menus/edition.c:61 -msgid "_Edition" -msgstr "" +#: src/dialogs/export.c:339 src/dialogs/shellcode.c:607 +msgid "Simple text" +msgstr "Texte simple" -#: src/gui/menus/edition.c:67 -msgid "Go to address..." +#: src/dialogs/export.c:340 +msgid "HTML" msgstr "" -#: src/gui/menus/file.c:74 -msgid "_File" -msgstr "_Fichier" +#: src/dialogs/export.c:344 +#, fuzzy +msgid "Options" +msgstr "Eléments à afficher" -#: src/gui/menus/file.c:80 -msgid "New project" -msgstr "Nouveau projet" +#: src/dialogs/export.c:354 +#, fuzzy +msgid "Format" +msgstr "Format : " -#: src/gui/menus/file.c:88 -msgid "Open project" -msgstr "Ouvrir un projet" +#: src/dialogs/export.c:411 +msgid "String between columns: " +msgstr "" -#: src/gui/menus/file.c:93 -msgid "Recent projects..." -msgstr "Projets récents..." +#: src/dialogs/export.c:440 +msgid "HTML table font name: " +msgstr "" -#: src/gui/menus/file.c:109 -msgid "Save project" -msgstr "Enregistrer le projet" +#: src/dialogs/export.c:452 +msgid "HTML table background color: " +msgstr "" -#: src/gui/menus/file.c:114 -msgid "Save project as..." -msgstr "Enregistrer le projet sous..." +#: src/dialogs/export.c:628 src/dialogs/shellcode.c:777 +msgid "Items to display" +msgstr "Eléments à afficher" -#: src/gui/menus/file.c:121 -msgid "Quit" -msgstr "Quitter" +#: src/dialogs/export.c:650 src/dialogs/shellcode.c:799 +msgid "Exported content" +msgstr "Contenu exporté" -#: src/gui/menus/file.c:175 -msgid "Open a project" -msgstr "Ouvrir un projet" +#: src/dialogs/export.c:711 src/dialogs/shellcode.c:629 +msgid "Output" +msgstr "Sortie" -#: src/gui/menus/file.c:259 -msgid "Save the project as..." -msgstr "Enregistrer le projet sous..." +#: src/dialogs/export.c:777 src/dialogs/shellcode.c:695 +msgid "Choose an output filename" +msgstr "Choisir un fichier de sortie" -#: src/gui/menus/help.c:60 -msgid "_Help" -msgstr "_Aide" +#: src/dialogs/storage.c:139 +msgid "Features" +msgstr "" -#: src/gui/menus/project.c:74 -msgid "_Project" +#: src/dialogs/storage.c:149 src/dialogs/storage.c:553 +msgid "Local storage" msgstr "" -#: src/gui/menus/project.c:80 -msgid "Add a binary..." +#: src/dialogs/storage.c:151 src/dialogs/storage.c:556 +#: src/dialogs/storage.c:610 +msgid "Remote storage" msgstr "" -#: src/gui/menus/project.c:86 -#, fuzzy -msgid "Shellcode" -msgstr "Code source" +#: src/dialogs/storage.c:153 src/dialogs/storage.c:559 +#: src/dialogs/storage.c:612 +msgid "Local storage with remote access" +msgstr "" -#: src/gui/menus/project.c:90 +#: src/dialogs/storage.c:160 src/dialogs/storage.c:199 +msgid "Storage" +msgstr "" + +#: src/dialogs/storage.c:220 #, fuzzy -msgid "File" -msgstr "_Fichier" +msgid "Identity" +msgstr "Eléments à afficher" -#: src/gui/menus/project.c:94 -msgid "Remove a binary" +#: src/dialogs/storage.c:227 +msgid "Username: " msgstr "" -#: src/gui/menus/project.c:209 src/gui/menus/project.c:275 -msgid "Open a binary file" +#: src/dialogs/storage.c:235 +msgid "Server to contact" msgstr "" -#: src/gui/menus/view.c:67 -msgid "_View" -msgstr "Affichage" +#: src/dialogs/storage.c:243 +msgid "Use a remote server:" +msgstr "" -#: src/gui/menus/view.c:73 -msgid "Text view" -msgstr "Vue binaire" +#: src/dialogs/storage.c:252 +msgid "Host: " +msgstr "" -#: src/gui/menus/view.c:81 -msgid "Graph view" -msgstr "Vue graphique" +#: src/dialogs/storage.c:259 +msgid "Port:" +msgstr "" -#: src/gui/menus/view.c:89 -msgid "Source code" -msgstr "Code source" +#: src/dialogs/storage.c:281 src/dialogs/goto.c:206 src/dialogs/bookmark.c:222 +msgid "_Ok" +msgstr "" -#: src/gui/menus/view.c:98 -msgid "Physical offset" +#: src/dialogs/storage.c:538 src/dialogs/shellcode.c:771 +msgid "Comments" msgstr "" -#: src/gui/panels/bookmarks.c:253 src/gui/panels/regedit.c:229 -msgid "Look for:" +#: src/dialogs/storage.c:541 +msgid "Segments display" msgstr "" -#: src/gui/panels/bookmarks.c:299 +#: src/dialogs/goto.c:155 #, fuzzy -msgid "Physical address" +msgid "Go to address" msgstr "Adresse virtuelle" -#: src/gui/panels/bookmarks.c:315 -msgid "Comment" +#: src/dialogs/goto.c:170 +msgid "Enter the value of the target address:" msgstr "" -#: src/gui/panels/bookmarks.c:648 src/gui/panels/regedit.c:574 -msgid "By default" +#: src/dialogs/goto.c:195 +msgid "Address is physical" msgstr "" -#: src/gui/panels/bookmarks.c:650 src/gui/panels/regedit.c:576 -msgid "Changed" +#: src/dialogs/goto.c:199 +msgid "Address is virtual" msgstr "" -#: src/gui/panels/bookmarks.c:653 src/gui/panels/regedit.c:579 -msgid " + empty" +#: src/dialogs/gotox.c:181 +msgid "Content" msgstr "" -#: src/gui/panels/bookmarks.c:663 src/gui/panels/regedit.c:589 -msgid "true" +#: src/dialogs/gotox.c:190 +msgid "_Go" msgstr "" -#: src/gui/panels/bookmarks.c:663 src/gui/panels/regedit.c:589 -msgid "false" +#: src/dialogs/gotox.c:225 +msgid "Binary's entry points" msgstr "" -#: src/gui/panels/bookmarks.c:1042 -msgid "Edit" +#: src/dialogs/gotox.c:286 +msgid "List of backward cross references" msgstr "" -#: src/gui/panels/bookmarks.c:1045 -msgid "Delete" +#: src/dialogs/gotox.c:288 +msgid "List of forward cross references" msgstr "" -#: src/gui/panels/bookmarks.c:1051 -msgid "Filter..." +#: src/dialogs/gotox.c:352 +msgid "" msgstr "" -#: src/gui/panels/glance.c:183 src/gui/panels/glance.c:268 -msgid "Glance" +#: src/dialogs/gotox.c:380 src/dialogs/gotox.c:390 +msgid "" msgstr "" -#: src/gui/panels/log.c:95 -msgid "Misc information" +#: src/dialogs/gotox.c:427 +msgid "" msgstr "" -#: src/gui/panels/regedit.c:269 -msgid "Access path" +#: src/dialogs/shellcode.c:131 +msgid "Shellcode assistant" msgstr "" -#: src/gui/panels/regedit.c:277 -msgid "Status" +#: src/dialogs/shellcode.c:262 +msgid "" +"Paste here the raw C code containing the shellcode.\r\n" +"All content between quotes will be extracted." msgstr "" -#: src/gui/panels/regedit.c:285 -msgid "Type" +#: src/dialogs/shellcode.c:279 src/dialogs/shellcode.c:461 +msgid "No code" msgstr "" -#: src/gui/panels/regedit.c:295 -msgid "Value" -msgstr "" +#: src/dialogs/shellcode.c:286 src/dialogs/shellcode.c:767 +msgid "Code" +msgstr "Code" -#: src/gui/panels/regedit.c:390 -msgid "Configuration parameters" +#: src/dialogs/shellcode.c:448 +msgid "Error while decoding" msgstr "" -#: src/gui/panels/regedit.c:470 -msgid "Boolean" +#: src/dialogs/shellcode.c:452 +msgid "Decoding OK (" msgstr "" -#: src/gui/panels/regedit.c:474 -msgid "Integer" +#: src/dialogs/shellcode.c:454 +msgid "bytes" msgstr "" -#: src/gui/panels/regedit.c:478 src/gui/panels/strings.c:201 -#: src/panels/breaks.c:209 src/panels/strings.c:91 -msgid "String" +#: src/dialogs/shellcode.c:454 +msgid "byte" msgstr "" -#: src/gui/panels/regedit.c:482 -msgid "" +#: src/dialogs/shellcode.c:518 +msgid "Architecture:" msgstr "" -#: src/gui/panels/regedit.c:934 -msgid "Copy the name" +#: src/dialogs/shellcode.c:524 +msgid "x86" msgstr "" -#: src/gui/panels/regedit.c:940 -msgid "Make empty" +#: src/dialogs/shellcode.c:530 +msgid "Register size:" msgstr "" -#: src/gui/panels/regedit.c:943 -msgid "Reset" +#: src/dialogs/shellcode.c:536 +msgid "32 bits" msgstr "" -#: src/gui/panels/strings.c:196 src/gui/panels/symbols.c:351 -#: src/panels/breaks.c:189 src/panels/strings.c:87 -msgid "Address" +#: src/dialogs/shellcode.c:537 +msgid "16 bits" msgstr "" -#: src/gui/panels/strings.c:213 -msgid "Find references..." +#: src/dialogs/shellcode.c:544 +msgid "Architecture" msgstr "" -#: src/gui/panels/strings.c:282 -msgid "Strings" -msgstr "" +#: src/dialogs/shellcode.c:601 +#, fuzzy +msgid "Format : " +msgstr "Format : " -#: src/gui/panels/symbols.c:263 -msgid "List" -msgstr "" +#: src/dialogs/shellcode.c:617 +#, fuzzy +msgid "File : " +msgstr "Fichier: " -#: src/gui/panels/symbols.c:266 -msgid "Show symbols using a list view" -msgstr "" +#: src/dialogs/shellcode.c:756 +#, fuzzy +msgid "Lines to process" +msgstr "Eléments à afficher" -#: src/gui/panels/symbols.c:269 -msgid "Tree" +#: src/dialogs/shellcode.c:763 +msgid "Prologue" msgstr "" -#: src/gui/panels/symbols.c:272 -msgid "Show symbols using a tree view" -msgstr "" +#: src/dialogs/shellcode.c:792 +msgid "Assembly code" +msgstr "Code d'assembleur" -#: src/gui/panels/symbols.c:279 -msgid "Collapse" +#: src/dialogs/bookmark.c:161 +msgid "Add a bookmark" msgstr "" -#: src/gui/panels/symbols.c:282 -msgid "Collapse all symbol nodes in the tree view" +#: src/dialogs/bookmark.c:176 +msgid "Localisation" msgstr "" -#: src/gui/panels/symbols.c:285 -msgid "Expand" +#: src/dialogs/bookmark.c:189 +msgid "Target:" msgstr "" -#: src/gui/panels/symbols.c:288 -msgid "Expand all symbol nodes in the tree view" +#: src/dialogs/bookmark.c:203 +msgid "Value is physical offset" msgstr "" -#: src/gui/panels/symbols.c:291 -msgid "Classes" -msgstr "" +#: src/dialogs/bookmark.c:207 +#, fuzzy +msgid "Value is virtual address" +msgstr "Adresse virtuelle" -#: src/gui/panels/symbols.c:294 -msgid "Show all classes in the tree view" +#: src/dialogs/bookmark.c:213 +msgid "Optional comment" msgstr "" -#: src/gui/panels/symbols.c:303 -msgid "Filter symbols using POSIX extended regular expressions" +#: src/dialogs/plugins.c:108 +msgid "Plugins selection" msgstr "" -#: src/gui/panels/symbols.c:439 -#, fuzzy -msgid "Binary symbols" -msgstr "Code binaire" +#: src/dialogs/plugins.c:212 +msgid "Author:" +msgstr "" -#: src/gui/panels/welcome.c:149 -msgid "Welcome" +#: src/dialogs/plugins.c:216 +msgid "label8" msgstr "" -#: src/gui/status.c:293 -msgid "Location phys:" +#: src/dialogs/plugins.c:220 +msgid "Version:" msgstr "" -#: src/gui/status.c:316 src/gui/status.c:400 -msgid " at " +#: src/dialogs/plugins.c:224 +msgid "label9" msgstr "" -#: src/gui/status.c:318 src/gui/status.c:402 -msgid "+" +#: src/dialogs/plugins.c:228 +msgid "URL:" msgstr "" -#: src/gui/status.c:380 -msgid "Localisation:" +#: src/dialogs/plugins.c:232 +msgid "label10" msgstr "" -#: src/gui/status.c:421 -msgid " (" +#: src/dialogs/plugins.c:246 +msgid "label12" msgstr "" -#: src/gui/status.c:432 -msgid ")" +#: src/dialogs/plugins.c:250 +msgid "Action" msgstr "" -#: src/gui/tb/portions.c:203 -msgid "Portions" +#: src/dialogs/plugins.c:255 +msgid "Details:" msgstr "" -#: src/gui/tb/source.c:145 -msgid " Source: " +#: src/dialogs/plugins.c:286 +msgid "Apply" msgstr "" -#: src/gui/tb/source.c:211 -msgid "Source files" +#: src/dialogs/plugins.c:306 +msgid "Cancel" msgstr "" -#: src/main.c:70 +#: src/main.c:68 #, c-format msgid "Last compiled on %s at %s\n" msgstr "" -#: src/main.c:74 +#: src/main.c:72 #, c-format msgid "Data directory: %s\n" msgstr "" -#: src/main.c:75 +#: src/main.c:73 #, c-format msgid "Plugins directory: %s\n" msgstr "" -#: src/main.c:76 +#: src/main.c:74 #, c-format msgid "Locale directory: %s\n" msgstr "" -#: src/panels/breaks.c:156 -msgid "Breakpoints" +#: src/editor.c:158 +msgid "Chrysalide" msgstr "" -#: src/panels/registers.c:101 -msgid "Registers:" +#: src/editor.c:270 +msgid "The current project will be lost. Do you you want to save it ?" msgstr "" -#: src/panels/registers.c:180 -msgid "Segments:" +#: src/editor.c:272 +msgid "_Yes" msgstr "" -#: src/plugins/pglist.c:283 -#, c-format -msgid "Initialization of plugin '%s' failed !" +#: src/editor.c:273 +msgid "_No" msgstr "" -#: src/plugins/plugin.c:176 -#, c-format -msgid "Error while loading the plugin candidate '%s' : %s" -msgstr "" +#, fuzzy +#~ msgid "Chrysalide is free software - © 2008-2014 Cyrille Bagard" +#~ msgstr "Chrysalide est un Logiciel Libre - © 2008-2012 Cyrille Bagard" -#: src/plugins/plugin.c:184 -#, c-format -msgid "No 'get_plugin_name' entry in plugin candidate '%s'" -msgstr "" +#~ msgid "Exporting binary lines..." +#~ msgstr "Exportation des lignes binaires..." -#: src/plugins/plugin.c:244 -#, c-format -msgid "Loaded the '%s' from the '%s' directory" -msgstr "" +#, fuzzy +#~ msgid "Segment virtual address" +#~ msgstr "Adresse virtuelle" diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c index 94d659b..4c54a27 100644 --- a/src/analysis/disass/area.c +++ b/src/analysis/disass/area.c @@ -435,7 +435,7 @@ static void update_address_as_routine(GBinFormat *format, const vmpa2t *addr) if (!found) { - symbol = g_binary_symbol_new(STP_ROUTINE, NULL, ~0); + symbol = g_binary_symbol_new(STP_ROUTINE); g_binary_symbol_attach_routine(symbol, routine); g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol); } diff --git a/src/analysis/disass/output.c b/src/analysis/disass/output.c index 324975b..91c865a 100644 --- a/src/analysis/disass/output.c +++ b/src/analysis/disass/output.c @@ -114,10 +114,10 @@ void print_disassembled_instructions(GCodeBuffer *buffer, const GExeFormat *form saddr = get_mrange_addr(g_binary_symbol_get_range(symbols[i])); if (saddr == NULL) continue; - //if (g_binary_symbol_to_string(symbols[i]) == NULL) continue; + //if (g_binary_symbol_get_label(symbols[i]) == NULL) continue; printf(" '%s' -> 0x%08lx\n", - "g_binary_symbol_to_string(symbols[i])", + "g_binary_symbol_get_label(symbols[i])", saddr->virtual); } diff --git a/src/arch/arm/v7/post.c b/src/arch/arm/v7/post.c index dce9c86..e95bd66 100644 --- a/src/arch/arm/v7/post.c +++ b/src/arch/arm/v7/post.c @@ -78,7 +78,7 @@ void post_process_branch_instructions(GArchInstruction *instr, GArchProcessor *p g_binary_routine_set_range(routine, &trange); - symbol = g_binary_symbol_new(STP_CODE_LABEL, NULL, ~0); + symbol = g_binary_symbol_new(STP_CODE_LABEL); g_binary_symbol_attach_routine(symbol, routine); g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol); @@ -142,7 +142,7 @@ void post_process_branch_and_link_instructions(GArchInstruction *instr, GArchPro g_binary_routine_set_range(routine, &trange); - symbol = g_binary_symbol_new(STP_ROUTINE, NULL, ~0); + symbol = g_binary_symbol_new(STP_ROUTINE); g_binary_symbol_attach_routine(symbol, routine); g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol); @@ -206,7 +206,7 @@ void post_process_comp_and_branch_instructions(GArchInstruction *instr, GArchPro g_binary_routine_set_range(routine, &trange); - symbol = g_binary_symbol_new(STP_CODE_LABEL, NULL, ~0); + symbol = g_binary_symbol_new(STP_CODE_LABEL); g_binary_symbol_attach_routine(symbol, routine); g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol); @@ -289,7 +289,7 @@ void post_process_ldr_instructions(GArchInstruction *instr, GArchProcessor *proc g_binary_routine_set_range(routine, &trange); - symbol = g_binary_symbol_new(STP_CODE_LABEL, NULL, ~0); + symbol = g_binary_symbol_new(STP_CODE_LABEL); g_binary_symbol_attach_routine(symbol, routine); g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol); diff --git a/src/format/dex/pool.c b/src/format/dex/pool.c index 0c982cd..a869873 100644 --- a/src/format/dex/pool.c +++ b/src/format/dex/pool.c @@ -55,8 +55,8 @@ bool find_all_dex_strings(GDexFormat *format) text = get_string_from_dex_pool(format, i); if (text == NULL) continue; - symbol = g_binary_symbol_new(STP_STRING, NULL, i); - g_binary_symbol_set_alt_name(symbol, strdup(text)); + symbol = g_binary_symbol_new(STP_STRING); + g_binary_symbol_set_alt_label(symbol, text); g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol); diff --git a/src/format/elf/helper_arm.c b/src/format/elf/helper_arm.c index efc8a3d..c77df55 100644 --- a/src/format/elf/helper_arm.c +++ b/src/format/elf/helper_arm.c @@ -118,7 +118,7 @@ bool load_elf_arm_relocated_symbols(GElfFormat *format, const elf_shdr *relxxx, g_binary_routine_set_range(routine, &range); - symbol = g_binary_symbol_new(STP_ROUTINE, NULL, ~0); + symbol = g_binary_symbol_new(STP_ROUTINE); g_binary_symbol_attach_routine(symbol, routine); g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol); @@ -131,7 +131,7 @@ bool load_elf_arm_relocated_symbols(GElfFormat *format, const elf_shdr *relxxx, ((unsigned int)ELF_SHDR(format, (*relxxx), sh_addr) + ELF_REL(format, reloc, r_offset))); */ - //symbol = g_binary_symbol_new(STP_FUNCTION, name, ELF_REL(format, reloc, r_offset)); + //symbol = g_binary_symbol_new(STP_FUNCTION)); //g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol); break; @@ -269,7 +269,7 @@ bool load_elf_x86_relocated_symbols(GElfFormat *format, const elf_shdr *relxxx, name = "unknown"; } - symbol = g_binary_symbol_new(STP_FUNCTION, name, ELF_REL(format, reloc, r_offset)); + symbol = g_binary_symbol_new(STP_FUNCTION); g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol); break; @@ -430,19 +430,19 @@ void translate_exe_elf_relocations(GElfFormat *format, GArchInstruction **instru symbols = g_binary_format_get_symbols(G_BIN_FORMAT(format), &symbols_count); for (j = 0; j < symbols_count; j++) - if (g_binary_symbol_get_address(symbols[j]) == address) + if (0 /* FIXME g_binary_symbol_get_address(symbols[j]) == address*/) { /* Nom final */ - new_len = strlen(g_binary_symbol_to_string(symbols[j])) + 4 + 1; + new_len = strlen(g_binary_symbol_get_label(symbols[j])) + 4 + 1; new_name = calloc(new_len, sizeof(char)); - snprintf(new_name, new_len, "%s@plt", g_binary_symbol_to_string(symbols[j])); + snprintf(new_name, new_len, "%s@plt", g_binary_symbol_get_label(symbols[j])); g_arch_instruction_get_location(instructions[i], NULL, NULL, &address); /* Routine */ - routine = try_to_demangle_routine(g_binary_symbol_to_string(symbols[j])); + routine = try_to_demangle_routine(g_binary_symbol_get_label(symbols[j])); ///g_binary_routine_set_address(routine, address); @@ -450,7 +450,7 @@ void translate_exe_elf_relocations(GElfFormat *format, GArchInstruction **instru /* Symbole uniquement */ - symbol = g_binary_symbol_new(STP_FUNCTION, new_name, address); + symbol = g_binary_symbol_new(STP_FUNCTION); g_binary_symbol_attach_routine(symbol, routine); @@ -558,7 +558,7 @@ void translate_dyn_elf_relocations(GElfFormat *format, GArchInstruction **instru /* Symbole uniquement */ - symbol = g_binary_symbol_new(STP_FUNCTION, new_name, address); + symbol = g_binary_symbol_new(STP_FUNCTION); g_binary_symbol_attach_routine(symbol, routine); diff --git a/src/format/elf/helper_x86.c b/src/format/elf/helper_x86.c index 742d1c3..deb1ead 100644 --- a/src/format/elf/helper_x86.c +++ b/src/format/elf/helper_x86.c @@ -121,7 +121,7 @@ bool load_elf_x86_relocated_symbols(GElfFormat *format, const elf_shdr *relxxx, name = "unknown"; } - symbol = g_binary_symbol_new(STP_FUNCTION, name, ELF_REL(format, reloc, r_offset)); + symbol = g_binary_symbol_new(STP_FUNCTION); g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol); break; @@ -282,19 +282,19 @@ void translate_exe_elf_relocations(GElfFormat *format, GArchInstruction **instru symbols = g_binary_format_get_symbols(G_BIN_FORMAT(format), &symbols_count); for (j = 0; j < symbols_count; j++) - if (g_binary_symbol_get_address(symbols[j]) == address) + if (0 /* FIXME g_binary_symbol_get_address(symbols[j]) == address*/) { /* Nom final */ - new_len = strlen(g_binary_symbol_to_string(symbols[j])) + 4 + 1; + new_len = strlen(g_binary_symbol_get_label(symbols[j])) + 4 + 1; new_name = calloc(new_len, sizeof(char)); - snprintf(new_name, new_len, "%s@plt", g_binary_symbol_to_string(symbols[j])); + snprintf(new_name, new_len, "%s@plt", g_binary_symbol_get_label(symbols[j])); g_arch_instruction_get_location(instructions[i], NULL, NULL, &address); /* Routine */ - routine = try_to_demangle_routine(g_binary_symbol_to_string(symbols[j])); + routine = try_to_demangle_routine(g_binary_symbol_get_label(symbols[j])); ///g_binary_routine_set_address(routine, address); @@ -302,7 +302,7 @@ void translate_exe_elf_relocations(GElfFormat *format, GArchInstruction **instru /* Symbole uniquement */ - symbol = g_binary_symbol_new(STP_FUNCTION, new_name, address); + symbol = g_binary_symbol_new(STP_FUNCTION); g_binary_symbol_attach_routine(symbol, routine); @@ -410,7 +410,7 @@ void translate_dyn_elf_relocations(GElfFormat *format, GArchInstruction **instru /* Symbole uniquement */ - symbol = g_binary_symbol_new(STP_FUNCTION, new_name, address); + symbol = g_binary_symbol_new(STP_FUNCTION); g_binary_symbol_attach_routine(symbol, routine); diff --git a/src/format/elf/strings.c b/src/format/elf/strings.c index c11d53b..6832f5b 100644 --- a/src/format/elf/strings.c +++ b/src/format/elf/strings.c @@ -209,7 +209,7 @@ bool parse_elf_string_data(GElfFormat *format, off_t start, off_t size, vmpa_t a label = create_string_label(G_BIN_FORMAT(format), &pos, &data[i], end - i); - g_binary_symbol_set_label(symbol, label); + g_binary_symbol_set_alt_label(symbol, label); free(label); diff --git a/src/format/elf/symbols.c b/src/format/elf/symbols.c index 655eda1..1fa3d0e 100644 --- a/src/format/elf/symbols.c +++ b/src/format/elf/symbols.c @@ -201,7 +201,7 @@ static void register_elf_entry_point(GElfFormat *format, virt_t vaddr, phys_t le g_binary_routine_set_range(routine, &range); - symbol = g_binary_symbol_new(STP_ENTRY_POINT, "XXX", ~0); + symbol = g_binary_symbol_new(STP_ENTRY_POINT); g_binary_symbol_attach_routine(symbol, routine); _g_binary_format_add_symbol(base, symbol, false); @@ -622,7 +622,7 @@ static bool load_elf_internal_symbols(GElfFormat *format) /* Symbole uniquement */ - symbol = g_binary_symbol_new(STP_ROUTINE, name, ~0); + symbol = g_binary_symbol_new(STP_ROUTINE); g_binary_symbol_attach_routine(symbol, routine); break; diff --git a/src/format/symbol.c b/src/format/symbol.c index f676e9e..898f00d 100644 --- a/src/format/symbol.c +++ b/src/format/symbol.c @@ -36,13 +36,8 @@ struct _GBinSymbol SymbolType type; /* Type du symbole */ - const char *name; /* Désignation du symbole */ - vmpa_t address; /* Adresse du symbole */ - char *alt; /* Nom alternatif */ - char *tmp_label; /* REMME */ - union { GArchInstruction *instr; /* Instruction correspondante */ @@ -68,6 +63,12 @@ static void g_binary_symbol_class_init(GBinSymbolClass *); /* Initialise une instance de symbole d'exécutable. */ static void g_binary_symbol_init(GBinSymbol *); +/* Supprime toutes les références externes. */ +static void g_binary_symbol_dispose(GBinSymbol *); + +/* Procède à la libération totale de la mémoire. */ +static void g_binary_symbol_finalize(GBinSymbol *); + /* Indique le type défini pour un symbole d'exécutable. */ @@ -88,6 +89,12 @@ G_DEFINE_TYPE(GBinSymbol, g_binary_symbol, G_TYPE_OBJECT); static void g_binary_symbol_class_init(GBinSymbolClass *klass) { + GObjectClass *object; /* Autre version de la classe */ + + object = G_OBJECT_CLASS(klass); + + object->dispose = (GObjectFinalizeFunc/* ! */)g_binary_symbol_dispose; + object->finalize = (GObjectFinalizeFunc)g_binary_symbol_finalize; } @@ -112,9 +119,49 @@ static void g_binary_symbol_init(GBinSymbol *symbol) /****************************************************************************** * * -* Paramètres : type = type de symbole à créer. * -* name = désignation humaine du symbole. * -* address = adresse associée au symbole. * +* Paramètres : symbol = instance d'objet GLib à traiter. * +* * +* Description : Supprime toutes les références externes. * +* * +* Retour : - * +* * +* Remarques : - * +* * +******************************************************************************/ + +static void g_binary_symbol_dispose(GBinSymbol *symbol) +{ + /* TODO... */ + + G_OBJECT_CLASS(g_binary_symbol_parent_class)->dispose(G_OBJECT(symbol)); + +} + + +/****************************************************************************** +* * +* Paramètres : symbol = instance d'objet GLib à traiter. * +* * +* Description : Procède à la libération totale de la mémoire. * +* * +* Retour : - * +* * +* Remarques : - * +* * +******************************************************************************/ + +static void g_binary_symbol_finalize(GBinSymbol *symbol) +{ + free(symbol->alt); + + G_OBJECT_CLASS(g_binary_symbol_parent_class)->finalize(G_OBJECT(symbol)); + +} + + +/****************************************************************************** +* * +* Paramètres : type = type de symbole à créer. * * * * Description : Crée un nouveau symbole d'exécutable. * * * @@ -124,15 +171,13 @@ static void g_binary_symbol_init(GBinSymbol *symbol) * * ******************************************************************************/ -GBinSymbol *g_binary_symbol_new(SymbolType type, const char *name, vmpa_t address) +GBinSymbol *g_binary_symbol_new(SymbolType type) { GBinSymbol *result; /* Nouveau symbole à renvoyer */ result = g_object_new(G_TYPE_BIN_SYMBOL, NULL); result->type = type; - result->name = name; - result->address = address; return result; @@ -214,17 +259,22 @@ SymbolType g_binary_symbol_get_target_type(const GBinSymbol *symbol) * * * Paramètres : symbol = symbole à venir consulter. * * * -* Description : Fournit la description humaine du symbole. * +* Description : Fournit un étiquette pour viser un symbole. * * * -* Retour : Nom du symbole sous forme de chaîne de caractères. * +* Retour : Chaîne de caractères renvoyant au symbole. * * * * Remarques : - * * * ******************************************************************************/ -const char *g_binary_symbol_to_string(const GBinSymbol *symbol) +const char *g_binary_symbol_get_label(const GBinSymbol *symbol) { - const char *result; /* Désignation à retourner */ + const char *result; /* Etiquette à retourner */ + + if (symbol->alt != NULL) + return symbol->alt; + + result = NULL; switch (symbol->type) { @@ -235,7 +285,7 @@ const char *g_binary_symbol_to_string(const GBinSymbol *symbol) break; default: - result = (symbol->alt != NULL ? symbol->alt : symbol->name); + result = NULL; break; } @@ -245,67 +295,22 @@ const char *g_binary_symbol_to_string(const GBinSymbol *symbol) } -vmpa_t g_binary_symbol_get_address(const GBinSymbol *symbol) -{ - - return 0; - -} - - - - - - - - - -void g_binary_symbol_set_label(GBinSymbol *symbol, const char *lbl) -{ - symbol->tmp_label = strdup(lbl); - -} - - /****************************************************************************** * * * Paramètres : symbol = symbole à venir consulter. * +* alt = désignation humaine alternative à favoriser. * * * -* Description : Fournit un étiquette pour viser un symbole. * +* Description : Définit un autre nom pour le symbole. * * * -* Retour : Chaîne de caractères renvoyant au symbole. * +* Retour : - * * * * Remarques : - * * * ******************************************************************************/ -const char *g_binary_symbol_get_label(const GBinSymbol *symbol) +void g_binary_symbol_set_alt_label(GBinSymbol *symbol, const char *alt) { - const char *result; /* Etiquette à retourner */ - - result = NULL; - - - /* TODO : utiliser des types pour les instructions */ - if (symbol->tmp_label != NULL) - return symbol->tmp_label; - - - switch (symbol->type) - { - case STP_ROUTINE: - case STP_ENTRY_POINT: - case STP_CODE_LABEL: - result = g_binary_routine_get_name(symbol->extra.routine); - break; - - default: - result = NULL; - break; - - } - - return result; + symbol->alt = strdup(alt); } @@ -415,26 +420,6 @@ const mrange_t *g_binary_symbol_get_range(const GBinSymbol *symbol) /****************************************************************************** * * -* Paramètres : symbol = symbole à venir consulter. * -* alt = désignation humaine alternative à favoriser. * -* * -* Description : Définit un autre nom pour le symbole. * -* * -* Retour : - * -* * -* Remarques : - * -* * -******************************************************************************/ - -void g_binary_symbol_set_alt_name(GBinSymbol *symbol, char *alt) -{ - symbol->alt = alt; - -} - - -/****************************************************************************** -* * * Paramètres : symbol = symbole à venir consulter. * * routine = prototype de la fonction représentée. * * type = (nouveau) type du symbole attaché. * diff --git a/src/format/symbol.h b/src/format/symbol.h index 49cde56..e0b657d 100644 --- a/src/format/symbol.h +++ b/src/format/symbol.h @@ -52,7 +52,8 @@ typedef enum _SymbolType #define G_TYPE_BIN_SYMBOL g_binary_symbol_get_type() #define G_BIN_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_binary_symbol_get_type(), GBinSymbol)) #define G_IS_BIN_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_binary_symbol_get_type())) -#define G_BIN_SYMBOL_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE((inst), g_binary_symbol_get_type(), GBinSymbolIface)) +#define G_BIN_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), G_TYPE_BIN_SYMBOL, GBinSymbolClass)) +#define G_IS_BIN_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), G_TYPE_BIN_SYMBOL)) #define G_BIN_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), G_TYPE_BIN_SYMBOL, GBinSymbolClass)) @@ -67,7 +68,7 @@ typedef struct _GBinSymbolClass GBinSymbolClass; GType g_binary_symbol_get_type(void); /* Crée un nouveau symbole d'exécutable. */ -GBinSymbol *g_binary_symbol_new(SymbolType, const char *, vmpa_t); +GBinSymbol *g_binary_symbol_new(SymbolType); /* Compare deux symboles d'exécutable selon leurs propriétés. */ int g_binary_symbol_cmp(const GBinSymbol **, const GBinSymbol **); @@ -75,30 +76,18 @@ int g_binary_symbol_cmp(const GBinSymbol **, const GBinSymbol **); /* Fournit le type du symbole. */ SymbolType g_binary_symbol_get_target_type(const GBinSymbol *); -/* Fournit la description humaine du symbole. */ -const char *g_binary_symbol_to_string(const GBinSymbol *); - -/* Fournit l'adresse associée à un symbole. */ -vmpa_t g_binary_symbol_get_address(const GBinSymbol *); /////////////////// - - - -void g_binary_symbol_set_label(GBinSymbol *symbol, const char *lbl); - - - /* Fournit un étiquette pour viser un symbole. */ const char *g_binary_symbol_get_label(const GBinSymbol *); +/* Définit un autre nom pour le symbole. */ +void g_binary_symbol_set_alt_label(GBinSymbol *, const char *); + /* Raffine la définition de l'emplacement d'un symbole. */ void g_binary_symbol_fix_range(GBinSymbol *, const vmpa2t *); /* Fournit l'emplacement où se situe un symbole. */ const mrange_t *g_binary_symbol_get_range(const GBinSymbol *); -/* Définit un autre nom pour le symbole. */ -void g_binary_symbol_set_alt_name(GBinSymbol *, char *); - /* Attache la routine associée au symbole. */ void _g_binary_symbol_attach_routine(GBinSymbol *, GBinRoutine *, SymbolType); @@ -137,7 +126,7 @@ GDbComment *g_binary_symbol_get_comment(const GBinSymbol *); do \ { \ _cmt = g_db_comment_new(_pos, _txt, true); \ - _sym = g_binary_symbol_new(STP_DATA, NULL, 0); \ + _sym = g_binary_symbol_new(STP_DATA); \ g_binary_symbol_attach_instruction(_sym, _ins); \ g_binary_symbol_set_comment(_sym, _cmt); \ g_binary_format_add_symbol(G_BIN_FORMAT(_fmt), _sym); \ @@ -147,7 +136,7 @@ GDbComment *g_binary_symbol_get_comment(const GBinSymbol *); #define ADD_STR_AS_SYM(_fmt, _sym, _ins) \ do \ { \ - _sym = g_binary_symbol_new(STP_RO_STRING, NULL, 0); \ + _sym = g_binary_symbol_new(STP_RO_STRING); \ g_binary_symbol_attach_instruction(_sym, _ins); \ g_binary_format_add_symbol(G_BIN_FORMAT(_fmt), _sym); \ } \ diff --git a/src/gui/panels/strings.c b/src/gui/panels/strings.c index 825c510..7996553 100644 --- a/src/gui/panels/strings.c +++ b/src/gui/panels/strings.c @@ -687,7 +687,7 @@ static void on_string_value_edited(GtkCellRendererText *renderer, gchar *path, g gtk_tree_model_get(GTK_TREE_MODEL(store), &iter, STC_STRING, &symbol, -1); - g_binary_symbol_set_label(symbol, new); + g_binary_symbol_set_alt_label(symbol, new); g_object_unref(G_OBJECT(symbol)); diff --git a/src/gui/panels/symbols.c b/src/gui/panels/symbols.c index 42098c8..9b32aa5 100644 --- a/src/gui/panels/symbols.c +++ b/src/gui/panels/symbols.c @@ -680,7 +680,7 @@ static void reload_symbols_for_new_list_view(GSymbolsPanel *panel) gtk_tree_store_set(panel->store, &iter, SBC_SYMBOL, symbols[i], SBC_PICTURE, icon, - SBC_NAME, g_binary_symbol_to_string(symbols[i]), + SBC_NAME, g_binary_symbol_get_label(symbols[i]), SBC_ADDRESS, virt, -1); @@ -861,7 +861,7 @@ static void reload_symbols_for_new_tree_view(GSymbolsPanel *panel) gtk_tree_store_set(panel->store, &iter, SBC_SYMBOL, symbols[i], SBC_PICTURE, icon, - SBC_NAME, g_binary_symbol_to_string(symbols[i]), + SBC_NAME, g_binary_symbol_get_label(symbols[i]), SBC_ADDRESS, virt, -1); @@ -1052,7 +1052,7 @@ static bool is_symbol_filtered(GSymbolsPanel *panel, const GBinSymbol *symbol) if (panel->filter == NULL) return false; - ret = regexec(panel->filter, g_binary_symbol_to_string(symbol), 1, &match, 0); + ret = regexec(panel->filter, g_binary_symbol_get_label(symbol), 1, &match, 0); if (ret == REG_NOMATCH) return true; diff --git a/src/gui/status.c b/src/gui/status.c index 2637f28..41cad1a 100644 --- a/src/gui/status.c +++ b/src/gui/status.c @@ -408,7 +408,7 @@ static void focus_address_in_status_info(GStatusInfo *info, GLoadedBinary *binar if (g_binary_format_resolve_symbol(G_BIN_FORMAT(format), addr, &symbol, &diff)) { - label = g_binary_symbol_to_string(symbol); + label = g_binary_symbol_get_label(symbol); if (label != NULL) { diff --git a/src/panels/strings.c b/src/panels/strings.c index 1362ee1..8fd7ae6 100644 --- a/src/panels/strings.c +++ b/src/panels/strings.c @@ -125,7 +125,8 @@ void handle_new_exe_on_strings_panel(GtkWidget *panel, const GExeFormat *format) size_t count; /* Nombre des chaînes */ GBinSymbol **symbols; /* Liste des chaînes trouvées */ size_t i; /* Boucle de parcours */ - char address[11]; /* Conversion de l'adresse */ + const mrange_t *range; /* Emplacement de symbole */ + char address[VMPA_MAX_LEN]; /* Conversion de l'adresse */ GtkTreeIter iter; /* Point d'insertion */ store = g_object_get_data(G_OBJECT(panel), "store"); @@ -136,13 +137,13 @@ void handle_new_exe_on_strings_panel(GtkWidget *panel, const GExeFormat *format) { if (g_binary_symbol_get_target_type(symbols[i]) != STP_STRING) continue; - /* FIXME : adresses autres que 32 bits */ - snprintf(address, 11, "0x%08llx", g_binary_symbol_get_address(symbols[i])); + range = g_binary_symbol_get_range(symbols[i]); + mrange_virt_to_string(range, MDS_UNDEFINED, true, address, NULL); gtk_tree_store_append(store, &iter, NULL); gtk_tree_store_set(store, &iter, STC_ADDRESS, address, - STC_STRING, g_binary_symbol_to_string(symbols[i]), + STC_STRING, g_binary_symbol_get_label(symbols[i]), -1); } -- cgit v0.11.2-87-g4458