LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-01-2018, 06:19 PM   #1
pianomoverjones
LQ Newbie
 
Registered: Jun 2018
Location: Ireland
Distribution: Mint
Posts: 16

Rep: Reputation: Disabled
file path for win executables when using Wine


I'm trying to debug a win exe file using OllyDbg. Obviously both Ollydbg and the win exe are installed through Wine.

When I try to open the exe in Ollydbg, the .wine folder in Ollydbg's Open file directory is not visible. Even though it's visible when I browse the file directory normally through Linux.

Anyone any ideas what I'm missing/doing wrong?

Thanks.
 
Old 07-02-2018, 02:11 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,581

Rep: Reputation: 4342Reputation: 4342Reputation: 4342Reputation: 4342Reputation: 4342Reputation: 4342Reputation: 4342Reputation: 4342Reputation: 4342Reputation: 4342Reputation: 4342
if I understand well, you want to open a directory (from linux it was /home/user/.wine) from windows/wine. But wine can only see the directories mapped to c: d: or similar, wine cannot see the whole linux filesystem. You need to check the configuration of wine, but I'm afraid mapping .wine is not a good idea.
 
Old 07-02-2018, 06:36 PM   #3
pianomoverjones
LQ Newbie
 
Registered: Jun 2018
Location: Ireland
Distribution: Mint
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thanks for replying. I would like to debug a Windows executable file using a debugging program that works through Wine. The debugging program can't see the executable because I can't navigate to the exe file.

I think the best thing to do is use a Linux based debugging program.
 
Old 07-02-2018, 07:47 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,514

Rep: Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016
Wine creates a C:/ drive. That is where you should be looking.
 
1 members found this post helpful.
Old 07-03-2018, 03:34 PM   #5
pianomoverjones
LQ Newbie
 
Registered: Jun 2018
Location: Ireland
Distribution: Mint
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Wine creates a C:/ drive. That is where you should be looking.
Thanks. That's what I was missing. It's my first time using Wine.
 
Old 07-03-2018, 04:28 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,402

Rep: Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172
In WINE, your normal filesystem is the Z: drive.
 
  


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
Two executables with same name in $PATH: How do I force the right one to be used? prasadbrg Linux - General 11 01-14-2009 01:09 PM
wine cannot create executables R03L Linux - Software 6 05-21-2008 11:20 AM
Win executables under Linux? piggysmile Linux - Software 13 05-08-2004 06:39 AM
Using Wine, shortcuts to executables cav Linux - General 0 04-09-2003 01:24 AM
Setting the path for sbin executables sdb6753 Linux - Software 1 11-23-2002 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:10 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration