mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 13:25:45 +02:00
new constructor
This commit is contained in:
parent
08d608864c
commit
8517910db6
2 changed files with 14 additions and 0 deletions
|
@ -32,6 +32,13 @@ public class BinaryObject extends BinaryFile implements IBinaryObject {
|
||||||
hasChanged();
|
hasChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public BinaryObject(IPath p, PE pe) throws IOException {
|
||||||
|
super(p);
|
||||||
|
loadInformation(pe);
|
||||||
|
pe.dispose();
|
||||||
|
hasChanged();
|
||||||
|
}
|
||||||
|
|
||||||
public void setType(int t) {
|
public void setType(int t) {
|
||||||
type = t;
|
type = t;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,6 +40,13 @@ public class BinaryObject extends BinaryFile implements IBinaryObject {
|
||||||
hasChanged();
|
hasChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public BinaryObject(IPath path, ElfHelper helper) throws IOException {
|
||||||
|
super(path);
|
||||||
|
loadInformation(helper);
|
||||||
|
helper.dispose();
|
||||||
|
hasChanged();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.eclipse.cdt.core.model.IBinaryParser.IBinaryObject#getBSS()
|
* @see org.eclipse.cdt.core.model.IBinaryParser.IBinaryObject#getBSS()
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue