Skip to content
Snippets Groups Projects
  1. Apr 18, 2019
  2. Jan 11, 2019
  3. Dec 18, 2017
  4. Oct 25, 2017
  5. Mar 07, 2017
    • Peter Maydell's avatar
      disas/arm: Avoid unintended sign extension · 43c227f9
      Peter Maydell authored
      
      When assembling 'given' from the instruction bytes, C's integer
      promotion rules mean we may promote an unsigned char to a signed
      integer before shifting it, and then sign extend to a 64-bit long,
      which can set the high bits of the long.  The code doesn't in fact
      care about the high bits if the long is 64 bits, but this is
      surprising, so don't do it.
      
      (Spotted by Coverity, CID 1005404.)
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1488556233-31246-7-git-send-email-peter.maydell@linaro.org
      43c227f9
  6. Sep 22, 2016
  7. Jul 19, 2016
  8. Jul 18, 2016
  9. Jan 29, 2016
    • Peter Maydell's avatar
      arm: Clean up includes · 8ef94f0b
      Peter Maydell authored
      
      Clean up includes so that osdep.h is included first and headers
      which it implies are not included manually.
      
      This commit was created with scripts/clean-includes.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1453832250-766-13-git-send-email-peter.maydell@linaro.org
      8ef94f0b
  10. Nov 17, 2015
  11. Mar 10, 2015
    • Stefan Weil's avatar
      disas/arm: Fix warnings caused by missing 'static' attribute · 35ff0798
      Stefan Weil authored
      
      Warnings from the Sparse static analysis tool:
      
      disas/arm.c:1552:15: warning:
       symbol 'last_type' was not declared. Should it be static?
      disas/arm.c:1553:5: warning:
       symbol 'last_mapping_sym' was not declared. Should it be static?
      disas/arm.c:1554:9: warning:
       symbol 'last_mapping_addr' was not declared. Should it be static?
      
      Instead of adding 'static', the unused variables and the unused code which
      refers to those variables (which was deactivated a long time ago in
      commit 4b0f1a8b) are removed.
      
      Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
      Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
      35ff0798
  12. Apr 27, 2013
  13. Dec 19, 2012
  14. Dec 02, 2011
  15. Jan 12, 2011
  16. Dec 04, 2010
    • Stefan Weil's avatar
      *-dis: Replace fprintf_ftype by fprintf_function (format checking) · 6e2d864e
      Stefan Weil authored
      
      This patch adds more printf format checking.
      
      Additional modifications were needed for this code change:
      
      * alpha-dis.c: The local definition of MAX conflicts with
        a previous definition from osdep.h, so add an #undef.
      
      * dis-asm.h: Add include for fprintf_function (qemu-common.h).
        The standard (now redundant) includes are removed.
      
      * mis-dis.c: The definition of ARRAY_SIZE is no longer needed
        and must be removed (conflict with previous definition from
        qemu-common.h).
      
      * sh4-dis.c: Remove some unneeded forward declarations.
      
      Cc: Blue Swirl <blauwirbel@gmail.com>
      Signed-off-by: default avatarStefan Weil <weil@mail.berlios.de>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      6e2d864e
  17. Apr 25, 2010
  18. Apr 13, 2010
  19. Feb 27, 2010
    • Stefan Weil's avatar
      arm host: Fix linker warning (m68k targets) · e3b283e9
      Stefan Weil authored
      
      Compilation of m68k-softmmu or m68k-linux-user on arm host
      (or cross compilation for arm) results in a linker warning:
      
        LINK  m68k-softmmu/qemu-system-m68k
      m68k-dis.o: warning: definition of `floatformat_ieee_single_little' overriding common
      arm-dis.o: warning: common is here
      /usr/lib/gcc/arm-linux-gnueabi/4.3.2/../../../../arm-linux-gnueabi/bin/ld: Warning: size of symbol `floatformat_ieee_single_little' changed from 4 in arm-dis.o to 48 in m68k-dis.o
      
      floatformat_ieee_single_little is declared in arm-dis.c and m68k-dis.c,
      and both declarations don't match, so this is an error.
      
      The symbol is not needed in arm-dis.c, so I removed it there.
      
      Signed-off-by: default avatarStefan Weil <weil@mail.berlios.de>
      Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
      e3b283e9
  20. Oct 05, 2009
  21. Jul 16, 2009
  22. Mar 07, 2009
  23. Nov 10, 2007
  24. Sep 17, 2007
  25. Sep 16, 2007
  26. Apr 27, 2005
  27. Jul 09, 2003
  28. Jun 09, 2003
Loading