ELFkickers是一组elf工具

源代码在线查看: gen.h

软件大小: 149 K
上传用户: danlong
关键词: ELFkickers elf
下载地址: 免注册下载 普通下载 VIP

相关代码

				/* gen.h: Generic definitions shared throughout the elfparts library.				 *				 * Copyright (C) 1999-2001 by Brian Raiter, under the GNU General				 * Public License. No warranty. See COPYING for details.				 */								#ifndef	_gen_h_				#define	_gen_h_								#include					#include									#ifndef TRUE				#define	TRUE		1				#define	FALSE		0				#endif								/* Allocates memory.				 */				#define	xalloc(p, n)	(((p) = realloc((p), (n))) ? (p)	\								: (assert(!"Out of memory!"), (void*)0))								/* Allocates memory for a part's contents.				 */				#define	palloc(p)	(xalloc((p)->part, (p)->size))								#endif							

相关资源