Prv8 Shell
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4
System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64
User : jackjohn ( 502)
PHP Version : 5.3.17
Disable Function : NONE
Directory :  /usr/bin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/bin/db_codegen
ELF>@@0^@8@@@@@@@@@@KK KK`K` LL`L`@@DDPtdxJxJ@xJ@44Qtd/lib64/ld-linux-x86-64.so.2GNUGNU7}18/TV
 a@	"|CEkqXa*  H=o4+}A9I21ZmO`ZN`}O`aN`O`T@i%@)z V$3c&z V3&z VT&z VWs ui	ii
ii
ui	ti	M`M`M`
M`M`M` M`N` N`(N`0N`8N`@N`HN`	PN`XN``N`
hN`pN`xN`N`N`N`N`N`N`N`N`H2=H5B %B @%B h%B h%B h%B h%B h%B h%B h%B hp%B h`%B h	P%B h
@%B h0%B h %B h
%zB h%rB h%jB h%bB h%ZB h%RB h%JB h1I^HHPTI$@H$@Hp
@HHA HtHÐUHSH=A uKK`HA HK`HHH9s$fDHHA K`HA H9rA H[fff.H=> UHtHtL`ÐH\$Hl$HLd$Ll$ALt$L|$HHL%1@ I$Md$H>H5@ HHHHL5SH$E1HHDfV vMH? HHH81H\$Hl$ Ld$(Ll$0Lt$8L|$@HHDIcLDH? HH$mDHa? H5/HHX? H8H?R8IH1? HHLH(? H81ND@H> H5E1HHHD$?H|$H5&tjH|$H5ztUH|$H5iA@111H5MH¿11AEDHEH"@H!> D;(CH> H8	¸JI<$tHEuH<$M(Aw'H= HH811AWHcH5jAVAUATUSHHHHDHHHe> HhHǾ1H=B> H1wH-= LeMEL$ EFI\$8Hu)[HH== HW1+H[PHt4ED$ EuLI$HRH== 1H[PHuMd$(M}H== HB1LeMRI\$8HuMfHH=V= H1HT< HH"H81kH[PHtUH{0tH== HH"1>{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	;H0 H@PH0 HP@H0 HPXH/ H/ H@@HH/ H/ HPHP@H/ H*HP/ 0H|$H5j*u+|$V=q/ IHt/ @(H|$H51*|$=-/ H0/ @@H/ Ht$(1#H. H@8H. HP8HP@H. H@(H- H. HHHJ0HPH
. H
H. HJ(HHHE)HB. H|$H5`)|$9=T. ,HO- HT$(11MAH0HT$xH). PHT$xH
. 11MAPHT$(I7HT$xH- 11MAPHT$(I7wyHT$xH- P+H|$H5(tjH|$H5{(u}|$D=_- 7HZ, HT$(11MAH0HT$xH4- P|$=
- H
- H H|$H5'Cu-|$=, H, H0H|$H5'u+|$p=, cH, @DH|$H5'uU|$0=K, #HF+ HT$(11MAH0HT$xH , PH|$H5'W|$=+ L=* HT$(11MAI7vxHT$xH+ 11MAP<HT$0I7EGHT$xH+ P8H|$H5&u9|$'=B+ H=+ H>+ BH@$H|$H5&j;|$=* HD$(H5&HHD$1H5%tXH|$H5%H5%t<H|$H5%H5%t H|$H5%SH5%Hw* 1HL~E* fffff.Hl$Ld$H-' L%' Ll$Lt$L|$H\$H8L)AIHIHt1@LLDAHH9rH\$Hl$Ld$Ll$ Lt$(L|$0H8ÐUHSHH& HtK`DHHHuH[ÐH?Hc++cxxjavar%s: %s: %s
a:i:o:Vvusage: %s [-Vv] [-a c] [-i input] [-o output]
C++ and Java APIs not yet supported
8P8application.cw },
 }
};

NULL_comparebdb__dbenv&_callback#include <sys/types.h>
#include <sys/stat.h>

#include <errno.h>
#include <stdlib.h>
#include <string.h>

#ifdef _WIN32
#include <direct.h>

#define	mkdir(dir, perm)	_mkdir(dir)
#endif

#include "db.h"

/* Global environment and database handles for use by the application */
DB_ENV	*%s_dbenv;			/* Database environment handle */
DB	*%s;			/* Database handle */
DB	*%s_%s;			/* Database handle */

/* Public functions for use by the application */
int bdb_startup(void);
int bdb_shutdown(void);

static int
bdb_%s_callback(DB *secondary, const DBT *key, const DBT *data , DBT *result)
{
	secondary->errx(secondary,
	    "%s: missing callback comparison function");
	return (DB_DONOTINDEX);
}
Warning: you must write a comparison function for the %s database
	result->data = &((u_int8_t *)data->data)[%d];
	result->size = %d;
	return (0);
}

static int bdb_%s_compare(DB *, const DBT *, const DBT *);

static int
bdb_%s_compare(DB *dbp, const DBT *a, const DBT *b)
{
	%s ai, bi;

	memcpy(&ai, a->data, sizeof(ai));
	memcpy(&bi, b->data, sizeof(bi));
	return (ai < bi ? -1 : (ai > bi ? 1 : 0));
}

/* DB_ENV initialization structures */
typedef struct {
	DB_ENV **envpp;
	char *home;
	u_int32_t gbytes;
	u_int32_t bytes;
	u_int32_t ncache;
	int private;
	int transaction;
} env_list_t;
static env_list_t env_list[] = {
%s	{ &%s_dbenv, "%s", %lu, %lu, %lu, %d, %d/* DB initialization structures */
typedef struct db_list_t {
	DB_ENV **envpp;
	DB **dbpp;
	char *name;
	DBTYPE type;
	u_int32_t extentsize;
	u_int32_t pagesize;
	u_int32_t re_len;
	int (*key_compare)(DB *, const DBT *, const DBT *);
	DB **primaryp;
	int (*secondary_callback)(DB *, const DBT *, const DBT *, DBT *);
	int dupsort;
	int recnum;
	int transaction;
} db_list_t;
static db_list_t db_list[] = {
%s	{ %s%s%s, &%s%s%s, "%s", %s, %lu, %lu, %lu,
		%s%s%s, %s%s%s%s, %s%s%s, %d, %d, %d#ifdef BUILD_STANDALONE
int
main()
{
	return (bdb_startup() && bdb_shutdown() ? EXIT_FAILURE : EXIT_SUCCESS);
}
#endif

static int bdb_env_startup(env_list_t *);
static int bdb_env_shutdown(env_list_t *);
static int bdb_db_startup(db_list_t *);
static int bdb_db_shutdown(db_list_t *);

/*
 * bdb_startup --
 *	Start up the environments and databases.
 */
int
bdb_startup()
{
	u_int i;

	/* Open environments. */
	for (i = 0; i < sizeof(env_list) / sizeof(env_list[0]); ++i)
		if (bdb_env_startup(&env_list[i]))
			return (1);
	/* Open primary databases. */
	for (i = 0; i < sizeof(db_list) / sizeof(db_list[0]); ++i)
		if (db_list[i].primaryp == NULL &&
		    bdb_db_startup(&db_list[i]))
			return (1);
	/* Open secondary databases. */
	for (i = 0; i < sizeof(db_list) / sizeof(db_list[0]); ++i)
		if (db_list[i].primaryp != NULL &&
		    bdb_db_startup(&db_list[i]))
			return (1);
	return (0);
}

/*
 * bdb_shutdown --
 *	Shut down the environments and databases.
 */
int
bdb_shutdown()
{
	u_int i;

	/* Close secondary databases. */
	for (i = 0; i < sizeof(db_list) / sizeof(db_list[0]); ++i)
		if (db_list[i].primaryp != NULL &&
		    bdb_db_shutdown(&db_list[i]))
			return (1);
	/* Close primary databases. */
	for (i = 0; i < sizeof(db_list) / sizeof(db_list[0]); ++i)
		if (db_list[i].primaryp == NULL &&
		    bdb_db_shutdown(&db_list[i]))
			return (1);
	/* Close environments. */
	for (i = 0; i < sizeof(env_list) / sizeof(env_list[0]); ++i)
		if (bdb_env_shutdown(&env_list[i]))
			return (1);
	return (0);
}

static int
bdb_env_startup(env_list_t *ep)
{
	struct stat sb;
	DB_ENV *dbenv;
	u_int32_t open_flags;
	int ret;

	/*
	 * If the directory doesn't exist, create it with permissions limited
	 * to the owner.  Assume errors caused by the directory not existing;
	 * we'd like to avoid interpreting system errors and it won't hurt to
	 * attempt to create an existing directory.
	 *
	 * !!!
	 * We use octal for the permissions, nothing else is portable.
	 */
	if (stat(ep->home, &sb) != 0)
		(void)mkdir(ep->home,  0700);

	/*
	 * If the environment is not transactional, remove and re-create it.
	 */
	if (!ep->transaction) {
		if ((ret = db_env_create(&dbenv, 0)) != 0) {
			fprintf(stderr, "db_env_create: %%s", db_strerror(ret));
			return (1);
		}
		if ((ret = dbenv->remove(dbenv, ep->home, DB_FORCE)) != 0) {
			dbenv->err(dbenv, ret,
			    "DB_ENV->remove: %%s", ep->home);
			goto err;
		}
	}

	/*
	 * Create the DB_ENV handle and initialize error reporting.
	 */
	if ((ret = db_env_create(&dbenv, 0)) != 0) {
		fprintf(stderr, "db_env_create: %%s", db_strerror(ret));
		return (1);
	}
	dbenv->set_errpfx(dbenv, ep->home);
	dbenv->set_errfile(dbenv, stderr);

	 /* Configure the cache size. */
	if ((ep->gbytes != 0 || ep->bytes != 0) &&
	    (ret = dbenv->set_cachesize(dbenv,
	    ep->gbytes, ep->bytes, ep->ncache)) != 0) {
		dbenv->err(dbenv, ret, "DB_ENV->set_cachesize");
		goto err;
	}

	/*
	 * Open the environment.
	 */
	open_flags = DB_CREATE | DB_INIT_MPOOL | DB_THREAD;
	if (ep->private)
		open_flags |= DB_PRIVATE;
	if (ep->transaction)
		open_flags |= DB_INIT_LOCK |
		    DB_INIT_LOG | DB_INIT_TXN | DB_RECOVER;
	if ((ret = dbenv->open(dbenv, ep->home, open_flags, 0)) != 0) {
		dbenv->err(dbenv, ret, "DB_ENV->open: %%s",  ep->home);
		goto err;
	}

	*ep->envpp = dbenv;
	return (0);

err:	(void)dbenv->close(dbenv, 0);
	return (1);
}

static int
bdb_db_startup(db_list_t *dp)
{
	DB_ENV *dbenv;
	DB *dbp;
	int ret;

	dbenv = dp->envpp == NULL ? NULL : *dp->envpp;

	/*
	 * If the database is not transactional, remove it and re-create it.
	 */
	if (!dp->transaction) {
		if ((ret = db_create(&dbp, dbenv, 0)) != 0) {
			if (dbenv == NULL)
				fprintf(stderr,
				    "db_create: %%s\n", db_strerror(ret));
			else
				dbenv->err(dbenv, ret, "db_create");
			return (1);
		}
		if ((ret = dbp->remove(
		    dbp, dp->name, NULL, 0)) != 0 && ret != ENOENT) {
			if (dbenv == NULL)
				fprintf(stderr,
				    "DB->remove: %%s: %%s\n",
				    dp->name, db_strerror(ret));
			else
				dbenv->err(
				    dbenv, ret, "DB->remove: %%s", dp->name);
			return (1);
		}
	}

	if ((ret = db_create(&dbp, dbenv, 0)) != 0) {
		if (dbenv == NULL)
			fprintf(stderr, "db_create: %%s\n", db_strerror(ret));
		else
			dbenv->err(dbenv, ret, "db_create");
		return (1);
	}
	if (dbenv == NULL) {
		dbp->set_errpfx(dbp, dp->name);
		dbp->set_errfile(dbp, stderr);
	}

	if (dp->dupsort && (ret = dbp->set_flags(dbp, DB_DUPSORT)) != 0) {
		dbp->err(dbp, ret, "DB->set_flags: DB_DUPSORT: %%s", dp->name);
		goto err;
	}

	if (dp->recnum && (ret = dbp->set_flags(dbp, DB_RECNUM)) != 0) {
		dbp->err(dbp, ret, "DB->set_flags: DB_RECNUM: %%s", dp->name);
		goto err;
	}

	if (dp->extentsize != 0 &&
	    (ret = dbp->set_q_extentsize(dbp, dp->extentsize)) != 0) {
		dbp->err(dbp, ret,
		    "DB->set_q_extentsize: %%lu: %%s",
		    (u_long)dp->extentsize, dp->name);
		goto err;
	}

	if (dp->pagesize != 0 &&
	    (ret = dbp->set_pagesize(dbp, dp->pagesize)) != 0) {
		dbp->err(dbp, ret,
		    "DB->set_pagesize: %%lu: %%s",
		    (u_long)dp->pagesize, dp->name);
		goto err;
	}

	if (dp->re_len != 0 &&
	    (ret = dbp->set_re_len(dbp, dp->re_len)) != 0) {
		dbp->err(dbp, ret,
		    "DB->set_re_len: %%lu: %%s",
		    (u_long)dp->re_len, dp->name);
		goto err;
	}

	if (dp->key_compare != NULL &&
	    (ret = dbp->set_bt_compare(dbp, dp->key_compare)) != 0) {
		dbp->err(dbp, ret, "DB->set_bt_compare");
		goto err;
	}

	if ((ret = dbp->open(dbp, NULL, dp->name, NULL, dp->type,
	    (dp->transaction ? DB_AUTO_COMMIT : 0) |
	    DB_CREATE | DB_THREAD, 0)) != 0) {
		dbp->err(dbp, ret, "DB->open: %%s", dp->name);
		goto err;
	}

	if (dp->primaryp != NULL &&
	    (ret = dbp->associate(*dp->primaryp,
	    NULL, dbp, dp->secondary_callback, DB_CREATE)) != 0) {
		dbp->err(dbp, ret, "DB->associate: %%s", dp->name);
		goto err;
	}

	*dp->dbpp = dbp;
	return (0);

err:	(void)dbp->close(dbp, 0);
	return (1);
}

static int
bdb_env_shutdown(env_list_t *ep)
{
	DB_ENV *dbenv;
	int ret;

	dbenv = ep->envpp == NULL ? NULL : *ep->envpp;
	ret = 0;

	if (dbenv != NULL && (ret = dbenv->close(dbenv, 0)) != 0)
		fprintf(stderr,
		    "DB_ENV->close: %%s: %%s\n", ep->home, db_strerror(ret));
	return (ret == 0 ? 0 : 1);
}

static int
bdb_db_shutdown(db_list_t *dp)
{
	DB_ENV *dbenv;
	DB *dbp;
	int ret;

	dbenv = dp->envpp == NULL ? NULL : *dp->envpp;
	dbp = *dp->dbpp;
	ret = 0;

	/*
	 * If the database is transactionally protected, close without writing;
	 * dirty pages; otherwise, flush dirty pages to disk.
	 */
	if (dbp != NULL &&
	    (ret = dbp->close(dbp, dp->transaction ? DB_NOSYNC : 0)) != 0) {
		if (dbenv == NULL)
			fprintf(stderr,
			    "DB->close: %%s: %%s\n", dp->name, db_strerror(ret));
		else
			dbenv->err(dbenv, ret, "DB->close: %%s", dp->name);
	}
	return (ret == 0 ? 0 : 1);
}
%s: %d: line too longenvironment{.homecachesizeprivatedatabaseDB_BTREEcustomdupsortextentsizekey_typepagesizeprimaryrecnumre_lensecondary_offsettransactionbtreehashDB_HASHqueueDB_QUEUErecnoDB_RECNO}%s: line %d: %s: invalid input
;4P8 H8zRx,MMNP
FLL@<	BPB B(A0A8J
8A0A(B BBBAL0(BBB B(D0F8G}
8A0A(B BBBA$Q_@Xr@
%@o`@O`@
N`	@`@	o@oo@o@oPoP`oO`<x1x14y1O`x1L`.@@O1PO1`L1oF1`A1lF1R1M1@B1pH1R11 %P1cF1@F1P1M1O1PR1libdb-4.7.so__gmon_start___Jv_RegisterClassesdb_strerror__os_callocdb_version_init__config_split_fini__db_getulong__os_strdup__db_rpathlibpthread.so.0__errno_locationlibc.so.6__printf_chkfopenoptind__stack_chk_failstdinfgetsgetopt__fprintf_chkfclosestrcasecmp__ctype_b_locoptargstderrfreopenstrchr__libc_start_main_edata__bss_start_end/usr/lib64env_treeprognameGLIBC_2.2.5GLIBC_2.4GLIBC_2.3GLIBC_2.3.4/lib64/ld-linux-x86-64.so.2(N`%MH1xN`%`G1@w1%9H1w1%MH1w1%H1w1%PH1@w1%@,H1h"w1%0H1"w1%`G1 'w1%G1 (w1%H1)w1%4H1*w1%,H1111(1%9H1耡1%PH1x1%G10x18x1@x1`x1xx1x1@1xx1x1x1Px1`x1x1x1%MH10x1%oH1!1G1!1G1!1 G1!1 G1!1 G1!1 G1ELF>@@O@8@@@@@@@@@@KK KK`K`8 LL`L`@@DDPtdxJxJ@xJ@44Qtd@@ !<@<$4o`@`@>@HF@No@F[o@pj`@`t	@	~@y@`@%@%%@%$xJ@xJ4J@J,K`KK`KL`LL`LM`M8N`NN`NN`NHN.shstrtab.interp.note.ABI-tag.note.gnu.build-id.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.text.fini.rodata.eh_frame_hdr.eh_frame.ctors.dtors.jcr.dynamic.got.got.plt.data.bss.gnu.liblist.gnu.conflict.gnu.prelink_undo@@ !<@<$4o`@`@>@Ho@PNo@F[o@pj`@`t	@	~@y@`@%@%%@%$xJ@xJ4J@J,K`KK`KL`LL`LM`M8N`NN`NN`NHFO`OP`PT]

haha - 2025