Культурный офтопик
 help / color / mirror / Atom feed
From: "Damir Shayhutdinov" <lost404@gmail.com>
To: "Sergey Stepanov" <dlagovna@mail.ru>,
	"культурный офтопик" <smoke-room@lists.altlinux.org>
Subject: Re: [room] objdump- дизассемблирование , странные call- конструкции
Date: Mon, 22 May 2006 21:44:33 +0400
Message-ID: <679044850605221044u78fbf5e4ka9392c9d10a7ebf0@mail.gmail.com> (raw)
In-Reply-To: <E1FiDxO-0003MW-00.dlagovna-mail-ru@f12.mail.ru>

22.05.06, Sergey Stepanov<dlagovna@mail.ru> написал(а):
> Мда, посмотрел nasm - он еще более убогий чем objdump.
> Его назначение - тупо преобразовывать байт-код
> в ассемблерные инструкции. Большего он не умеет.
> Он не понимает хедеры *.o и ELF файлов, в общем как инструмент
> подходит только для элементарных действий.
Ему можно вправить мозги с помощью objcopy например.

> Я так подозреваю что опция --suppressions не просто подавляет
> рапорт об ошибке, но и позволяет программе продолжить
> выполнение при возникновении ошибки! Во как.
Попробуйте без нее :)

> А может быть,
> просто распределение памяти декомпилятора при запуске
> под valgrind оказалось таким, что программа сработала
> без ошибок памяти.
На самом деле valgrind просто обнуляет все выделенные области памяти.
[just a guess]
Там наверное где-то есть проверка на NULL и неинициализированная
переменная. При обычном ходе дел неинициализированная переменная
заполнена мусором, из-за чего и происходит сегфолт. А под валгриндом
она равна NULL и поэтому проверки проходят корректно.
[/just a guess]

      parent reply	other threads:[~2006-05-22 17:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-20 21:06 [room] objdump-дизассемблирование, странные call-конструкции Sergey Stepanov
2006-05-20 21:31 ` Yuri N. Glibovetz
2006-05-21  8:57   ` Artem
2006-05-22  9:10     ` [room] objdump- дизассемблирование , странные call- конструкции Sergey Stepanov
2006-05-22 10:19       ` Damir Shayhutdinov
2006-05-22 11:17         ` Sergey Stepanov
2006-05-22 17:12           ` Sergey Stepanov
2006-05-22 17:28             ` Andrey Rahmatullin
2006-05-22 17:44               ` Sergey Stepanov
2006-05-22 17:55                 ` Andrey Rahmatullin
2006-05-22 18:17                   ` Sergey Stepanov
2006-05-22 18:23                     ` Andrey Rahmatullin
2006-05-22 19:00                       ` Sergey Stepanov
2006-05-23  5:27                         ` Andrey Rahmatullin
2006-05-22 17:30             ` Sergey Stepanov
2006-05-22 17:44             ` Damir Shayhutdinov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=679044850605221044u78fbf5e4ka9392c9d10a7ebf0@mail.gmail.com \
    --to=lost404@gmail.com \
    --cc=dlagovna@mail.ru \
    --cc=smoke-room@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Культурный офтопик

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \
		smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com
	public-inbox-index smoke-room

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.smoke-room


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git