@specy/x86 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,54 +4,7 @@
4
4
  <option name="autoReloadType" value="SELECTIVE" />
5
5
  </component>
6
6
  <component name="ChangeListManager">
7
- <list default="true" id="d2877eb3-5848-4998-b739-e0b12d7d729c" name="Changes" comment="first commit">
8
- <change afterPath="$PROJECT_DIR$/src/index.ts" afterDir="false" />
9
- <change afterPath="$PROJECT_DIR$/src/instructions.ts" afterDir="false" />
10
- <change afterPath="$PROJECT_DIR$/src/test.ts" afterDir="false" />
11
- <change afterPath="$PROJECT_DIR$/src/x86/deps/capstone-x86.min.js" afterDir="false" />
12
- <change afterPath="$PROJECT_DIR$/src/x86/deps/keystone-x86.min.js" afterDir="false" />
13
- <change afterPath="$PROJECT_DIR$/src/x86/deps/unicorn-x86.min.js" afterDir="false" />
14
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/Makefile" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/Makefile" afterDir="false" />
15
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/config.mk" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/config.mk" afterDir="false" />
16
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/include/unicorn/unicorn.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/include/unicorn/unicorn.h" afterDir="false" />
17
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/Makefile.target" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/Makefile.target" afterDir="false" />
18
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/aarch64.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/aarch64.h" afterDir="false" />
19
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/aarch64eb.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/aarch64eb.h" afterDir="false" />
20
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/arm.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/arm.h" afterDir="false" />
21
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/armeb.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/armeb.h" afterDir="false" />
22
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/configure" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/configure" afterDir="false" />
23
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/cpu-exec.c" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/cpu-exec.c" afterDir="false" />
24
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/glib_compat.c" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/glib_compat.c" afterDir="false" />
25
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/header_gen.py" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/header_gen.py" afterDir="false" />
26
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/include/exec/exec-all.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/include/exec/exec-all.h" afterDir="false" />
27
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/include/exec/helper-gen.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/include/exec/helper-gen.h" afterDir="false" />
28
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/include/exec/helper-proto.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/include/exec/helper-proto.h" afterDir="false" />
29
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/include/exec/helper-tcg.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/include/exec/helper-tcg.h" afterDir="false" />
30
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/include/qemu-common.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/include/qemu-common.h" afterDir="false" />
31
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/m68k.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/m68k.h" afterDir="false" />
32
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/mips.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/mips.h" afterDir="false" />
33
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/mips64.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/mips64.h" afterDir="false" />
34
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/mips64el.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/mips64el.h" afterDir="false" />
35
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/mipsel.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/mipsel.h" afterDir="false" />
36
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/sparc.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/sparc.h" afterDir="false" />
37
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/sparc64.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/sparc64.h" afterDir="false" />
38
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/target-arm/translate.c" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/target-arm/translate.c" afterDir="false" />
39
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/target-i386/translate.c" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/target-i386/translate.c" afterDir="false" />
40
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/target-m68k/translate.c" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/target-m68k/translate.c" afterDir="false" />
41
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/target-mips/translate.c" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/target-mips/translate.c" afterDir="false" />
42
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/target-sparc/translate.c" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/target-sparc/translate.c" afterDir="false" />
43
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/tcg-runtime.c" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/tcg-runtime.c" afterDir="false" />
44
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/tcg/tcg.c" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/tcg/tcg.c" afterDir="false" />
45
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/x86_64.h" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/qemu/x86_64.h" afterDir="false" />
46
- <change beforePath="$PROJECT_DIR$/../unicornjs/unicorn/uc.c" beforeDir="false" afterPath="$PROJECT_DIR$/../unicornjs/unicorn/uc.c" afterDir="false" />
47
- <change beforePath="$PROJECT_DIR$/.gitmodules" beforeDir="false" />
48
- <change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
49
- <change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/package-lock.json" afterDir="false" />
50
- <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
51
- <change beforePath="$PROJECT_DIR$/src/x86/capstone" beforeDir="false" />
52
- <change beforePath="$PROJECT_DIR$/src/x86/keystone" beforeDir="false" />
53
- <change beforePath="$PROJECT_DIR$/src/x86/unicorn" beforeDir="false" />
54
- </list>
7
+ <list default="true" id="d2877eb3-5848-4998-b739-e0b12d7d729c" name="Changes" comment="delete scripts" />
55
8
  <option name="SHOW_DIALOG" value="false" />
56
9
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
57
10
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -96,7 +49,7 @@
96
49
  "node.js.selected.package.tslint": "(autodetect)",
97
50
  "nodejs_package_manager_path": "npm",
98
51
  "settings.editor.selected.configurable": "com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable",
99
- "ts.external.directory.path": "C:\\Users\\specy\\Desktop\\progetti\\x86-js\\node_modules\\typescript\\lib",
52
+ "ts.external.directory.path": "C:\\Program Files\\JetBrains\\WebStorm 2023.1.1\\plugins\\javascript-plugin\\jsLanguageServicesImpl\\external",
100
53
  "vue.rearranger.settings.migration": "true"
101
54
  }
102
55
  }]]></component>
@@ -135,7 +88,7 @@
135
88
  <workItem from="1744367326184" duration="185000" />
136
89
  <workItem from="1744391559219" duration="13405000" />
137
90
  <workItem from="1744454626595" duration="127000" />
138
- <workItem from="1744454759996" duration="782000" />
91
+ <workItem from="1744454759996" duration="1076000" />
139
92
  </task>
140
93
  <task id="LOCAL-00001" summary="TODO">
141
94
  <option name="closed" value="true" />
@@ -153,7 +106,15 @@
153
106
  <option name="project" value="LOCAL" />
154
107
  <updated>1744455574009</updated>
155
108
  </task>
156
- <option name="localTasksCounter" value="3" />
109
+ <task id="LOCAL-00003" summary="delete scripts">
110
+ <option name="closed" value="true" />
111
+ <created>1744455613763</created>
112
+ <option name="number" value="00003" />
113
+ <option name="presentableId" value="LOCAL-00003" />
114
+ <option name="project" value="LOCAL" />
115
+ <updated>1744455613763</updated>
116
+ </task>
117
+ <option name="localTasksCounter" value="4" />
157
118
  <servers />
158
119
  </component>
159
120
  <component name="TypeScriptGeneratedFilesManager">
@@ -162,6 +123,7 @@
162
123
  <component name="VcsManagerConfiguration">
163
124
  <MESSAGE value="TODO" />
164
125
  <MESSAGE value="first commit" />
165
- <option name="LAST_COMMIT_MESSAGE" value="first commit" />
126
+ <MESSAGE value="delete scripts" />
127
+ <option name="LAST_COMMIT_MESSAGE" value="delete scripts" />
166
128
  </component>
167
129
  </project>
package/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # X86 Interpreter
2
+ [![npm](https://img.shields.io/npm/v/@specy/x86.svg)](https://www.npmjs.com/package/@specy/x86)
2
3
 
3
4
  A TypeScript library for x86 assembly interpretation, simulation, and debugging.
4
5
 
@@ -6,9 +7,9 @@ A TypeScript library for x86 assembly interpretation, simulation, and debugging.
6
7
 
7
8
  This library provides a JavaScript/TypeScript interface for interpreting and simulating x86 assembly code. It combines three powerful engines:
8
9
 
9
- - **Unicorn Engine** - For CPU emulation
10
- - **Keystone Engine** - For assembly
11
- - **Capstone Engine** - For disassembly
10
+ - **[Unicorn.js](https://github.com/AlexAltea/unicorn.js)** - For CPU emulation
11
+ - **[Keystone.js](https://github.com/AlexAltea/keystone.js)** - For assembly
12
+ - **[Capstone.js](https://github.com/AlexAltea/capstone.js)** - For disassembly
12
13
 
13
14
  With this library, you can assemble, execute, and debug x86 instructions, manipulate registers and memory, and analyze program behavior at the instruction level.
14
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@specy/x86",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "An x86 interpreter for Javascript",
5
5
  "homepage": "https://github.com/Specy/x86-js#readme",
6
6
  "bugs": {