#nuvie@irc.freenode.net logs for 12 Oct 2012 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage

[02:13:48] <-- Kirben has left IRC (Ping timeout: 276 seconds)
[02:35:11] --> Kirben has joined #nuvie
[03:50:31] --> Dominus1 has joined #nuvie
[03:50:31] <-- Dominus has left IRC (Read error: Connection reset by peer)
[03:53:06] <SugarCube> spam spam spam
[09:18:58] --> Dominus has joined #nuvie
[09:18:58] <-- Dominus1 has left IRC (Read error: Connection reset by peer)
[10:27:47] --> Yuv422 has joined #nuvie
[10:41:13] <-- ChanServ has left IRC (*.net *.split)
[10:41:13] <-- Dominus has left IRC (*.net *.split)
[10:45:11] --> Dominus has joined #nuvie
[10:45:11] --> ChanServ has joined #nuvie
[10:45:34] <Yuv422> humbug
[11:02:37] --> TheCycoONE has joined #nuvie
[12:09:43] <-- Yuv422 has left IRC (Quit: Yuv422)
[12:13:07] <-- Kirben has left IRC ()
[12:29:37] <-- Dominus has left IRC (Quit: Leaving.)
[19:14:55] <-- TheCycoONE has left IRC (Quit: And then there were n-1)
[20:57:30] --> User612 has joined #nuvie
[21:03:42] <User612> Hi
[21:06:57] <-- User612 has left IRC (Quit: Leaving)
[21:07:15] --> does has joined #nuvie
[21:07:15] <-- does has left IRC (Client Quit)
[21:08:00] --> does has joined #nuvie
[21:08:07] <-- does has left IRC (Client Quit)
[21:08:25] --> klei has joined #nuvie
[21:09:24] <klei> does anybody know whether efry or Yuv422 comes here some times?
[21:12:58] <wjp> yes, he's here regularly
[21:15:24] <klei> thats good to hear
[21:16:18] <klei> you know, I'm working on maxr which is a remake of Interplay's M.A.X.
[21:17:19] <wjp> cool
[21:17:25] <klei> mainly I'm doing reverse engineering which is getting more and more painful without being able to run the game in a userfriendly debugger
[21:17:48] <wjp> aha, I suppose I can guess where this is going :-)
[21:18:21] <klei> and I've just found out about idados
[21:19:00] <klei> most unfortunately I cannot make this ida plugin work and I would like to ask for some help
[21:19:33] <wjp> which ida version are you using?
[21:19:46] <klei> 6.1 with SDK 6.1
[21:21:34] <klei> based on the source code for idados 0.1 the provided patch is for idasdk 5.4 which I do not have :(
[21:22:09] <wjp> hm
[21:22:23] <wjp> looks like I haven't tried it with any 6.x ida either
[21:23:54] <wjp> ah, that's not entirely true
[21:24:29] <klei> am I right that normally the debugger would be selectable from ida's debugger menu?
[21:24:37] <wjp> yes
[21:24:44] <klei> the plugin does not seem to be load for me than at all
[21:25:13] <wjp> any errors in the ida status window?
[21:26:21] <klei> nope
[21:26:57] <wjp> the version I built for 6.0 two years ago seems to be picked up by 6.3
[21:27:07] <klei> hmm
[21:27:18] <wjp> it might be a slightly newer version that 0.1 though
[21:27:22] <wjp> s/that/than/
[21:28:16] <klei> do I have to manually add the plugin to IDA\plugins\plugins.cfg ?
[21:28:36] <wjp> no, just put the plugin binary in the plugins dir
[21:29:47] --> Kirben has joined #nuvie
[21:29:55] <klei> could you please try to load v0.1 into 6.3?
[21:30:12] <klei> i got it from here: http://efry.users.sourceforge.net/idados/
[21:30:20] <wjp> did it manage to build properly?
[21:30:47] <klei> I used the precompiled version, I just found this plugin an hour ago
[21:31:06] <klei> I need to set up dosbox'es environment and everything...
[21:31:11] <wjp> ah
[21:31:26] <wjp> can't test those as I'm on linux
[21:31:48] --> Yuv422 has joined #nuvie
[21:31:53] <klei> oh, I see
[21:32:00] <wjp> but I'll leave you in Yuv422's capable hands now :-)
[21:32:08] <klei> :P
[21:32:14] <wjp> hi Yuv422
[21:32:19] <klei> hello Yuv422
[21:33:03] <Yuv422> hi Guys
[21:33:12] <Yuv422> just reading the logs
[21:34:14] <wjp> klei: but how did you install the plugin exactly?
[21:34:52] <wjp> placed the .plw in the plugins dir?
[21:35:18] <klei> yes, IDA\plugins\dosbox_stub.plw
[21:36:28] <Yuv422> and it's a standard ms-dos exe idb?
[21:37:08] <wjp> hm, good point; m.a.x. is from the windows era already
[21:38:23] <klei> hmm... well, currently I'm working on MAX 1.0 PR Demo which uses DOS4G 1.97 just as usual it is built with Watcom 10.x+ and it is an MZ/LE executable
[21:38:59] <klei> due to watcom 10.x it has some support for windows within the executable but still it is a DPMI app
[21:40:08] <klei> the executable is mixed 16 and 32 bit
[21:41:00] <klei> and I found also C++ libraries linked into the executable, in particular the new operator is used so it is mixed C and C++
[21:41:33] <klei> and you recompiled the plugin with sdk 6.3, or you also used 5.4?
[21:43:14] <wjp> this particular binary I tried with 6.3 earlier was built against 6.0
[21:44:27] <wjp> if possible, it might be good to quickly try an older dos .exe
[21:44:28] <klei> the idb was made with MS-DOS executable (EXE) [dos.ldw] profile
[21:44:48] <klei> ok, I try it with the provided example executable
[21:45:45] <klei> oh, I can't beleave this... now its there
[21:46:07] <klei> so basically the problem is that my executable is 32 bits, not 16?
[21:46:24] <Yuv422> Yeah I think so
[21:46:32] <klei> doh
[21:46:46] <Yuv422> you could try expanding the range of archs that the plugin supports
[21:47:03] <wjp> I actually seem to have sabotaged one of those checks here in my local copy
[21:47:29] <Yuv422> I haven't fired up idados in ages
[21:47:31] <wjp> but I can't remember much about why and if things worked :/
[21:47:57] <wjp> Yuv422: do you have any changes over the version on my svn server?
[21:48:20] <klei> could you tell me the address?
[21:48:24] <wjp> private, sorry
[21:48:37] <Yuv422> wjp: I don't think so
[21:48:45] <klei> ah, it was directed to Yuv, sorry, I didn't see that
[21:50:19] <Yuv422> the only changes I made were for running on os x.
[21:50:56] <wjp> I seem to have updated it for ida 6 and dosbox 0.74 in late 2010
[21:51:17] <wjp> but I don't think I used it after 2010
[21:51:58] <Yuv422> hmm I might not even have those changes
[21:52:21] <klei> what are you using nowadays to debug dos programs if I may ask?
[21:53:28] <Yuv422> klei: I've pretty much finished reversing U6
[21:53:36] <Yuv422> well as much info as I need for nuvie
[21:53:38] <wjp> I would still use idados, but I haven't had a reason to do run-time debugging since then
[21:54:04] <Yuv422> I might need it again once I start looking at the MD and SE games
[21:55:30] <klei> i see
[21:58:18] <klei> which GCC version should I prefer?
[21:59:23] <wjp> if there are any version requirements, they would be for the ida sdk I think
[21:59:39] <klei> ok
[22:00:00] <klei> I try to put together the build env
[22:03:33] <wjp> I have to go; good night
[22:03:40] <Yuv422> cya
[22:04:18] <klei> bye
[22:04:23] <klei> and thanks for all the help
[22:10:17] <klei> is that a coincident that in ida sdk 6.1 DEBUGGER_ID_X86_DOSBOX_EMULATOR Dosbox MS-DOS emulator is already defined?
[22:11:09] <Yuv422> I think they might have added an id for us
[22:11:39] <klei> interesting
[22:12:02] <Yuv422> I was talking to the ida guys a lot when I was putting the plugin together
[22:12:26] <Yuv422> they are very helpful
[22:12:28] <Yuv422> :)
[22:15:00] <klei> a lot have changed since sdk 5.4
[22:15:12] <Yuv422> I can imagine
[22:15:32] <Yuv422> so did wjp give you the latest code he has?
[22:15:55] <Yuv422> because the code online on my page is horribly outdated
[22:16:21] <klei> nope
[22:16:26] <Yuv422> oh
[22:16:33] <Yuv422> stop then
[22:16:33] <klei> but I didn't even ask for it yet
[22:16:39] <Yuv422> I'll give you the latest code
[22:16:46] <klei> thanks
[22:22:23] <Yuv422> I'm just going to tar up my project working directory
[22:24:27] <klei> okok
[22:24:54] <Yuv422> it's on its way
[22:25:45] <klei> thanks, it arrived
[22:25:58] <Yuv422> also just a warning, don't use it on your master idb file
[22:26:30] <Yuv422> because it needs to rebase the image to align with dosbox and this could cause issues with your ida database
[22:26:46] <klei> i see, thanks for the info
[22:27:19] <klei> seems to be you are quite familiar with ida if you could create such a plugin
[22:27:28] <klei> wich I could do such things..
[22:27:44] <klei> are you working with ida in real life too? I mean for a living
[22:29:27] <klei> wich=wish
[22:34:26] <klei> are you also working on linux?
[22:46:29] <Yuv422> No I don't use IDA for work :(
[22:46:39] <Yuv422> I'm on Mac
[22:47:21] <Yuv422> I just use IDA for my hobbies
[22:47:49] <klei> i see
[22:48:31] <klei> i get a lot of conflicting prototypes with gcc 4.6.1 and ida sdk 6.1
[22:49:10] <Yuv422> can you try with an earlier gcc release?
[22:49:23] <klei> first I'll try from msys
[22:49:43] <klei> which gcc do you use?
[22:51:19] <Yuv422> 4.2.1
[22:51:45] <Yuv422> but I haven't tried compiling it against the latest sdk
[22:51:53] <Yuv422> ls
[22:51:56] <klei> i see
[22:52:15] <klei> and you are using makefile.unx right?
[22:58:42] <klei> i do not know why, but in idasdk\include\pro.h ida defines a lot of standard library functions with non standard protoypes...
[22:59:02] <Yuv422> ah
[22:59:24] <Yuv422> yes they do that to protect plugins from the dangerous functions
[22:59:28] <Yuv422> like sprintf
[23:12:31] <klei> mingw's get inst cannot even find 4.2.1 or similar builds :P
[23:18:56] <Yuv422> I've got to go now
[23:19:03] <klei> okok
[23:19:03] <Yuv422> be back later
[23:19:09] <klei> thanks for all the help
[23:19:17] <Yuv422> no worries. :)
[23:19:21] <Yuv422> cya
[23:19:27] <klei> its already 1 am here too, I think I go to sleep
[23:19:29] <klei> bye
[23:19:43] <Yuv422> 10:19am here in aus
[23:19:51] <klei> :P
[23:19:52] <-- Yuv422 has left IRC (Quit: Yuv422)
[23:33:29] <-- klei has left IRC (Quit: Leaving)