#!/usr/sbin/dtrace -s this int32_t hsize; this uint32_t *ht; this uint32_t *pbentry; this int64_t pb; this uint32_t *pb1; /* pid$1::func:entry */ pid$1::flex_log:entry { /* x = copyin(arg0, sizeof(struct pblock)); printf("arg0 = %x arg1= %x arg2 = %x \n", arg0, arg1, arg2); printf("x->hsize = %d x->ht = %p\n", x->hsize, x->ht); ht = arg0 + 4; printf("ht = %p\n", ht); */ this->pb = arg0; this->hsize = (int32_t) *((uint32_t*) copyin(this->pb, 4)); this->ht = copyin(this->pb + 4, 4); printf("Req->vars : "); this->pb1 = copyin(arg2, 4); this->pb = *this->pb1; this->hsize = (int32_t) *((uint32_t*) copyin(this->pb, 4)); this->ht = copyin(this->pb + 4, 4); this->pbentry = copyin(*this->ht, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 4, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 8, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 12, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 16, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 20, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 24, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 28, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 32, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 36, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); printf("\nReq->reqpb : "); this->pb1 = copyin(arg2 + 4, 4); this->pb = *this->pb1; this->hsize = (int32_t) *((uint32_t*) copyin(this->pb, 4)); this->ht = copyin(this->pb + 4, 4); this->pbentry = copyin(*this->ht, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 4, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 8, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 12, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 16, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 20, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 24, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 28, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 32, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 36, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); printf("\nReq->headers : "); this->pb1 = copyin(arg2 + 12, 4); this->pb = *this->pb1; this->hsize = (int32_t) *((uint32_t*) copyin(this->pb, 4)); this->ht = copyin(this->pb + 4, 4); this->pbentry = copyin(*this->ht, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 4, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 8, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 12, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 16, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 20, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 24, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 28, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 32, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 36, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pb1 = copyin(arg2 + 20, 4); this->pb = *this->pb1; this->hsize = (int32_t) *((uint32_t*) copyin(this->pb, 4)); this->ht = copyin(this->pb + 4, 4); this->pbentry = copyin(*this->ht, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 4, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 8, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 12, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 16, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 20, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 24, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 28, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 32, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); this->pbentry = copyin(*this->ht + 36, 4); printf("%s%s%s%s", (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)), 4))) : ""), (*this->pbentry != NULL ? "=\"" : ""), (*this->pbentry != NULL ? copyinstr(*((uint32_t* )copyin(*((uint32_t*)copyin(*this->pbentry, 4)) + 4, 4))) : ""), (*this->pbentry != NULL ? "\" " : "") ); printf("\n"); } dtrace:::END { }