1 /* |
1 /* |
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
28 #if !defined(_WINDOWS) && !defined(__APPLE__) |
28 #if !defined(_WINDOWS) && !defined(__APPLE__) |
29 |
29 |
30 #include "utilities/decoder.hpp" |
30 #include "utilities/decoder.hpp" |
31 #include "utilities/elfFile.hpp" |
31 #include "utilities/elfFile.hpp" |
32 |
32 |
33 class ElfDecoder: public NullDecoder { |
33 class ElfDecoder : public AbstractDecoder { |
34 |
34 |
35 public: |
35 public: |
36 ElfDecoder() { |
36 ElfDecoder() { |
37 _opened_elf_files = NULL; |
37 _opened_elf_files = NULL; |
38 _decoder_status = no_error; |
38 _decoder_status = no_error; |