libwiz.h

来自「Decompilation Dos Program is a technique」· C头文件 代码 · 共 41 行

H
41
字号
/*---------------------------------------------------------------------------*/
// DisC Decompilation Wizard
// written by
// Satish Kumar S
// satish@miel.mot.com
//
// Copyright 1999-2001 Satish Kumar S
//
// Permission is granted to use this software for research purposes as
// long as this notice stays attached to this software.
/*---------------------------------------------------------------------------*/
#ifndef _LIBWIZ_H
#define _LIBWIZ_H

#include <stdio.h>
#include "Global.h"
class TLibWizard
{
#define MAX_NAME_LEN 40
  Byte *Module;			// Points to the Current Module Data.

  Byte *FuncNames;		// Names of functions in current module.
  Word *FuncOffsets;		// Offsets of these fns. in the CODE segment.
  int NumFuncs;			// No of functions in current module.
  Byte *Code;			// Code of the functions in the CODE segment.

  int FindCodeSegment();
  int GetFuncs();
  int EndOfLibrary(FILE *fp);
  int InitLibrary(FILE *fp);
  int LoadNextModule(FILE *fp);
  int CompareFuncs(Byte far *Proc1,Byte far *Proc2);
  void Dump(Byte far *Proc1,Byte far *Proc2);
public:
  TLibWizard();
  ~TLibWizard();
  int CheckInLibrary(char *LibFileName,int NumGivenProcs,\
	Byte far *Procs[],char ProcNames[],int CmpPercent[]);
};

#endif		// LibWizard.h

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?