mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 03:45:35 +02:00
New clasess IBinary{Element,Module,Variable,Function}
to core the binary API
This commit is contained in:
parent
53b11edee4
commit
a8f37dc4b4
4 changed files with 63 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
||||||
|
package org.eclipse.cdt.core.model;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
*/
|
||||||
|
public interface IBinaryElement extends ICElement {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the address of the function. This method will return,
|
||||||
|
* the address of a symbol for children of IBinaryObject.
|
||||||
|
*
|
||||||
|
* @exception CModelException if this element does not have address
|
||||||
|
* information.
|
||||||
|
*/
|
||||||
|
long getAddress() throws CModelException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the binary object the element belongs to.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
IBinary getBinary();
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
package org.eclipse.cdt.core.model;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a function.
|
||||||
|
*/
|
||||||
|
public interface IBinaryFunction extends IFunction, IBinaryElement {
|
||||||
|
}
|
|
@ -0,0 +1,13 @@
|
||||||
|
package org.eclipse.cdt.core.model;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
*/
|
||||||
|
public interface IBinaryModule extends IParent, IBinaryElement {
|
||||||
|
|
||||||
|
IBinaryElement[] getBinaryElements();
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
package org.eclipse.cdt.core.model;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* (c) Copyright IBM Corp. 2000, 2001.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a global variable.
|
||||||
|
*/
|
||||||
|
public interface IBinaryVariable extends IVariable , IBinaryElement {
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue