Re: MacOSX, using otool -L for ldd (lists the dynamic dependencies)
河野真治 @ 琉球大学情報工学です。
In article <YAS.06Sep29190118@kirk.is.tsukuba.ac.jp>, yas@is.tsukuba.ac.jp (Yasushi Shinjo) writes
> MacOSX には ldd コマンドはないのですが、otool -L で代用でき
> ることがわかりました。こんな感じです。
ふふふ。
> strace も欲しいんだけどなあ。FreeBSD にはあるんだけど。
ktrace 使ってください。出力は kdump で見ます。10.0 あたりで「ktrace
さぽーとしてくれ〜」ってメール出した記憶がある。
KTRACE(1) BSD General Commands Manual KTRACE(1)
NAME
ktrace -- enable kernel process tracing
SYNOPSIS
ktrace [-aCcdi] [-f trfile] [-g pgrp | -p pid] [-t trstr]
ktrace [-adi] [-f trfile] [-t trstr] command
DESCRIPTION
The ktrace command enables kernel trace logging for the specified pro-
cesses. Kernel trace data is logged to the file ktrace.out. The kernel
operations that are traced include system calls, namei translations, sig-
nal processing, and I/O.
Sun では ptrace なはず。Windows ではなんだろう?
---
Shinji KONO @ Information Engineering, University of the Ryukyus
河野真治 @ 琉球大学工学部情報工学科
Fnews-brouse 1.9(20180406) -- by Mizuno, MWE <mwe@ccsf.jp>
GnuPG Key ID = ECC8A735
GnuPG Key fingerprint = 9BE6 B9E9 55A5 A499 CD51 946E 9BDC 7870 ECC8 A735