mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
bug 270790: Mach-O Parser doesn't recognize x86_64 binaries
Non-64 version being deprecated
This commit is contained in:
parent
24ce2c4fb4
commit
fa2c3fcdd0
7 changed files with 29 additions and 2 deletions
|
@ -26,6 +26,11 @@ import org.eclipse.cdt.utils.CPPFilt;
|
||||||
import org.eclipse.cdt.utils.debug.stabs.StabsReader;
|
import org.eclipse.cdt.utils.debug.stabs.StabsReader;
|
||||||
|
|
||||||
// test checkin
|
// test checkin
|
||||||
|
/**
|
||||||
|
* @deprecated. Deprecated as of CDT 6.1. Use 64 bit version {@link MachO64}.
|
||||||
|
* This class is planned for removal in next major release.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public class MachO {
|
public class MachO {
|
||||||
protected ERandomAccessFile efile;
|
protected ERandomAccessFile efile;
|
||||||
|
|
||||||
|
|
|
@ -20,11 +20,15 @@ import org.eclipse.cdt.utils.macho.MachO.Section;
|
||||||
import org.eclipse.cdt.utils.macho.MachO.Symbol;
|
import org.eclipse.cdt.utils.macho.MachO.Symbol;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @deprecated. Deprecated as of CDT 6.1. Use 64 bit version {@link MachOHelper64}.
|
||||||
|
* This class is planned for removal in next major release.
|
||||||
|
* <br>
|
||||||
* <code>MachOHelper</code> is a wrapper class for the <code>MachO</code> class
|
* <code>MachOHelper</code> is a wrapper class for the <code>MachO</code> class
|
||||||
* to provide higher level API for sorting/searching the MachO data.
|
* to provide higher level API for sorting/searching the MachO data.
|
||||||
*
|
*
|
||||||
* @see MachO
|
* @see MachO
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class MachOHelper {
|
public class MachOHelper {
|
||||||
|
|
||||||
private MachO macho;
|
private MachO macho;
|
||||||
|
|
|
@ -22,7 +22,10 @@ import org.eclipse.cdt.utils.macho.AR;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @deprecated. Deprecated as of CDT 6.1. Use 64 bit version {@link MachOBinaryArchive64}.
|
||||||
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class MachOBinaryArchive extends BinaryFile implements IBinaryArchive {
|
public class MachOBinaryArchive extends BinaryFile implements IBinaryArchive {
|
||||||
|
|
||||||
ArrayList<IBinaryObject> children;
|
ArrayList<IBinaryObject> children;
|
||||||
|
|
|
@ -16,6 +16,11 @@ import org.eclipse.cdt.core.IBinaryParser.IBinaryFile;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated. Deprecated as of CDT 6.1. Use 64 bit version {@link MachOBinaryExecutable64}.
|
||||||
|
* This class is planned for removal in next major release.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public class MachOBinaryExecutable extends MachOBinaryObject implements IBinaryExecutable {
|
public class MachOBinaryExecutable extends MachOBinaryObject implements IBinaryExecutable {
|
||||||
|
|
||||||
public MachOBinaryExecutable(IBinaryParser parser, IPath path) {
|
public MachOBinaryExecutable(IBinaryParser parser, IPath path) {
|
||||||
|
|
|
@ -36,9 +36,11 @@ import org.eclipse.cdt.utils.macho.MachOHelper;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
import org.eclipse.core.runtime.Path;
|
import org.eclipse.core.runtime.Path;
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* MachOBinaryObject
|
* @deprecated. Deprecated as of CDT 6.1. Use 64 bit version {@link MachOBinaryObject64}.
|
||||||
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class MachOBinaryObject extends BinaryObjectAdapter {
|
public class MachOBinaryObject extends BinaryObjectAdapter {
|
||||||
|
|
||||||
protected AR.ARHeader header;
|
protected AR.ARHeader header;
|
||||||
|
|
|
@ -16,6 +16,11 @@ import org.eclipse.cdt.core.IBinaryParser.IBinaryShared;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated. Deprecated as of CDT 6.1. Use 64 bit version {@link MachOBinaryShared64}.
|
||||||
|
* This class is planned for removal in next major release.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public class MachOBinaryShared extends MachOBinaryObject implements IBinaryShared {
|
public class MachOBinaryShared extends MachOBinaryObject implements IBinaryShared {
|
||||||
|
|
||||||
protected MachOBinaryShared(IBinaryParser parser, IPath path) {
|
protected MachOBinaryShared(IBinaryParser parser, IPath path) {
|
||||||
|
|
|
@ -24,7 +24,10 @@ import org.eclipse.core.runtime.IPath;
|
||||||
import org.eclipse.core.runtime.Path;
|
import org.eclipse.core.runtime.Path;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @deprecated. Deprecated as of CDT 6.1. Use 64 bit version {@link MachOParser64}.
|
||||||
|
* This class is planned for removal in next major release.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class MachOParser extends AbstractCExtension implements IBinaryParser {
|
public class MachOParser extends AbstractCExtension implements IBinaryParser {
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
|
|
Loading…
Add table
Reference in a new issue