LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-31-2011, 09:39 AM   #1
wilkux
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
_dl_open + nasm


How can I load a library using _dl_open function from ld-2.13.so and nasm, when I know the function address? I know that in eax I should store pointer to the string with new library path, in ebx mode (probably 0x80000000 | RTLD_LAZY, but why 0x80000000?), and what about ecx? What should be placed there? I found that the caller, but what it's?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
_dl_open in libc.so? KillerCode Programming 10 03-31-2011 04:59 AM
Masm to Nasm yousafsajjad Programming 8 07-07-2010 02:38 PM
nasm 0.98 vs. 2.03 rob.til Slackware 2 07-04-2008 07:50 PM
NASM linker rblampain Programming 2 06-29-2005 05:56 AM
Nasm essoft478 Linux - Software 2 09-13-2004 04:33 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration