1 /*******************************************************************************
2 * Copyright (c) 2015 EfficiOS Inc., Alexandre Montplaisir
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *******************************************************************************/
10 package org
.eclipse
.tracecompass
.internal
.lttng2
.ust
.core
.analysis
.debuginfo
;
13 * Simple extension to {@link UstDebugInfoBinaryFile} that adds the base address at
14 * which the given binary or library is loaded.
16 * @author Alexandre Montplaisir
18 public class UstDebugInfoLoadedBinaryFile
extends UstDebugInfoBinaryFile
{
20 private final long baseAddress
;
26 * The base address at which the binary or library is loaded
28 * The file path of the loaded binary/library
30 * The build ID of the binary object
32 public UstDebugInfoLoadedBinaryFile(long baseAddress
, String filePath
, String buildId
) {
33 super(filePath
, buildId
);
34 this.baseAddress
= baseAddress
;
38 * Return the base address at which the object is loaded.
40 * @return The base address
42 public long getBaseAddress() {