summaryrefslogtreecommitdiff
path: root/src/output/sfrt_output_address.c
blob: 019a2dde00751b0bd9afe3431052c03daa042310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>

#include <sofort/sofort.h>

sfrt_api
int sfrt_output_address(const struct sfrt_unit_ctx * uctx, FILE * f)
{
	return fprintf(f,"%*p\n",(int)(2*sizeof(size_t)),uctx->map->addr);
}