mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
21 lines
529 B
C
21 lines
529 B
C
#pragma once
|
|
|
|
/*
|
|
* This file is distributed under the MIT License. See LICENSE.md for details.
|
|
*/
|
|
|
|
#include <inttypes.h>
|
|
#include <stdio.h>
|
|
|
|
#include "revng/Runtime/PlainMetaAddress.h"
|
|
|
|
static int fprint_metaaddress(FILE *stream, PlainMetaAddress *address) {
|
|
return fprintf(stream,
|
|
"{ 0x%" PRIx32 ", 0x%" PRIx16 ", 0x%" PRIx16 ", 0x%" PRIx64
|
|
" }",
|
|
address->Epoch,
|
|
address->AddressSpace,
|
|
address->Type,
|
|
address->Address);
|
|
}
|