commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2020-01-30 09:38:26 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new.26092 (New) Package is "libx86emu" Thu Jan 30 09:38:26 2020 rev:30 rq:768059 version:3.1 Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2020-01-23 16:08:26.415547883 +0100 +++ /work/SRC/openSUSE:Factory/.libx86emu.new.26092/libx86emu.changes 2020-01-30 09:39:03.885415096 +0100 @@ -1,0 +2,19 @@ +Tue Jan 28 14:19:00 UTC 2020 - wfe...@opensuse.org + +- merge gh#wfeldt/libx86emu#28 +- update README to explain about library versions +- adjust code to compile with older C standards +- 3.1 + + +Mon Jan 27 17:38:19 UTC 2020 - wfe...@opensuse.org + +- merge gh#wfeldt/libx86emu#27 +- rework (i)div and (i)mul instructions +- fix typo +- add (i)div opcode tests +- rework (i)mul instructions to set flags correctly +- add (i)mul tests +- 3.0 + + Old: libx86emu-2.6.tar.xz New: libx86emu-3.1.tar.xz Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.EJQFo2/_old 2020-01-30 09:39:04.329415333 +0100 +++ /var/tmp/diff_new_pack.EJQFo2/_new 2020-01-30 09:39:04.333415336 +0100 @@ -22,7 +22,7 @@ Summary:An x86 emulation library License:BSD-3-Clause Group: Development/Libraries/C and C++ -Version:2.6 +Version:3.1 Release:0 Source: %{name}-%{version}.tar.xz Url:https://github.com/wfeldt/libx86emu @@ -32,18 +32,18 @@ An x86 emulation library with focus on usage and execution logging functions. -%package -n libx86emu2 +%package -n libx86emu3 Summary:An x86 emulation library Group: System/Libraries -%description -n libx86emu2 +%description -n libx86emu3 An x86 emulation library with focus on usage and execution logging functions. %package -n libx86emu-devel Summary:Development files for libx86emu Group: Development/Libraries/C and C++ -Requires: libx86emu2 = %version +Requires: libx86emu3 = %version %description -n libx86emu-devel An x86 emulation library with focus on usage and @@ -61,15 +61,19 @@ install -d -m 755 %{buildroot}%{_libdir} %make_install LIBDIR=%{_libdir} -%post -n libx86emu2 -p /sbin/ldconfig +%post -n libx86emu3 -p /sbin/ldconfig -%postun -n libx86emu2 -p /sbin/ldconfig +%postun -n libx86emu3 -p /sbin/ldconfig -%files -n libx86emu2 +%files -n libx86emu3 %defattr(-,root,root) %{_libdir}/*.so.* %doc README.md +%if %suse_version >= 1500 %license LICENSE* +%else +%doc LICENSE* +%endif %files -n libx86emu-devel %defattr(-,root,root) ++ libx86emu-2.6.tar.xz -> libx86emu-3.1.tar.xz ++ 1996 lines of diff (skipped)
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2020-01-23 16:08:18 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new.26092 (New) Package is "libx86emu" Thu Jan 23 16:08:18 2020 rev:29 rq:765278 version:2.6 Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2019-08-24 18:40:52.841789222 +0200 +++ /work/SRC/openSUSE:Factory/.libx86emu.new.26092/libx86emu.changes 2020-01-23 16:08:26.415547883 +0100 @@ -1,0 +2,41 @@ +Fri Jan 17 12:32:27 UTC 2020 - wfe...@opensuse.org + +- merge gh#wfeldt/libx86emu#17 +- Introduce LDFLAGS variable in Makefiles +- test: Link with the development version of the library +- test: Sort tests by name +- Add Travis CI configuration file and a badge in the README +- Travis CI integration +- 2.6 + + +Fri Jan 17 12:28:09 UTC 2020 - wfe...@opensuse.org + +- merge gh#wfeldt/libx86emu#22 +- decode: Prepare for SSE support +- ops2: Add SSE instructions +- ops2: Add packed SSE ops +- Minimal SSE support + + +Fri Jan 17 12:26:51 UTC 2020 - wfe...@opensuse.org + +- merge gh#wfeldt/libx86emu#21 +- prim_ops: Fix compiler warning + + +Fri Jan 17 12:24:59 UTC 2020 - wfe...@opensuse.org + +- merge gh#wfeldt/libx86emu#24 +- ops2: Add cpuid support using a new handler +- ops2: Introduce a callback function for MSR access +- Push cpuid msr callback + + +Thu Jan 16 15:45:23 UTC 2020 - wfe...@opensuse.org + +- merge gh#wfeldt/libx86emu#26 +- add '--32' option to demo program to start in 32-bit mode +- 2.5 + + Old: libx86emu-2.4.tar.xz New: libx86emu-2.6.tar.xz Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.Zxqosk/_old 2020-01-23 16:08:27.051548260 +0100 +++ /var/tmp/diff_new_pack.Zxqosk/_new 2020-01-23 16:08:27.051548260 +0100 @@ -22,7 +22,7 @@ Summary:An x86 emulation library License:BSD-3-Clause Group: Development/Libraries/C and C++ -Version:2.4 +Version:2.6 Release:0 Source: %{name}-%{version}.tar.xz Url:https://github.com/wfeldt/libx86emu ++ libx86emu-2.4.tar.xz -> libx86emu-2.6.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.4/.travis.yml new/libx86emu-2.6/.travis.yml --- old/libx86emu-2.4/.travis.yml 1970-01-01 01:00:00.0 +0100 +++ new/libx86emu-2.6/.travis.yml 2020-01-17 13:32:27.0 +0100 @@ -0,0 +1,9 @@ +language: c + +before_install: +- sudo apt-get update -qq +- sudo apt-get install -qq nasm + +script: +- make +- make -C test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.4/Makefile new/libx86emu-2.6/Makefile --- old/libx86emu-2.4/Makefile 2019-08-20 16:23:47.0 +0200 +++ new/libx86emu-2.6/Makefile 2020-01-17 13:32:27.0 +0100 @@ -13,6 +13,7 @@ CC = gcc CFLAGS = -g -O2 -fPIC -fvisibility=hidden -fomit-frame-pointer -Wall +LDFLAGS = LIBDIR = /usr/lib$(shell ldd /bin/sh | grep -q /lib64/ && echo 64) LIBX86 = libx86emu @@ -42,7 +43,7 @@ install -m 644 -D include/x86emu.h $(DESTDIR)/usr/include/x86emu.h $(LIB_NAME): .depend $(OBJS) - $(CC) -shared -Wl,-soname,$(LIB_SONAME) $(OBJS) -o $(LIB_NAME) + $(CC) -shared -Wl,-soname,$(LIB_SONAME) $(OBJS) -o $(LIB_NAME) $(LDFLAGS) @ln -snf $(LIB_NAME) $(LIB_SONAME) @ln -snf $(LIB_SONAME) $(LIBX86).so diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.4/README.md new/libx86emu-2.6/README.md --- old/libx86emu-2.4/README.md 2019-08-20 16:23:47.0 +0200 +++ new/libx86emu-2.6/README.md 2020-01-17 13:32:27.0 +0100 @@ -1,5 +1,7 @@ # x86 emulation library +[![Build Status](https://travis-ci.org/wfeldt/libx86emu.svg?branch=master)](https://travis-ci.org/wfeldt/libx86emu) + libx86emu is a small library to emulate x86 instructions. The focus here is not a complete emulation (go for qemu for this) but to cover enough for typical firmware blobs. At the moment 'regular' 32-bit instructions are covered together with basic protected mode support. @@ -256,6 +258,54 @@ Returns old function. +### x86emu_set_cpuid_handler + +Execution hook + +x86emu_cpuid_handler_t x86emu_set_cpuid_handler(x86emu_t *emu, x86emu_cpuid_hand
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2019-08-24 18:40:50 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new.7948 (New) Package is "libx86emu" Sat Aug 24 18:40:50 2019 rev:28 rq:724841 version:2.4 Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2019-04-28 19:56:35.435038557 +0200 +++ /work/SRC/openSUSE:Factory/.libx86emu.new.7948/libx86emu.changes 2019-08-24 18:40:52.841789222 +0200 @@ -1,0 +2,7 @@ +Tue Aug 20 14:23:47 UTC 2019 - wfe...@opensuse.org + +- merge gh#wfeldt/libx86emu#19 +- decode: Fix compiler warning +- 2.4 + + Old: libx86emu-2.3.tar.xz New: libx86emu-2.4.tar.xz Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.zHE2Ba/_old 2019-08-24 18:40:53.293789178 +0200 +++ /var/tmp/diff_new_pack.zHE2Ba/_new 2019-08-24 18:40:53.297789178 +0200 @@ -22,7 +22,7 @@ Summary:An x86 emulation library License:BSD-3-Clause Group: Development/Libraries/C and C++ -Version:2.3 +Version:2.4 Release:0 Source: %{name}-%{version}.tar.xz Url:https://github.com/wfeldt/libx86emu ++ libx86emu-2.3.tar.xz -> libx86emu-2.4.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.3/VERSION new/libx86emu-2.4/VERSION --- old/libx86emu-2.3/VERSION 2019-04-24 08:37:42.0 +0200 +++ new/libx86emu-2.4/VERSION 2019-08-20 16:23:47.0 +0200 @@ -1 +1 @@ -2.3 +2.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.3/changelog new/libx86emu-2.4/changelog --- old/libx86emu-2.3/changelog 2019-04-24 08:37:42.0 +0200 +++ new/libx86emu-2.4/changelog 2019-08-20 16:23:47.0 +0200 @@ -1,3 +1,7 @@ +2019-08-20:2.4 + - merge gh#wfeldt/libx86emu#19 + - decode: Fix compiler warning + 2019-04-24:2.3 - merge gh#wfeldt/libx86emu#15 - include: Fix GCC strict-prototypes warning diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.3/decode.c new/libx86emu-2.4/decode.c --- old/libx86emu-2.3/decode.c 2019-04-24 08:37:42.0 +0200 +++ new/libx86emu-2.4/decode.c 2019-08-20 16:23:47.0 +0200 @@ -1813,6 +1813,7 @@ case 3: // tss busy d->busy = 1; +// fallthrough case 1: // tss avail d->tss = 1; @@ -1832,6 +1833,7 @@ case 7: d->trap = 1; +// fallthrough case 6: d->i_gate = 1;
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2019-04-28 19:56:32 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new.5536 (New) Package is "libx86emu" Sun Apr 28 19:56:32 2019 rev:27 rq:697349 version:2.3 Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2019-03-26 15:35:40.260416159 +0100 +++ /work/SRC/openSUSE:Factory/.libx86emu.new.5536/libx86emu.changes 2019-04-28 19:56:35.435038557 +0200 @@ -1,0 +2,9 @@ +Wed Apr 24 06:37:42 UTC 2019 - snw...@suse.de + +- merge gh#wfeldt/libx86emu#15 +- include: Fix GCC strict-prototypes warning +- include: Fix 'multiple definition of' linker errors +- Small fixes +- 2.3 + + Old: libx86emu-2.2.tar.xz New: libx86emu-2.3.tar.xz Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.Tcuu1c/_old 2019-04-28 19:56:35.947038249 +0200 +++ /var/tmp/diff_new_pack.Tcuu1c/_new 2019-04-28 19:56:35.951038246 +0200 @@ -22,7 +22,7 @@ Summary:An x86 emulation library License:BSD-3-Clause Group: Development/Libraries/C and C++ -Version:2.2 +Version:2.3 Release:0 Source: %{name}-%{version}.tar.xz Url:https://github.com/wfeldt/libx86emu ++ libx86emu-2.2.tar.xz -> libx86emu-2.3.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.2/VERSION new/libx86emu-2.3/VERSION --- old/libx86emu-2.2/VERSION 2019-03-21 12:45:15.0 +0100 +++ new/libx86emu-2.3/VERSION 2019-04-24 08:37:42.0 +0200 @@ -1 +1 @@ -2.2 +2.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.2/changelog new/libx86emu-2.3/changelog --- old/libx86emu-2.2/changelog 2019-03-21 12:45:15.0 +0100 +++ new/libx86emu-2.3/changelog 2019-04-24 08:37:42.0 +0200 @@ -1,3 +1,8 @@ +2019-04-24:2.3 + - merge gh#wfeldt/libx86emu#15 + - include: Fix GCC strict-prototypes warning + - include: Fix 'multiple definition of' linker errors + 2019-03-21:2.2 - merge gh#wfeldt/libx86emu#14 - ops2: Add support for conditional move diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.2/include/ops.h new/libx86emu-2.3/include/ops.h --- old/libx86emu-2.2/include/ops.h 2019-03-21 12:45:15.0 +0100 +++ new/libx86emu-2.3/include/ops.h 2019-04-24 08:37:42.0 +0200 @@ -38,8 +38,8 @@ #ifndef __X86EMU_OPS_H #define __X86EMU_OPS_H -void (*x86emu_optab[0x100])(x86emu_t *emu, u8 op1); -void (*x86emu_optab2[0x100])(x86emu_t *emu, u8 op2); +extern void (*x86emu_optab[0x100])(x86emu_t *emu, u8 op1); +extern void (*x86emu_optab2[0x100])(x86emu_t *emu, u8 op2); void decode_cond(x86emu_t *emu, int type); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.2/include/x86emu_int.h new/libx86emu-2.3/include/x86emu_int.h --- old/libx86emu-2.2/include/x86emu_int.h 2019-03-21 12:45:15.0 +0100 +++ new/libx86emu-2.3/include/x86emu_int.h 2019-04-24 08:37:42.0 +0200 @@ -89,7 +89,7 @@ #if WITH_TSC #if defined(__i386__) -static inline u64 tsc() +static inline u64 tsc(void) { register u64 tsc asm ("%eax"); @@ -103,7 +103,7 @@ #endif #if defined (__x86_64__) -static inline u64 tsc() +static inline u64 tsc(void) { register u64 tsc asm ("%rax"); @@ -126,7 +126,7 @@ #if WITH_IOPL #if defined(__i386__) -static inline unsigned getiopl() +static inline unsigned getiopl(void) { register u32 i asm ("%eax"); @@ -143,7 +143,7 @@ #endif #if defined (__x86_64__) -static inline unsigned getiopl() +static inline unsigned getiopl(void) { register unsigned i asm ("%rax");
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2019-03-26 15:35:37 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new.25356 (New) Package is "libx86emu" Tue Mar 26 15:35:37 2019 rev:26 rq:687301 version:2.2 Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2019-02-08 13:47:09.422802515 +0100 +++ /work/SRC/openSUSE:Factory/.libx86emu.new.25356/libx86emu.changes 2019-03-26 15:35:40.260416159 +0100 @@ -0,0 +1,9 @@ + +Thu Mar 21 11:45:15 UTC 2019 - snw...@suse.de + +- merge gh#wfeldt/libx86emu#14 +- ops2: Add support for conditional move +- ops2: Implement bswap +- Add additional ops2 instructions +- 2.2 + Old: libx86emu-2.1.tar.xz New: libx86emu-2.2.tar.xz Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.9YIAZC/_old 2019-03-26 15:35:40.880415899 +0100 +++ /var/tmp/diff_new_pack.9YIAZC/_new 2019-03-26 15:35:40.884415897 +0100 @@ -22,7 +22,7 @@ Summary:An x86 emulation library License:BSD-3-Clause Group: Development/Libraries/C and C++ -Version:2.1 +Version:2.2 Release:0 Source: %{name}-%{version}.tar.xz Url:https://github.com/wfeldt/libx86emu ++ libx86emu-2.1.tar.xz -> libx86emu-2.2.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.1/VERSION new/libx86emu-2.2/VERSION --- old/libx86emu-2.1/VERSION 2018-08-30 15:31:45.0 +0200 +++ new/libx86emu-2.2/VERSION 2019-03-21 12:45:15.0 +0100 @@ -1 +1 @@ -2.1 +2.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.1/changelog new/libx86emu-2.2/changelog --- old/libx86emu-2.1/changelog 2018-08-30 15:31:45.0 +0200 +++ new/libx86emu-2.2/changelog 2019-03-21 12:45:15.0 +0100 @@ -1,3 +1,8 @@ +2019-03-21:2.2 + - merge gh#wfeldt/libx86emu#14 + - ops2: Add support for conditional move + - ops2: Implement bswap + 2018-08-30:2.1 - merge gh#wfeldt/libx86emu#13 - Fix README.md header typos diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.1/ops2.c new/libx86emu-2.2/ops2.c --- old/libx86emu-2.1/ops2.c2018-08-30 15:31:45.0 +0200 +++ new/libx86emu-2.2/ops2.c2019-03-21 12:45:15.0 +0100 @@ -482,6 +482,121 @@ / REMARKS: +Handles opcode 0x0f,0x40-0x4f +/ +static void x86emuOp2_conditional_move(x86emu_t *emu, u8 op2) +{ + int mod, rl, rh, noop = 0; + u16 *src16, *dst16; + u32 *src32, *dst32, addr; + + OP_DECODE("cmov"); + + fetch_decode_modrm(emu, &mod, &rh, &rl); + + switch(op2 & 0xf) { +case 0: + OP_DECODE("o "); + noop = !ACCESS_FLAG(F_OF); + break; +case 1: + OP_DECODE("no "); + noop = ACCESS_FLAG(F_OF); + break; +case 2: + OP_DECODE("c "); + noop = !ACCESS_FLAG(F_CF); + break; +case 3: + OP_DECODE("nc "); + noop = ACCESS_FLAG(F_CF); + break; +case 4: + OP_DECODE("z "); + noop = !ACCESS_FLAG(F_ZF); + break; +case 5: + OP_DECODE("nz "); + noop = ACCESS_FLAG(F_ZF); + break; +case 6: + OP_DECODE("be "); + noop = !ACCESS_FLAG(F_CF) && !ACCESS_FLAG(F_ZF); + break; +case 7: + OP_DECODE("nbe "); + noop = ACCESS_FLAG(F_CF) || ACCESS_FLAG(F_ZF); + break; +case 8: + OP_DECODE("s "); + noop = !ACCESS_FLAG(F_SF); + break; +case 9: + OP_DECODE("ns "); + noop = ACCESS_FLAG(F_SF); + break; +case 0xa: + OP_DECODE("p "); + noop = !ACCESS_FLAG(F_PF); + break; +case 0xb: + OP_DECODE("np "); + noop = ACCESS_FLAG(F_PF); + break; +case 0xc: + OP_DECODE("l "); + noop = ACCESS_FLAG(F_SF) == ACCESS_FLAG(F_OF); + break; +case 0xd: + OP_DECODE("nl "); + noop = ACCESS_FLAG(F_SF) != ACCESS_FLAG(F_OF); + break; +case 0xe: + OP_DECODE("le "); + noop = !ACCESS_FLAG(F_ZF) && (ACCESS_FLAG(F_SF) == ACCESS_FLAG(F_OF)); + break; +case 0xf: + OP_DECODE("nle "); + noop = ACCESS_FLAG(F_ZF) || (ACCESS_FLAG(F_SF) != ACCESS_FLAG(F_OF)); + break; + } + + if(mod == 3) { +if(MODE_DATA32) { + dst32 = decode_rm_long_register(emu, rh); + OP_DECODE(","); + src32 = decode_rm_long_register(emu, rl); + if
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2019-02-08 13:47:08 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new.28833 (New) Package is "libx86emu" Fri Feb 8 13:47:08 2019 rev:25 rq:671604 version:2.1 Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2018-12-05 09:37:01.285123563 +0100 +++ /work/SRC/openSUSE:Factory/.libx86emu.new.28833/libx86emu.changes 2019-02-08 13:47:09.422802515 +0100 @@ -0,0 +1,5 @@ +--- +Mon Jan 14 16:00:52 CET 2019 - ku...@suse.de + +- Use %license instead of %doc [bsc#1082318] + Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.xO72p5/_old 2019-02-08 13:47:09.910802363 +0100 +++ /var/tmp/diff_new_pack.xO72p5/_new 2019-02-08 13:47:09.914802363 +0100 @@ -68,7 +68,8 @@ %files -n libx86emu2 %defattr(-,root,root) %{_libdir}/*.so.* -%doc README.md LICENSE* +%doc README.md +%license LICENSE* %files -n libx86emu-devel %defattr(-,root,root)
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2018-12-05 09:36:58 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new.19453 (New) Package is "libx86emu" Wed Dec 5 09:36:58 2018 rev:24 rq:652612 version:2.1 Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2018-09-04 22:48:22.663398181 +0200 +++ /work/SRC/openSUSE:Factory/.libx86emu.new.19453/libx86emu.changes 2018-12-05 09:37:01.285123563 +0100 @@ -7,0 +8,5 @@ +--- +Thu Jul 26 10:54:27 UTC 2018 - jeng...@inai.de + +- Fix RPM groups. Trim bias from descriptions. + Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.CurFCD/_old 2018-12-05 09:37:02.309122442 +0100 +++ /var/tmp/diff_new_pack.CurFCD/_new 2018-12-05 09:37:02.313122437 +0100 @@ -17,58 +17,39 @@ # -# ExclusiveArch: %ix86 x86_64 - Name: libx86emu BuildRequires: xz -Summary:A small x86 emulation library. +Summary:An x86 emulation library License:BSD-3-Clause -Group: System/Libraries +Group: Development/Libraries/C and C++ Version:2.1 Release:0 -PreReq: /sbin/ldconfig Source: %{name}-%{version}.tar.xz Url:https://github.com/wfeldt/libx86emu BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Small x86 emulation library with focus of easy usage and extended +An x86 emulation library with focus on usage and execution logging functions. - - -Authors: - -Steffen Winterfeldt - %package -n libx86emu2 -Summary:A small x86 emulation library. +Summary:An x86 emulation library Group: System/Libraries %description -n libx86emu2 -Small x86 emulation library with focus of easy usage and extended +An x86 emulation library with focus on usage and execution logging functions. - - -Authors: - -Steffen Winterfeldt - %package -n libx86emu-devel -Summary:A small x86 emulation library. -Group: System/Libraries +Summary:Development files for libx86emu +Group: Development/Libraries/C and C++ Requires: libx86emu2 = %version %description -n libx86emu-devel -Small x86 emulation library with focus of easy usage and extended +An x86 emulation library with focus on usage and execution logging functions. - - -Authors: - -Steffen Winterfeldt +This package contains the header files for the library API. %prep %setup -n libx86emu-%{version} @@ -78,7 +59,7 @@ %install install -d -m 755 %{buildroot}%{_libdir} -make install DESTDIR=%{buildroot} LIBDIR=%{_libdir} +%make_install LIBDIR=%{_libdir} %post -n libx86emu2 -p /sbin/ldconfig
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2018-09-04 22:48:12 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new (New) Package is "libx86emu" Tue Sep 4 22:48:12 2018 rev:23 rq:632316 version:2.1 Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2018-07-26 10:17:25.087830145 +0200 +++ /work/SRC/openSUSE:Factory/.libx86emu.new/libx86emu.changes 2018-09-04 22:48:22.663398181 +0200 @@ -1,0 +2,7 @@ +Thu Aug 30 13:31:45 UTC 2018 - snw...@suse.de + +- merge gh#wfeldt/libx86emu#13 +- Fix README.md header typos +- 2.1 + + Old: libx86emu-2.0.tar.xz New: libx86emu-2.1.tar.xz Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.XPazxu/_old 2018-09-04 22:48:23.059399544 +0200 +++ /var/tmp/diff_new_pack.XPazxu/_new 2018-09-04 22:48:23.063399557 +0200 @@ -24,7 +24,7 @@ Summary:A small x86 emulation library. License:BSD-3-Clause Group: System/Libraries -Version:2.0 +Version:2.1 Release:0 PreReq: /sbin/ldconfig Source: %{name}-%{version}.tar.xz ++ libx86emu-2.0.tar.xz -> libx86emu-2.1.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.0/README.md new/libx86emu-2.1/README.md --- old/libx86emu-2.0/README.md 2018-07-25 10:42:44.0 +0200 +++ new/libx86emu-2.1/README.md 2018-08-30 15:31:45.0 +0200 @@ -38,7 +38,7 @@ ## API functions -### x86_new +### x86emu_new Create new emulation object @@ -119,7 +119,7 @@ void x86emu_log(x86emu_t *emu, const char *format, ...) __attribute__ ((format (printf, 1, 2))); -### x86emu_t +### x86emu_clear_log Clear log @@ -198,7 +198,7 @@ Resets the `X86EMU_ACC_*` bits for the whole memory (see `x86emu_set_perm()`). -### x86emu_code_handler +### x86emu_set_code_handler Execution hook @@ -209,7 +209,7 @@ emulated. If logging is enabled the current cpu state has already been logged. If the function returns a value != 0, the emulation is stopped. -### x86emu_intr_handler_t +### x86emu_set_intr_handler Set interrupt handler @@ -231,7 +231,7 @@ handling is complete and the emulator can skip its own interrupt processing or 0 to indicate the emulator should continue with normal interrupt processing. -### x86emu_memio_handler_t +### x86emu_set_memio_handler Set alternative callback function that handles memory and io accesses diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.0/VERSION new/libx86emu-2.1/VERSION --- old/libx86emu-2.0/VERSION 2018-07-25 10:42:44.0 +0200 +++ new/libx86emu-2.1/VERSION 2018-08-30 15:31:45.0 +0200 @@ -1 +1 @@ -2.0 +2.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-2.0/changelog new/libx86emu-2.1/changelog --- old/libx86emu-2.0/changelog 2018-07-25 10:42:44.0 +0200 +++ new/libx86emu-2.1/changelog 2018-08-30 15:31:45.0 +0200 @@ -1,3 +1,7 @@ +2018-08-30:2.1 + - merge gh#wfeldt/libx86emu#13 + - Fix README.md header typos + 2018-07-25:2.0 - merge gh#wfeldt/libx86emu#12 - fstirlitz: make libx86emu re-entrant
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2018-07-26 10:17:24 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new (New) Package is "libx86emu" Thu Jul 26 10:17:24 2018 rev:22 rq:625207 version:2.0 Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2018-05-01 23:04:42.473779409 +0200 +++ /work/SRC/openSUSE:Factory/.libx86emu.new/libx86emu.changes 2018-07-26 10:17:25.087830145 +0200 @@ -1,0 +2,7 @@ +Wed Jul 25 08:42:44 UTC 2018 - wfe...@opensuse.org + +- merge gh#wfeldt/libx86emu#12 +- fstirlitz: make libx86emu re-entrant +- 2.0 + + Old: libx86emu-1.14.tar.xz New: libx86emu-2.0.tar.xz Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.kKWy17/_old 2018-07-26 10:17:25.563831007 +0200 +++ /var/tmp/diff_new_pack.kKWy17/_new 2018-07-26 10:17:25.567831015 +0200 @@ -24,7 +24,7 @@ Summary:A small x86 emulation library. License:BSD-3-Clause Group: System/Libraries -Version:1.14 +Version:2.0 Release:0 PreReq: /sbin/ldconfig Source: %{name}-%{version}.tar.xz @@ -41,11 +41,11 @@ Steffen Winterfeldt -%package -n libx86emu1 +%package -n libx86emu2 Summary:A small x86 emulation library. Group: System/Libraries -%description -n libx86emu1 +%description -n libx86emu2 Small x86 emulation library with focus of easy usage and extended execution logging functions. @@ -58,7 +58,7 @@ %package -n libx86emu-devel Summary:A small x86 emulation library. Group: System/Libraries -Requires: libx86emu1 = %version +Requires: libx86emu2 = %version %description -n libx86emu-devel Small x86 emulation library with focus of easy usage and extended @@ -80,11 +80,11 @@ install -d -m 755 %{buildroot}%{_libdir} make install DESTDIR=%{buildroot} LIBDIR=%{_libdir} -%post -n libx86emu1 -p /sbin/ldconfig +%post -n libx86emu2 -p /sbin/ldconfig -%postun -n libx86emu1 -p /sbin/ldconfig +%postun -n libx86emu2 -p /sbin/ldconfig -%files -n libx86emu1 +%files -n libx86emu2 %defattr(-,root,root) %{_libdir}/*.so.* %doc README.md LICENSE* ++ libx86emu-1.14.tar.xz -> libx86emu-2.0.tar.xz ++ 12462 lines of diff (skipped)
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2018-05-01 23:04:38 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new (New) Package is "libx86emu" Tue May 1 23:04:38 2018 rev:21 rq:601893 version:1.14 Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2017-09-13 21:37:19.447193303 +0200 +++ /work/SRC/openSUSE:Factory/.libx86emu.new/libx86emu.changes 2018-05-01 23:04:42.473779409 +0200 @@ -1,0 +2,16 @@ +Fri Apr 27 12:22:24 UTC 2018 - wfe...@opensuse.org + +- merge gh#wfeldt/libx86emu#11 +- enhance documentation +- update git2log script +- add better description +- 1.14 + + +Fri Apr 27 11:49:32 UTC 2018 - wfe...@opensuse.org + +- merge gh#wfeldt/libx86emu#7 +- add a small demo program +- 1.13 + + Old: libx86emu-1.12.tar.xz New: libx86emu-1.14.tar.xz Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.KssbWJ/_old 2018-05-01 23:04:43.277750205 +0200 +++ /var/tmp/diff_new_pack.KssbWJ/_new 2018-05-01 23:04:43.277750205 +0200 @@ -24,7 +24,7 @@ Summary:A small x86 emulation library. License:BSD-3-Clause Group: System/Libraries -Version:1.12 +Version:1.14 Release:0 PreReq: /sbin/ldconfig Source: %{name}-%{version}.tar.xz ++ libx86emu-1.12.tar.xz -> libx86emu-1.14.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-1.12/Makefile new/libx86emu-1.14/Makefile --- old/libx86emu-1.12/Makefile 2017-09-12 13:49:46.0 +0200 +++ new/libx86emu-1.14/Makefile 2018-04-27 14:22:24.0 +0200 @@ -26,7 +26,7 @@ LIB_NAME = $(LIBX86).so.$(VERSION) LIB_SONAME = $(LIBX86).so.$(MAJOR_VERSION) -.PHONY: all shared install test clean +.PHONY: all shared install test demo clean %.o: %.c $(CC) -c $(CFLAGS) $< @@ -50,6 +50,9 @@ test: make -C test +demo: + make -C demo + archive: changelog @if [ ! -d .git ] ; then echo no git repo ; false ; fi mkdir -p package @@ -59,6 +62,7 @@ clean: make -C test clean + make -C demo clean rm -f *.o *~ include/*~ *.so.* .depend rm -rf package diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-1.12/README.md new/libx86emu-1.14/README.md --- old/libx86emu-1.12/README.md2017-09-12 13:49:46.0 +0200 +++ new/libx86emu-1.14/README.md2018-04-27 14:22:24.0 +0200 @@ -1,6 +1,32 @@ # x86 emulation library -libx86emu is a dependency for [hwinfo](https://github.com/openSUSE/hwinfo). +libx86emu is a small library to emulate x86 instructions. The focus here is not a complete emulation (go for qemu for this) but to cover enough for typical firmware blobs. + +At the moment 'regular' 32-bit instructions are covered together with basic protected mode support. + +Not done are fpu, mmx, or any of the other instruction set extensions. + +The library lets you + + - intercept any memory access or directly map real memory ranges + - intercept any i/o access, map real i/o ports, or block any real i/o + - intercept any interrupt + - provides hook to run after each instruction + - recognizes a special x86 instruction that can trigger logging + - has integrated logging to +- trace code execution, including register content and decoded instruction +- trace memory and i/o accesses +- provide statistics about accessed memory locations, i/o ports, and interrupts + +## Downloads + +Get the latest version from the [openSUSE Build Service](https://software.opensuse.org/package/libx86emu). + +## Examples + +Have a look at this minimalistic [demo](demo/x86emu-demo.c) program. + +The library is used by [hwinfo](https://github.com/openSUSE/hwinfo) to emulate Video BIOS (VBE) calls. ## API functions @@ -298,10 +324,26 @@ ## openSUSE Development -The package is automatically submitted from the `master` branch to -[system:install:head](https://build.opensuse.org/package/show/system:install:head/libx86emu) -OBS project. From that place it is forwarded to -[openSUSE Factory](https://build.opensuse.org/project/show/openSUSE:Factory). +To build, simply run `make`. Install with `make install`. + +Basically every new commit into the master branch of the repository will be auto-submitted +to all current SUSE products. No further action is needed except accepting the pull request. + +Submissions are managed by a SUSE internal [jenkins](ht
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2017-09-13 21:37:09 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new (New) Package is "libx86emu" Wed Sep 13 21:37:09 2017 rev:20 rq:523692 version:1.12 Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2016-06-29 15:04:09.0 +0200 +++ /work/SRC/openSUSE:Factory/.libx86emu.new/libx86emu.changes 2017-09-13 21:37:19.447193303 +0200 @@ -0,0 +1,8 @@ + +Tue Sep 12 11:49:46 UTC 2017 - wfe...@opensuse.org + +- merge gh#wfeldt/libx86emu#9 +- add proper LICENSE file (containing the actual license) and add + it consistently to all source files +- 1.12 + Old: libx86emu-1.11.tar.xz New: libx86emu-1.12.tar.xz Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.cHhn8s/_old 2017-09-13 21:37:21.098960899 +0200 +++ /var/tmp/diff_new_pack.cHhn8s/_new 2017-09-13 21:37:21.098960899 +0200 @@ -1,7 +1,7 @@ # # spec file for package libx86emu # -# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2008 Steffen Winterfeldt # # All modifications and additions to the file contributed by third parties @@ -24,7 +24,7 @@ Summary:A small x86 emulation library. License:BSD-3-Clause Group: System/Libraries -Version:1.11 +Version:1.12 Release:0 PreReq: /sbin/ldconfig Source: %{name}-%{version}.tar.xz @@ -87,7 +87,7 @@ %files -n libx86emu1 %defattr(-,root,root) %{_libdir}/*.so.* -%doc README.md LICENSE +%doc README.md LICENSE* %files -n libx86emu-devel %defattr(-,root,root) ++ libx86emu-1.11.tar.xz -> libx86emu-1.12.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-1.11/LICENSE new/libx86emu-1.12/LICENSE --- old/libx86emu-1.11/LICENSE 2016-06-22 14:15:06.0 +0200 +++ new/libx86emu-1.12/LICENSE 2017-09-12 13:49:46.0 +0200 @@ -1,17 +1,22 @@ - License information - --- +Copyright (c) 1996-1999 SciTech Software, Inc. +Copyright (c) David Mosberger-Tang +Copyright (c) 1999 Egbert Eich +Copyright (c) 2007-2017 SUSE LINUX GmbH; Author: Steffen Winterfeldt -The x86emu library is under a BSD style license, comaptible -with the XFree86 and X licenses used by XFree86. The -original x86emu libraries were under the GNU General Public -License. Due to license incompatibilities between the GPL -and the XFree86 license, the original authors of the code -decided to allow a license change. If you have submitted -code to the original x86emu project, and you don't agree -with the license change, please contact us and let you -know. Your code will be removed to comply with your wishes. - -If you have any questions about this, please send email to -x86...@linuxlabs.com or kenda...@scitechsoft.com for -clarification. +Permission to use, copy, modify, distribute, and sell this software and +its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of the authors not be used +in advertising or publicity pertaining to distribution of the software +without specific, written prior permission. The authors makes no +representations about the suitability of this software for any purpose. +It is provided "as is" without express or implied warranty. +THE AUTHORS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF +USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-1.11/LICENSE_INFO new/libx86emu-1.12/LICENSE_INFO --- old/libx86emu-1.11/LICENSE_INFO 1970-01-01 01:00:00.0 +0100 +++ new/libx86emu-1.12/LICENSE_INFO 2017-09-12 13:49:46.0 +0200 @@ -0,0 +1,17 @@ + License information + --- + +The x86emu library is under a BSD style license, comaptible +with the XFree86 and X licenses used by XFree86. The +o
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2016-06-29 15:04:07 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new (New) Package is "libx86emu" Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2016-04-08 09:37:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.libx86emu.new/libx86emu.changes 2016-06-29 15:04:09.0 +0200 @@ -1,0 +2,7 @@ +Wed Jun 22 12:18:16 UTC 2016 - snw...@suse.com + +- Add tests for retn/retf instructions +- Small compatibility fixes for msvc compiler +- 1.11 + +--- Old: libx86emu-1.10.tar.xz New: libx86emu-1.11.tar.xz Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.CKwRYx/_old 2016-06-29 15:04:10.0 +0200 +++ /var/tmp/diff_new_pack.CKwRYx/_new 2016-06-29 15:04:10.0 +0200 @@ -24,7 +24,7 @@ Summary:A small x86 emulation library. License:BSD-3-Clause Group: System/Libraries -Version:1.10 +Version:1.11 Release:0 PreReq: /sbin/ldconfig Source: %{name}-%{version}.tar.xz ++ libx86emu-1.10.tar.xz -> libx86emu-1.11.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-1.10/VERSION new/libx86emu-1.11/VERSION --- old/libx86emu-1.10/VERSION 2016-04-05 17:33:29.0 +0200 +++ new/libx86emu-1.11/VERSION 2016-06-22 14:15:06.0 +0200 @@ -1 +1 @@ -1.10 +1.11 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-1.10/changelog new/libx86emu-1.11/changelog --- old/libx86emu-1.10/changelog2016-04-05 17:33:29.0 +0200 +++ new/libx86emu-1.11/changelog2016-06-22 14:15:06.0 +0200 @@ -1,3 +1,7 @@ +2016-04-11:1.11 + - Add tests for retn/retf instructions + - Small compatibility fixes for msvc compiler + 2016-04-05:1.10 - add tests for rol/ror instructions - rewrite rol/ror implementation to be more readable and to fix overflow flag setting diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-1.10/decode.c new/libx86emu-1.11/decode.c --- old/libx86emu-1.10/decode.c 2016-04-05 17:33:29.0 +0200 +++ new/libx86emu-1.11/decode.c 2016-06-22 14:15:06.0 +0200 @@ -68,16 +68,11 @@ char **p; unsigned u, rs = 0; time_t t0; + int has_prefix; #if WITH_TSC u64 tsc_ofs; #endif - static unsigned char is_prefix[0x100] = { -[0x26] = 1, [0x2e] = 1, [0x36] = 1, [0x3e] = 1, -[0x64 ... 0x67] = 1, -[0xf0] = 1, [0xf2 ... 0xf3] = 1 - }; - if(emu) M = *emu; p = &M.log.ptr; @@ -145,8 +140,9 @@ memcpy(M.x86.decode_seg, "[", 1); /* handle prefixes here */ -while(is_prefix[op1 = fetch_byte()]) { - switch(op1) { +has_prefix = 1; +while(has_prefix) { + switch(op1 = fetch_byte()) { case 0x26: memcpy(M.x86.decode_seg, "es:[", 4); M.x86.default_seg = M.x86.seg + R_ES_INDEX; @@ -188,6 +184,9 @@ OP_DECODE("repe "); M.x86.mode |= _MODE_REPE; break; +default: + has_prefix = 0; + break; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-1.10/include/x86emu.h new/libx86emu-1.11/include/x86emu.h --- old/libx86emu-1.10/include/x86emu.h 2016-04-05 17:33:29.0 +0200 +++ new/libx86emu-1.11/include/x86emu.h 2016-06-22 14:15:06.0 +0200 @@ -45,7 +45,7 @@ extern "C" { /* Use "C" linkage when in C++ mode */ #endif -#include +#include /*-- Macros and type definitions --*/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-1.10/test/0034_ret_far_16.done new/libx86emu-1.11/test/0034_ret_far_16.done --- old/libx86emu-1.10/test/0034_ret_far_16.done1970-01-01 01:00:00.0 +0100 +++ new/libx86emu-1.11/test/0034_ret_far_16.done2016-06-22 14:15:06.0 +0200 @@ -0,0 +1,28 @@ +; - - memory +; 0 1 2 3 4 5 6 7 8 9 a b c d e f +1000: 68 aa aa 0e e8 04 00 68 bb bb f4 ca 02 00 90 90 +1010: f4 +fff0: 07 00 00 01 bb bb + +; - - registers +msr[0010]0006 ; tsc + +cr0= cr1= cr2= cr3= cr4= +dr0= dr1= dr2= dr3= dr6= dr7
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2016-04-08 09:37:42 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new (New) Package is "libx86emu" Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2016-03-29 09:53:40.0 +0200 +++ /work/SRC/openSUSE:Factory/.libx86emu.new/libx86emu.changes 2016-04-08 09:37:43.0 +0200 @@ -1,0 +2,20 @@ +Tue Apr 5 15:36:24 UTC 2016 - snw...@suse.com + +- add tests for rol/ror instructions +- rewrite rol/ror implementation to be more readable and to fix overflow flag setting +- 1.10 + +--- +Tue Apr 5 15:33:12 UTC 2016 - snw...@suse.com + +- build on more archs +- 1.9 + +--- +Tue Apr 5 15:23:16 UTC 2016 - snw...@suse.com + +- Fixed some small bugs +- Fixed "RET imm" instructions +- 1.8 + +--- Old: libx86emu-1.7.tar.xz New: libx86emu-1.10.tar.xz Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.H6j7dy/_old 2016-04-08 09:37:44.0 +0200 +++ /var/tmp/diff_new_pack.H6j7dy/_new 2016-04-08 09:37:44.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package libx86emu # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008 Steffen Winterfeldt # # All modifications and additions to the file contributed by third parties @@ -24,7 +24,7 @@ Summary:A small x86 emulation library. License:BSD-3-Clause Group: System/Libraries -Version:1.7 +Version:1.10 Release:0 PreReq: /sbin/ldconfig Source: %{name}-%{version}.tar.xz ++ libx86emu-1.7.tar.xz -> libx86emu-1.10.tar.xz ++ 3620 lines of diff (skipped)
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2016-03-29 09:53:39 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new (New) Package is "libx86emu" Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2015-10-19 22:47:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.libx86emu.new/libx86emu.changes 2016-03-29 09:53:40.0 +0200 @@ -1,0 +2,6 @@ +Wed Mar 16 15:57:17 CET 2016 - snw...@suse.com + +- build on more archs +- 1.7 + +--- Old: libx86emu-1.6.tar.xz New: libx86emu-1.7.tar.xz Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.FJtUZT/_old 2016-03-29 09:53:41.0 +0200 +++ /var/tmp/diff_new_pack.FJtUZT/_new 2016-03-29 09:53:41.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package libx86emu # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2008 Steffen Winterfeldt # # All modifications and additions to the file contributed by third parties @@ -17,14 +17,14 @@ # -ExclusiveArch: %ix86 x86_64 +# ExclusiveArch: %ix86 x86_64 Name: libx86emu BuildRequires: xz Summary:A small x86 emulation library. License:BSD-3-Clause Group: System/Libraries -Version:1.6 +Version:1.7 Release:0 PreReq: /sbin/ldconfig Source: %{name}-%{version}.tar.xz ++ libx86emu-1.6.tar.xz -> libx86emu-1.7.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-1.6/VERSION new/libx86emu-1.7/VERSION --- old/libx86emu-1.6/VERSION 2015-10-13 11:16:00.0 +0200 +++ new/libx86emu-1.7/VERSION 2016-03-16 15:56:35.0 +0100 @@ -1 +1 @@ -1.6 +1.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-1.6/changelog new/libx86emu-1.7/changelog --- old/libx86emu-1.6/changelog 2015-10-13 11:16:00.0 +0200 +++ new/libx86emu-1.7/changelog 2016-03-16 15:56:35.0 +0100 @@ -1,3 +1,6 @@ +2016-03-16:1.7 + - build on more archs + 2015-10-01:1.6 - Add what's libx86emu useful for - Add documentation about how the project is sent to the distribution diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-1.6/git2log new/libx86emu-1.7/git2log --- old/libx86emu-1.6/git2log 2015-10-13 11:16:00.0 +0200 +++ new/libx86emu-1.7/git2log 2016-03-16 15:56:35.0 +0100 @@ -1,5 +1,15 @@ #! /usr/bin/perl +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# This script is maintained at https://github.com/openSUSE/ssob +# +# If you're in another project, this is just a copy. +# You may update it to the latest version from time to time... +# +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + use strict; use Getopt::Long; @@ -155,7 +165,7 @@ $detail = 1 if /^$/; $detail = 2 if /^Conflicts:$/; $detail = 0 if /^commit /; -if(!$detail || !/^[^\-\s]/) { +if(!$detail) { push @t2, $_ if $detail < 2; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-1.6/mem.c new/libx86emu-1.7/mem.c --- old/libx86emu-1.6/mem.c 2015-10-13 11:16:00.0 +0200 +++ new/libx86emu-1.7/mem.c 2016-03-16 15:56:35.0 +0100 @@ -1,5 +1,7 @@ #include "include/x86emu_int.h" +#if defined(__i386__) || defined (__x86_64__) #include +#endif #define PERM16(a) ((a) + ((a) << 8)) #define PERM32(a) (PERM16(a) + (PERM16(a) << 16))
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2015-10-19 22:47:42 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new (New) Package is "libx86emu" Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2015-03-05 18:14:50.0 +0100 +++ /work/SRC/openSUSE:Factory/.libx86emu.new/libx86emu.changes 2015-10-19 22:47:43.0 +0200 @@ -1,0 +2,8 @@ +Tue Oct 13 09:18:23 UTC 2015 - snw...@suse.com + +- Add what's libx86emu useful for +- Add documentation about how the project is sent to the distribution +- Convert README to Markdown +- 1.6 + +--- Old: libx86emu-1.5.tar.xz New: libx86emu-1.6.tar.xz Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.FSvXhv/_old 2015-10-19 22:47:43.0 +0200 +++ /var/tmp/diff_new_pack.FSvXhv/_new 2015-10-19 22:47:43.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package libx86emu # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2008 Steffen Winterfeldt # # All modifications and additions to the file contributed by third parties @@ -24,7 +24,7 @@ Summary:A small x86 emulation library. License:BSD-3-Clause Group: System/Libraries -Version:1.5 +Version:1.6 Release:0 PreReq: /sbin/ldconfig Source: %{name}-%{version}.tar.xz @@ -87,7 +87,7 @@ %files -n libx86emu1 %defattr(-,root,root) %{_libdir}/*.so.* -%doc README LICENSE +%doc README.md LICENSE %files -n libx86emu-devel %defattr(-,root,root) ++ libx86emu-1.5.tar.xz -> libx86emu-1.6.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libx86emu-1.5/README new/libx86emu-1.6/README --- old/libx86emu-1.5/README2015-03-02 11:44:28.0 +0100 +++ new/libx86emu-1.6/README1970-01-01 01:00:00.0 +0100 @@ -1,269 +0,0 @@ -x86 emulation library -= - - -API functions -- - -- create new emulation object - x86emu_t *x86emu_new(unsigned def_mem_perm, unsigned def_io_perm); - -def_mem_perm are the default permissions for memory accesses, def_io_perm for io. See -x86emu_set_perm(), x86emu_set_io_perm(). - -Free object later with x86emu_done(). - - -- delete emulation object - x86emu_t *x86emu_done(x86emu_t *emu); - -Frees all memory; returns NULL; - - -- clone emulation object - x86emu_t *x86emu_clone(x86emu_t *emu); - -Creates a copy of emu. Free the copy later with x86emu_done(). - - -- reset cpu state - void x86emu_reset(x86emu_t *emu); - -Does a normal cpu reset (clear registers, set cs:eip). - - -- start emulation - unsigned x86emu_run(x86emu_t *emu, unsigned flags); - - - flags: - X86EMU_RUN_TIMEOUT - X86EMU_RUN_MAX_INSTR - X86EMU_RUN_NO_EXEC - X86EMU_RUN_NO_CODE - X86EMU_RUN_LOOP - -X86EMU_RUN_TIMEOUT: set emu->timeout to max. seconds to run. -X86EMU_RUN_MAX_INSTR: set emu->max_instr to max. instructions to emulate. - -Return value indicates why x86emu_run() stopped (see flags). - -Note: copies emu to global variable x86emu while running! - - -- stop emulation - void x86emu_stop(x86emu_t *emu); - -Use this function in callbacks (e.g. interrupt handler) to tell the emulator -to stop. The emulator returns from x86emu_run() when the current instruction -has been finished. - - -- set log buffer - - void x86emu_set_log(x86emu_t *emu, char *buffer, unsigned buffer_size, x86emu_flush_func_t flush); - typedef void (* x86emu_flush_func_t)(x86emu_t *emu, char *buf, unsigned size); - -If the log buffer is full, flush() is called (if not NULL). The buffer is freed in x86emu_done(). - - -- write to log - void x86emu_log(x86emu_t *emu, const char *format, ...) __attribute__ ((format (printf, 1, 2))); - - -- clear log - void x86emu_clear_log(x86emu_t *emu, int flush); - -Clear log buffer. If flush != 0, write current log via flush() function (see x86emu_set_log()). - - -- dump emulator state - void x86emu_dump(x86emu_t *emu, int flags); - - - flags: - X86EMU_DUMP_REGS - X86EMU_DUMP_MEM - X86EMU_DUMP_ACC_MEM - X86EMU_DUMP_INV_MEM - X86EMU_DUMP_ATTR - X86EMU_DUMP_ASCII - X86EMU_DUMP_IO - X86EMU_DUMP_INTS - X86EMU_DUMP_TIME - -Writes emulator state to log. - - -- memory permissions - - void x86emu_set_perm(x86emu_t *emu, unsigned start, unsigned end, unsigned perm); - - - perm: bitmask of -X86EMU_PERM_R -X86EMU_PERM_W -X86EMU_PERM_X -X86EMU_PERM_VALID -X86EMU_ACC_R -X86EMU_ACC_W -X86EMU_ACC_X -X86EMU_ACC_INVALID -
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2015-03-05 15:32:11 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new (New) Package is "libx86emu" Changes: --- /work/SRC/openSUSE:Factory/libx86emu/libx86emu.changes 2011-09-23 02:11:13.0 +0200 +++ /work/SRC/openSUSE:Factory/.libx86emu.new/libx86emu.changes 2015-03-05 18:14:50.0 +0100 @@ -1,0 +2,24 @@ +Mon Mar 2 11:46:08 CET 2015 - snw...@suse.com + +- avoid using reserved c++ words +- fix typo in Makefile +- fix some compiler warnings +- prepare for obs auto-submission +- add VERSION file back +- 1.5 + +--- +Mon Jan 31 14:47:04 CET 2011 - snw...@suse.de + +- better invalid code detection +- fix instruction log for some instructions + +--- +Thu Sep 23 18:07:14 CEST 2010 - snw...@suse.de + +- create VERSION and changelog from git repo +- log message +- don't use 'i386' +- properly decode all descriptor types + +--- Old: libx86emu-1.1.tar.bz2 New: libx86emu-1.5.tar.xz Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.zriAk3/_old 2015-03-05 18:14:51.0 +0100 +++ /var/tmp/diff_new_pack.zriAk3/_new 2015-03-05 18:14:51.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package libx86emu (Version 1.1) +# spec file for package libx86emu # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008 Steffen Winterfeldt # # All modifications and additions to the file contributed by third parties @@ -20,14 +20,15 @@ ExclusiveArch: %ix86 x86_64 Name: libx86emu +BuildRequires: xz +Summary:A small x86 emulation library. License:BSD-3-Clause Group: System/Libraries -AutoReqProv:on -Summary:A small x86 emulation library. -Version:1.1 -Release:3 +Version:1.5 +Release:0 PreReq: /sbin/ldconfig -Source: libx86emu-1.1.tar.bz2 +Source: %{name}-%{version}.tar.xz +Url:https://github.com/wfeldt/libx86emu BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -41,10 +42,8 @@ Steffen Winterfeldt %package -n libx86emu1 -License:BSD-3-Clause Summary:A small x86 emulation library. Group: System/Libraries -AutoReqProv:on %description -n libx86emu1 Small x86 emulation library with focus of easy usage and extended @@ -57,7 +56,6 @@ Steffen Winterfeldt %package -n libx86emu-devel -License:BSD-3-Clause Summary:A small x86 emulation library. Group: System/Libraries Requires: libx86emu1 = %version @@ -82,9 +80,6 @@ install -d -m 755 %{buildroot}%{_libdir} make install DESTDIR=%{buildroot} LIBDIR=%{_libdir} -%clean -rm -rf %{buildroot} - %post -n libx86emu1 -p /sbin/ldconfig %postun -n libx86emu1 -p /sbin/ldconfig @@ -92,11 +87,11 @@ %files -n libx86emu1 %defattr(-,root,root) %{_libdir}/*.so.* +%doc README LICENSE %files -n libx86emu-devel %defattr(-,root,root) %{_libdir}/*.so -/usr/include/x86emu.h -%doc README LICENSE +%{_includedir}/x86emu.h %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libx86emu for openSUSE:Factory
Hello community, here is the log from the commit of package libx86emu for openSUSE:Factory checked in at 2011-12-06 18:26:17 Comparing /work/SRC/openSUSE:Factory/libx86emu (Old) and /work/SRC/openSUSE:Factory/.libx86emu.new (New) Package is "libx86emu", Maintainer is "snw...@suse.com" Changes: Other differences: -- ++ libx86emu.spec ++ --- /var/tmp/diff_new_pack.8bywzq/_old 2011-12-06 18:47:47.0 +0100 +++ /var/tmp/diff_new_pack.8bywzq/_new 2011-12-06 18:47:47.0 +0100 @@ -20,7 +20,7 @@ ExclusiveArch: %ix86 x86_64 Name: libx86emu -License:BSD 3-Clause +License:BSD-3-Clause Group: System/Libraries AutoReqProv:on Summary:A small x86 emulation library. @@ -41,7 +41,7 @@ Steffen Winterfeldt %package -n libx86emu1 -License:BSD 3-Clause +License:BSD-3-Clause Summary:A small x86 emulation library. Group: System/Libraries AutoReqProv:on @@ -57,7 +57,7 @@ Steffen Winterfeldt %package -n libx86emu-devel -License:BSD 3-Clause +License:BSD-3-Clause Summary:A small x86 emulation library. Group: System/Libraries Requires: libx86emu1 = %version -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org