Code Monkey home page Code Monkey logo

tdinfo-parser's Introduction

TDInfo Parser for IDA

An IDAPython script which parses Turbo/Borland symbolic debug information (aka TDInfo) and imports it into your IDA database.

Inspired by the pwnable.kr challenge dos4fun.
Written with DOS in mind.

Requirements

  • IDA 7.0+ & Python 2/3
  • pip install -Ur requirements.txt

Components

  • tdinfo_structs.py: construct definitions of the different TDInfo structs.
    This file is independent of IDA, and may be utilized to import the symbols into other programs which support Python.
  • tdinfo_parser.py: An IDAPython script which parses the executable (using said definitions) and imports its symbols into the IDA database.

Usage

  1. Consider applying FLIRT signatures (see below).
  2. Press Alt+F7 to load tdinfo_parser.py into IDA.
  3. Call TdinfoParser().apply().

Some Turbo Tips

I'm usually not one for documentations going out of scope, but hey, if you're reading this then you're probably already plucking forgotten pieces of information from arcane niches of the Internet; why shouldn't I chip in?

The following pointers may help get you near your goal:

  • IDA's entry point analysis may fail to recognize that an executable was compiled with a Turbo/Borland compiler.
    You can still import IDA's TCC/BCC symbols manually by loading the compiler's signature file (File -> Load file -> FLIRT signature file...).

  • TD (Turbo Debugger for DOS) โ€“ apart from being a decent debugger โ€“ automatically parses TDInfo symbols.

  • TDump (Turbo Dump) may be used for a more complete parsing of the debug information.

tdinfo-parser's People

Contributors

ramikg avatar tigrouind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.