library/src/blockclass/BP-BlockClass.cc
// Decodes all instructions in buff buffer till length.
// Local Version: Allocated to local class pointer
Decodes all instructions in buff buffer till length.
Local Version: Allocated to local class pointer
Decodes all instructions in buff buffer till length . Local Version : Allocated to local class pointer
int Block::DbgDecodeInstructions(void *buff, size_t length, size_t index)
{
	if (instructions != NULL) {
		X86_32_DestroyInstructionList(instructions);
		instructions = NULL;
	}
	instructions = X86_32_DecodeInstructions(instructionTable, (unsigned char *) buff, length, (void *) index);
	return ERR_SUCCESS;
}
int Block :: DbgDecodeInstructions ( void * buff , size_t length , size_t index ) { if ( instructions != NULL ) { X86_32_DestroyInstructionList ( instructions ) ; instructions = NULL ; } instructions = X86_32_DecodeInstructions ( instructionTable , ( unsigned char * ) buff , length , ( void * ) index ) ; return ERR_SUCCESS ; }
Decodes all instructions in buff buffer till length.
Decodes all instructions in buff buffer till length .
// bpfree if already allocated // decode instructions at position specified // return indicating success