ida js w/dbg


Author: David Zimmer
Date: 10.18.15 - 3:56am



So I finally found some free time this weekend to integrate the duktape debugger activex control I created with the original IDA JScript interface.Only took about 5hrs to get it swapped out and working.



Select your Version of IDA:

The old version only works on 32bit disassemblies. The newer version now supports 32 and 64bit disassemblies.



quick overview:
  • script ida using javascript
  • full syntax highlighting, brace matching, auto indent, tool tips
  • intellisense
  • full debugger support, step in/out/over, breakpoints, mouse over variable vals
  • debugger cmdline to query/set vals, run functions etc
  • small IDA plugin as an IPC server with main UI as running out of process to simplify development.
  • currently supports following api at time of writing:
    • list object: AddItem Clear ListCount Enabled
    • fso object: ReadFile WriteFile AppendFile FileExists DeleteFile OpenFileDialog SaveFileDialog
    • app object: die intToHex t ClearLog Caption alert getClipboard setClipboard BenchMark AskValue Exec EnableIDADebugMessages
    • ida object: isUp Message MakeStr MakeUnk LoadedFile() PatchString PatchByte GetAsm InstSize XRefsTo XRefsFrom GetName FunctionName HideBlock ShowBlock Setname AddComment GetComment AddCodeXRef AddDataXRef DelCodeXRef DelDataXRef FuncVAByName RenameFunc Find Decompile Jump JumpRVA refresh Undefine ShowEA HideEA RemoveName MakeCode FuncIndexFromVA NextEA PrevEA funcCount() NumFuncs() FunctionStart FunctionEnd ReadByte OriginalByte ImageBase() ScreenEA() QuickCall
    • remote object: ScanProcess ResolveExport ip response
    • x64 object: add subtract toHex







Credits:




Comments: (1)

On 09.30.17 - 3:09am Dave wrote:
IDA Compare will need similar updates and might just get converted to use IDASRVR as well and move the IDB exporter to the out of process GUI part. In practice it may take a while not because its hard, but because I dont care. I still use IDA 6.7 despite having access to the newer versions for exactly these types of upgrade reasons.

 
Leave Comment:
Name:
Email: (not shown)
Message: (Required)
Math Question: 36 + 61 = ? followed by the letter: X 



About Me
More Blogs
Main Site
Posts: (All)
2023 ( 1 )
2022 ( 5 )
2021 ( 2 )
2020 ( 5 )
2019 ( 6 )
2017 ( 5 )
2016 ( 4 )
2015 (6)
     SysAnalyzer and Site Updates
     crazy decoder
     ida js w/dbg
     flash patching #2
     JS Graphing
     packet reassembly
2014 (5)
     Delphi IDA Plugin
     scdbg IDA integration
     API Hash Database
     Winmerge plugin
     IDACompare Updates
2013 ( 9 )
2012 ( 13 )
2011 ( 19 )
2010 ( 11 )
2009 ( 1 )