kldsym - look up address by symbol name in a KLD
Lb libc
The Fa data argument is of the following structure:
struct kld_sym_lookup {
int version; /* sizeof(struct kld_sym_lookup) */
char *symname; /* Symbol name we are looking up */
u_long symvalue;
size_t symsize;
};
The
version
member is to be set
by the code calling
kldsym ();
to
sizeof (struct kld_sym_lookup .);
The next two members,
version
and
symname
are specified by the user.
The last two,
symvalue
and
symsize
are filled in by
kldsym ();
and contain the address associated with
symname
and the size of the data it points to, respectively.
|
Закладки на сайте Проследить за страницей |
Created 1996-2025 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |