File: libdpe.c

package info (click to toggle)
pesign 116-8.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,112 kB
  • sloc: ansic: 14,144; sh: 784; makefile: 226
file content (26 lines) | stat: -rw-r--r-- 429 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: GPLv2
/*
 * libdpe.c - miscelanious PE access functions
 * Copyright Peter Jones <pjones@redhat.com>
 * Copyright Red Hat, Inc.
 */
#include <stdio.h>

#include "libdpe_priv.h"

Pe *pe_clone(Pe *pe UNUSED,
	     Pe_Cmd cmd UNUSED)
{
	return NULL;
}

Pe *pe_memory(char *image UNUSED,
	      size_t size UNUSED)
{
	return NULL;
}

Pe_Kind pe_kind(Pe *pe)
{
	return pe == NULL ? PE_K_NONE : pe->kind;
}