openocd: opcode parser relicensed

Relicensed version taken from: https://www.andreasheinig.de/project:inject

Change-Id: I740fd7b0c802e8fc6c1c54eb49830faf61dc8a25
This commit is contained in:
Horst Schirmeier
2014-06-03 19:17:05 +02:00
parent c827750090
commit 85ef86b22c
8 changed files with 224 additions and 64 deletions

View File

@ -1,17 +1,37 @@
/* /*
* FAME - Fault Aware Micro-hypervisor Environment * ARM JTAG Fault Injector
* *
* Author: Andreas Heinig <andreas.heinig@gmx.de> * Author: Andreas Heinig <andreas.heinig@gmx.de>
* *
* Copyright (C) 2011,2012 Department of Computer Science, * Copyright (C) 2011-2014 Department of Computer Science,
* Design Automation of Embedded Systems Group * Design Automation of Embedded Systems Group,
* Dortmund University of Technology * Dortmund University of Technology, all rights reserved.
* *
* This program is proprietary software: you must not redistribute it. * Redistribution and use in source and binary forms, with or without
* Using this software is only allowed inside the DFG SPP1500 F.E.H.L.E.R project, * modification, are permitted provided that the following conditions are met:
* ls12-www.cs.tu-dortmund.de/daes/forschung/dependable-embedded-real-time-systems
* *
* The complete license is depicted in the LICENSE file in the top level folder. * 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,17 +1,37 @@
/* /*
* FAME - Fault Aware Micro-hypervisor Environment * ARM JTAG Fault Injector
* *
* Author: Andreas Heinig <andreas.heinig@gmx.de> * Author: Andreas Heinig <andreas.heinig@gmx.de>
* *
* Copyright (C) 2011,2012 Department of Computer Science, * Copyright (C) 2011-2014 Department of Computer Science,
* Design Automation of Embedded Systems Group * Design Automation of Embedded Systems Group,
* Dortmund University of Technology * Dortmund University of Technology, all rights reserved.
* *
* This program is proprietary software: you must not redistribute it. * Redistribution and use in source and binary forms, with or without
* Using this software is only allowed inside the DFG SPP1500 F.E.H.L.E.R project, * modification, are permitted provided that the following conditions are met:
* ls12-www.cs.tu-dortmund.de/daes/forschung/dependable-embedded-real-time-systems
* *
* The complete license is depicted in the LICENSE file in the top level folder. * 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,17 +1,37 @@
/* /*
* FAME - Fault Aware Micro-hypervisor Environment * ARM JTAG Fault Injector
* *
* Author: Andreas Heinig <andreas.heinig@gmx.de> * Author: Andreas Heinig <andreas.heinig@gmx.de>
* *
* Copyright (C) 2011,2012 Department of Computer Science, * Copyright (C) 2011-2014 Department of Computer Science,
* Design Automation of Embedded Systems Group * Design Automation of Embedded Systems Group,
* Dortmund University of Technology * Dortmund University of Technology, all rights reserved.
* *
* This program is proprietary software: you must not redistribute it. * Redistribution and use in source and binary forms, with or without
* Using this software is only allowed inside the DFG SPP1500 F.E.H.L.E.R project, * modification, are permitted provided that the following conditions are met:
* ls12-www.cs.tu-dortmund.de/daes/forschung/dependable-embedded-real-time-systems
* *
* The complete license is depicted in the LICENSE file in the top level folder. * 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,17 +1,37 @@
/* /*
* FAME - Fault Aware Micro-hypervisor Environment * ARM JTAG Fault Injector
* *
* Author: Andreas Heinig <andreas.heinig@gmx.de> * Author: Andreas Heinig <andreas.heinig@gmx.de>
* *
* Copyright (C) 2011,2012 Department of Computer Science, * Copyright (C) 2011-2014 Department of Computer Science,
* Design Automation of Embedded Systems Group * Design Automation of Embedded Systems Group,
* Dortmund University of Technology * Dortmund University of Technology, all rights reserved.
* *
* This program is proprietary software: you must not redistribute it. * Redistribution and use in source and binary forms, with or without
* Using this software is only allowed inside the DFG SPP1500 F.E.H.L.E.R project, * modification, are permitted provided that the following conditions are met:
* ls12-www.cs.tu-dortmund.de/daes/forschung/dependable-embedded-real-time-systems
* *
* The complete license is depicted in the LICENSE file in the top level folder. * 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,17 +1,37 @@
/* /*
* FAME - Fault Aware Micro-hypervisor Environment * ARM JTAG Fault Injector
* *
* Author: Andreas Heinig <andreas.heinig@gmx.de> * Author: Andreas Heinig <andreas.heinig@gmx.de>
* *
* Copyright (C) 2011,2012 Department of Computer Science, * Copyright (C) 2011-2014 Department of Computer Science,
* Design Automation of Embedded Systems Group * Design Automation of Embedded Systems Group,
* Dortmund University of Technology * Dortmund University of Technology, all rights reserved.
* *
* This program is proprietary software: you must not redistribute it. * Redistribution and use in source and binary forms, with or without
* Using this software is only allowed inside the DFG SPP1500 F.E.H.L.E.R project, * modification, are permitted provided that the following conditions are met:
* ls12-www.cs.tu-dortmund.de/daes/forschung/dependable-embedded-real-time-systems
* *
* The complete license is depicted in the LICENSE file in the top level folder. * 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,17 +1,37 @@
/* /*
* FAME - Fault Aware Micro-hypervisor Environment * ARM JTAG Fault Injector
* *
* Author: Andreas Heinig <andreas.heinig@gmx.de> * Author: Andreas Heinig <andreas.heinig@gmx.de>
* *
* Copyright (C) 2011,2012 Department of Computer Science, * Copyright (C) 2011-2014 Department of Computer Science,
* Design Automation of Embedded Systems Group * Design Automation of Embedded Systems Group,
* Dortmund University of Technology * Dortmund University of Technology, all rights reserved.
* *
* This program is proprietary software: you must not redistribute it. * Redistribution and use in source and binary forms, with or without
* Using this software is only allowed inside the DFG SPP1500 F.E.H.L.E.R project, * modification, are permitted provided that the following conditions are met:
* ls12-www.cs.tu-dortmund.de/daes/forschung/dependable-embedded-real-time-systems
* *
* The complete license is depicted in the LICENSE file in the top level folder. * 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,17 +1,37 @@
/* /*
* FAME - Fault Aware Micro-hypervisor Environment * ARM JTAG Fault Injector
* *
* Author: Andreas Heinig <andreas.heinig@gmx.de> * Author: Andreas Heinig <andreas.heinig@gmx.de>
* *
* Copyright (C) 2011,2012 Department of Computer Science, * Copyright (C) 2011-2014 Department of Computer Science,
* Design Automation of Embedded Systems Group * Design Automation of Embedded Systems Group,
* Dortmund University of Technology * Dortmund University of Technology, all rights reserved.
* *
* This program is proprietary software: you must not redistribute it. * Redistribution and use in source and binary forms, with or without
* Using this software is only allowed inside the DFG SPP1500 F.E.H.L.E.R project, * modification, are permitted provided that the following conditions are met:
* ls12-www.cs.tu-dortmund.de/daes/forschung/dependable-embedded-real-time-systems
* *
* The complete license is depicted in the LICENSE file in the top level folder. * 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,17 +1,37 @@
/* /*
* FAME - Fault Aware Micro-hypervisor Environment * ARM JTAG Fault Injector
* *
* Author: Andreas Heinig <andreas.heinig@gmx.de> * Author: Andreas Heinig <andreas.heinig@gmx.de>
* *
* Copyright (C) 2011,2012 Department of Computer Science, * Copyright (C) 2011-2014 Department of Computer Science,
* Design Automation of Embedded Systems Group * Design Automation of Embedded Systems Group,
* Dortmund University of Technology * Dortmund University of Technology, all rights reserved.
* *
* This program is proprietary software: you must not redistribute it. * Redistribution and use in source and binary forms, with or without
* Using this software is only allowed inside the DFG SPP1500 F.E.H.L.E.R project, * modification, are permitted provided that the following conditions are met:
* ls12-www.cs.tu-dortmund.de/daes/forschung/dependable-embedded-real-time-systems
* *
* The complete license is depicted in the LICENSE file in the top level folder. * 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef ARM_OPCODE_H__INCLUDED__ #ifndef ARM_OPCODE_H__INCLUDED__