• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/dtrace-147/libdtrace/

Lines Matching refs:text

91 	uint8_t *text;
97 * instructions, we will have two modes: text and data. For our table, we will have three
98 * values: TYPE_SAME - continue in previous mode; TYPE_TEXT - switch to text; TYPE_DATA -
102 * we see a branch, we assume that is the beginning of more text.
123 if ((text = calloc(1, symp->st_size + 4)) == NULL) {
130 free(text);
141 text = text + 2;
143 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) {
145 free(text);
166 uint32_t* limit = (uint32_t*) (text + ftp->ftps_size);
167 uint32_t* inst = (uint32_t*) text;
172 offset = (ulong_t) inst - (ulong_t) text;
200 constants[(ulong_t) target - (ulong_t) text] = TYPE_DATA;
211 if (inst > text) {
235 constants[(ulong_t) target - (ulong_t) text] = TYPE_TEXT;
236 if (target < text || limit <= target)
247 offset = (ulong_t) inst - (ulong_t) text;
254 uint16_t* limit = (uint16_t*) (text + ftp->ftps_size);
255 uint16_t* inst = (uint16_t*) text;
260 offset = (ulong_t) inst - (ulong_t) text;
285 constants[(ulong_t) target - (ulong_t) text] = TYPE_DATA;
296 constants[(ulong_t) target - (ulong_t) text] = TYPE_DATA;
310 constants[(ulong_t) target - (ulong_t) text] = TYPE_TEXT;
311 if (target < text || limit <= target)
323 constants[(ulong_t) target - (ulong_t) text] = TYPE_TEXT;
324 if (target < text || limit <= target)
338 offset = (ulong_t) inst - (ulong_t) text;
348 constants[(ulong_t) target - (ulong_t) text] = TYPE_DATA;
363 constants[(ulong_t) target - (ulong_t) text] = TYPE_TEXT;
364 if (target < text || limit <= target)
371 constants[(ulong_t) target - (ulong_t) text] = TYPE_TEXT;
372 if (target < text || limit <= target)
383 offset = (ulong_t) inst - (ulong_t) text;
393 text = text - 2;
394 free(text);
412 uint8_t *text;
426 if ((text = calloc(1, symp->st_size + 4)) == NULL) {
431 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) {
433 free(text);
437 uint32_t* limit = (uint32_t*) (text + ftp->ftps_size);
438 uint32_t* inst = (uint32_t*) text;
448 if (target < (uint32_t) text || (uint32_t) limit <= target) {
462 dt_dprintf("return at offset %lx Arm64\n", (ulong_t) inst - (ulong_t) text);
463 ftp->ftps_offs[ftp->ftps_noffs++] = (ulong_t) inst - (ulong_t) text;
467 free(text);