about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-03-08 17:43:56 +0100
committerGitHub <noreply@github.com>2018-03-08 17:43:56 +0100
commitba7e5a0f0d6ea91074e740d01433a0477c1008ed (patch)
tree677cf3eb6b476b1b7569a891e911d19750c4fb6e
parent33b13d0b47f8304c9b45e9a1e337b360592a8a87 (diff)
parentbd56a5ad2a207e78b5a6e421dc10069304d069b7 (diff)
downloadmiasm-ba7e5a0f0d6ea91074e740d01433a0477c1008ed.tar.gz
miasm-ba7e5a0f0d6ea91074e740d01433a0477c1008ed.zip
Merge pull request #692 from a-vincent/ignore-bi-on-nonconditional-branch
Allow any condition on non-conditional branches
-rw-r--r--miasm2/arch/ppc/arch.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/miasm2/arch/ppc/arch.py b/miasm2/arch/ppc/arch.py
index d47c2aad..170a005d 100644
--- a/miasm2/arch/ppc/arch.py
+++ b/miasm2/arch/ppc/arch.py
@@ -462,9 +462,7 @@ def ppc_bo_bi_to_mnemo(bo, bi, prefer_taken=True, default_taken=True):
     return mnem
 
 def ppc_all_bo_bi():
-    yield 20, 0
-
-    for bo in [0, 2, 4, 8, 10, 12, 16, 18]:
+    for bo in [0, 2, 4, 8, 10, 12, 16, 18, 20]:
         for bi in xrange(4):
             yield bo, bi