Home | History | Annotate | Download | only in libenc

Lines Matching full:pbuf

191     const unsigned char ** pbuf, Inst * pinst
199 unsigned data_byte = **pbuf;
208 const ModRM& modrm = *(ModRM*)*pbuf;
211 decodeModRM(odesc, pbuf, pinst, rex);
213 decodeModRM(odesc, pbuf, pinst);
228 decodeModRM(odesc, pbuf, pinst, rex);
230 decodeModRM(odesc, pbuf, pinst);
272 ++*pbuf;
277 char offset = *(char*)*pbuf;
278 *pbuf += 1;
281 //pinst->direct_addr = (void*)(pinst->offset + *pbuf);
288 short offset = *(short*)*pbuf;
289 *pbuf += 2;
297 int offset = *(int*)*pbuf;
298 *pbuf += 4;
305 const ModRM& modrm = *(ModRM*)*pbuf;
309 decodeModRM(odesc, pbuf, pinst
319 char ival = *(char*)*pbuf;
322 *pbuf += 1;
327 short ival = *(short*)*pbuf;
330 *pbuf += 2;
335 int ival = *(int*)*pbuf;
338 *pbuf += 4;
344 long long int ival = *(long long int*)*pbuf;
347 *pbuf += 8;
357 ++*pbuf;
369 bool DecoderBase::try_mn(Mnemonic mn, const unsigned char ** pbuf, Inst * pinst) {
370 const unsigned char * save_pbuf = *pbuf;
382 *pbuf = save_pbuf;
385 unsigned char rex_byte = (*pbuf)[0];
396 rex = *(Rex *)*pbuf;
398 (*pbuf)++;
409 rex = *(Rex *)*pbuf;
411 (*pbuf)++;
416 if (memcmp(*pbuf, opcode_ptr, opcode_len)) {
419 *pbuf += opcode_len;
423 if (!decode_aux(odesc, odesc.aux0, pbuf, pinst
431 if (!decode_aux(odesc, odesc.aux1, pbuf, pinst
453 const unsigned char ** pbuf, Inst * pinst
462 //XXX debug ///assert(0x66 != *(*pbuf-2));
463 const ModRM& modrm = *(ModRM*)*pbuf;
464 *pbuf += 1;
484 const SIB& sib = *(SIB*)*pbuf;
488 *pbuf += 1;
513 //update disp and pbuf
516 disp = *(int*)*pbuf;
517 *pbuf += 4;
521 disp = *(char*)*pbuf;
522 *pbuf += 1;
528 disp = *(int*)*pbuf;
529 *pbuf += 4;
533 disp = *(int*)*pbuf;
534 *pbuf += 4;