version 1.24, 2016/03/15 04:19:13 |
version 1.25, 2016/08/24 03:13:45 |
|
|
for (pr = endfu->nextpr; pr; pr = pr->nextpr) |
for (pr = endfu->nextpr; pr; pr = pr->nextpr) |
switch(pr->flags) { |
switch(pr->flags) { |
case F_ADDRESS: |
case F_ADDRESS: |
(void)printf(pr->fmt, (quad_t)eaddress); |
(void)printf(pr->fmt, (int64_t)eaddress); |
break; |
break; |
case F_TEXT: |
case F_TEXT: |
(void)printf("%s", pr->fmt); |
(void)printf("%s", pr->fmt); |
|
|
|
|
switch(pr->flags) { |
switch(pr->flags) { |
case F_ADDRESS: |
case F_ADDRESS: |
(void)printf(pr->fmt, (quad_t)address); |
(void)printf(pr->fmt, (int64_t)address); |
break; |
break; |
case F_BPAD: |
case F_BPAD: |
(void)printf(pr->fmt, ""); |
(void)printf(pr->fmt, ""); |
|
|
case F_INT: |
case F_INT: |
switch(pr->bcnt) { |
switch(pr->bcnt) { |
case 1: |
case 1: |
(void)printf(pr->fmt, (quad_t)*bp); |
(void)printf(pr->fmt, (int64_t)*bp); |
break; |
break; |
case 2: |
case 2: |
memmove(&s2, bp, sizeof(s2)); |
memmove(&s2, bp, sizeof(s2)); |
(void)printf(pr->fmt, (quad_t)s2); |
(void)printf(pr->fmt, (int64_t)s2); |
break; |
break; |
case 4: |
case 4: |
memmove(&s4, bp, sizeof(s4)); |
memmove(&s4, bp, sizeof(s4)); |
(void)printf(pr->fmt, (quad_t)s4); |
(void)printf(pr->fmt, (int64_t)s4); |
break; |
break; |
case 8: |
case 8: |
memmove(&s8, bp, sizeof(s8)); |
memmove(&s8, bp, sizeof(s8)); |
|
|
case F_UINT: |
case F_UINT: |
switch(pr->bcnt) { |
switch(pr->bcnt) { |
case 1: |
case 1: |
(void)printf(pr->fmt, (u_quad_t)*bp); |
(void)printf(pr->fmt, (uint64_t)*bp); |
break; |
break; |
case 2: |
case 2: |
memmove(&u2, bp, sizeof(u2)); |
memmove(&u2, bp, sizeof(u2)); |
(void)printf(pr->fmt, (u_quad_t)u2); |
(void)printf(pr->fmt, (uint64_t)u2); |
break; |
break; |
case 4: |
case 4: |
memmove(&u4, bp, sizeof(u4)); |
memmove(&u4, bp, sizeof(u4)); |
(void)printf(pr->fmt, (u_quad_t)u4); |
(void)printf(pr->fmt, (uint64_t)u4); |
break; |
break; |
case 8: |
case 8: |
memmove(&u8, bp, sizeof(u8)); |
memmove(&u8, bp, sizeof(u8)); |