Lines Matching defs:code
38 // a code pattern is a list of tuples (start offset, length)
47 /* Scan for a pattern in the code of an ELF object.
52 unsigned char code[], struct pattern* pat)
63 obj->name, pat->name, pat->chunk[0].len, code[0], code[1], code[2]);
68 found = (VG_(memcmp)( (void*)addr, code, pat->chunk[0].len) == 0);
81 code[start], code[start+1], code[start+2]);
83 if (VG_(memcmp)( (void*)(addr+start), code+start, len) != 0) {
125 static unsigned char code[] = {
143 if (check_code(obj, code, &pat)) return True;
149 static unsigned char code[] = {
171 return check_code(obj, code, &pat);
175 static unsigned char code[] = {
193 return check_code(obj, code, &pat);
431 // for generated code in anonymous space, pSegInfo is 0
545 /* BB in runtime_resolve found by code check; use this name */