Some info about the binary, please menu

User Tag List

Results 1 to 3 of 3
  1. #1
    bingotheclowno's Avatar Member
    Reputation
    2
    Join Date
    Jan 2009
    Posts
    8
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Some info about the binary, please

    Hello!
    While trying to load Lua 5.1.4 object signatures compiled with VC 2012 in wildstar32.idb using the signature loader by gerbay, I noticed there were no matches.
    Having a quick look at the disassembly, I could locate the few things I was looking for (lua_newstate etc.), but the functions' disassembly seems to differ a bit; it seems to be "more inlined" if that makes sense.
    I was wondering if this is caused by just some different compiler flags (I compiled my lua distribution with standard VS release flags) or if the Lua source code they use is just different.I tend to assume that it's the first case, but, with my very limited experience, I can't tell for sure and I'm curious about it.
    Thanks!

    Some info about the binary, please
  2. #2
    Master674's Avatar Elite User
    Reputation
    487
    Join Date
    May 2008
    Posts
    578
    Thanks G/R
    2/23
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by bingotheclowno View Post
    Hello!
    While trying to load Lua 5.1.4 object signatures compiled with VC 2012 in wildstar32.idb using the signature loader by gerbay, I noticed there were no matches.
    Having a quick look at the disassembly, I could locate the few things I was looking for (lua_newstate etc.), but the functions' disassembly seems to differ a bit; it seems to be "more inlined" if that makes sense.
    I was wondering if this is caused by just some different compiler flags (I compiled my lua distribution with standard VS release flags) or if the Lua source code they use is just different.I tend to assume that it's the first case, but, with my very limited experience, I can't tell for sure and I'm curious about it.
    Thanks!
    Hey they compiled lua to use __fastcall and maximum optimizations & inlining. So if you want to have any sig.-matches you could compile a Lua 5.1.4 dll with similar settings and try if something matches

    If you do please share the compiled .dll - I'd like to have a look as well but currently don't have VS 2012 installed.

  3. #3
    bingotheclowno's Avatar Member
    Reputation
    2
    Join Date
    Jan 2009
    Posts
    8
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey! Thanks for the fast answer.I toyed a bit with the compile flags, but couldn't yet get a satisfactory result.After switching to fastcall convention there are many matches, but not enough
    I tried to keep compiler flags as close to the default release build ones as possible, besides whole program optimization, which would cause the IDA plugin to say it's not a valid COFF format.
    The command ended to be """ /GS /analyze- /W1 /Gy /Zc:wchar_t /Gm- /O2 /sdl /Fd"Release\vc110.pdb" /fprecise /D "_MBCS" /D "LUA_BUILD_AS_LIB" /D "_CRT_SECURE_NO_WARNINGS" /errorReportrompt /WX- /Zc:forScope /Gr /Oy- /Oi /MT /Fa"Release\" /EHsc /nologo /Fo"Release\" /Fp"Release\lua.pch" """.
    I will play a bit more with it later, when I get the time and I will try to have a look at how the generated assembly for the .lib file differs from the one in the game binary.Not sure what that will tell me, considering by lack of experience, but it's a start maybe.

Similar Threads

  1. Need info about the risks and some tips
    By Rubs90 in forum WoW Scams Help
    Replies: 12
    Last Post: 12-02-2008, 05:28 PM
  2. Some info about wintrade
    By edi1611 in forum World of Warcraft General
    Replies: 4
    Last Post: 05-12-2008, 08:08 PM
  3. Some info about future.
    By Lahtaaja in forum World of Warcraft General
    Replies: 4
    Last Post: 02-25-2008, 04:58 PM
  4. Some info on the new 25man(sunwell)
    By mkeg0dn in forum World of Warcraft General
    Replies: 0
    Last Post: 01-13-2008, 09:46 PM
  5. Info about the upcoming Expansion and 2.3/2.4
    By Dragut in forum World of Warcraft General
    Replies: 0
    Last Post: 08-22-2007, 04:54 AM
All times are GMT -5. The time now is 06:35 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search