smallworld-re 1.0.3__py3-none-any.whl → 2.0.0__py3-none-any.whl
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.
- smallworld/analyses/__init__.py +8 -0
- smallworld/analyses/analysis.py +8 -67
- smallworld/analyses/code_coverage.py +1 -2
- smallworld/analyses/colorizer.py +301 -534
- smallworld/analyses/colorizer_def_use.py +217 -0
- smallworld/analyses/colorizer_summary.py +173 -83
- smallworld/analyses/field_detection/field_analysis.py +7 -8
- smallworld/analyses/field_detection/hints.py +1 -1
- smallworld/analyses/field_detection/malloc.py +2 -2
- smallworld/analyses/trace_execution.py +160 -0
- smallworld/analyses/trace_execution_types.py +42 -0
- smallworld/analyses/unstable/angr/divergence.py +1 -2
- smallworld/analyses/unstable/angr/model.py +5 -6
- smallworld/analyses/unstable/angr_nwbt.py +3 -4
- smallworld/analyses/unstable/code_coverage.py +2 -3
- smallworld/analyses/unstable/code_reachable.py +2 -3
- smallworld/analyses/unstable/control_flow_tracer.py +2 -3
- smallworld/analyses/unstable/pointer_finder.py +2 -3
- smallworld/analyses/unstable/utils/tui.py +71 -0
- smallworld/emulators/__init__.py +3 -1
- smallworld/emulators/angr/angr.py +30 -9
- smallworld/emulators/angr/machdefs/__init__.py +2 -0
- smallworld/emulators/angr/machdefs/aarch64.py +1 -1
- smallworld/emulators/angr/machdefs/amd64.py +0 -4
- smallworld/emulators/angr/machdefs/arm.py +0 -2
- smallworld/emulators/angr/machdefs/i386.py +0 -2
- smallworld/emulators/angr/machdefs/loongarch.py +340 -0
- smallworld/emulators/angr/machdefs/machdef.py +1 -8
- smallworld/emulators/angr/machdefs/mips.py +0 -2
- smallworld/emulators/angr/machdefs/mips64.py +0 -2
- smallworld/emulators/angr/machdefs/ppc.py +1 -2
- smallworld/emulators/angr/machdefs/riscv.py +8 -10
- smallworld/emulators/angr/machdefs/xtensa.py +7 -4
- smallworld/emulators/emulator.py +22 -0
- smallworld/emulators/ghidra/__init__.py +37 -0
- smallworld/emulators/ghidra/ghidra.py +513 -0
- smallworld/emulators/ghidra/machdefs/__init__.py +31 -0
- smallworld/emulators/ghidra/machdefs/aarch64.py +289 -0
- smallworld/emulators/ghidra/machdefs/amd64.py +185 -0
- smallworld/emulators/ghidra/machdefs/arm.py +370 -0
- smallworld/emulators/ghidra/machdefs/i386.py +109 -0
- smallworld/emulators/ghidra/machdefs/loongarch.py +162 -0
- smallworld/emulators/ghidra/machdefs/machdef.py +81 -0
- smallworld/emulators/ghidra/machdefs/mips.py +163 -0
- smallworld/emulators/ghidra/machdefs/mips64.py +186 -0
- smallworld/emulators/ghidra/machdefs/ppc.py +98 -0
- smallworld/emulators/ghidra/machdefs/riscv.py +208 -0
- smallworld/emulators/ghidra/machdefs/xtensa.py +21 -0
- smallworld/emulators/ghidra/typing.py +28 -0
- smallworld/emulators/hookable.py +18 -4
- smallworld/emulators/panda/machdefs/__init__.py +2 -2
- smallworld/emulators/panda/machdefs/aarch64.py +186 -11
- smallworld/emulators/panda/machdefs/amd64.py +103 -11
- smallworld/emulators/panda/machdefs/arm.py +216 -20
- smallworld/emulators/panda/machdefs/i386.py +30 -7
- smallworld/emulators/panda/machdefs/machdef.py +9 -16
- smallworld/emulators/panda/machdefs/mips.py +49 -5
- smallworld/emulators/panda/machdefs/mips64.py +57 -5
- smallworld/emulators/panda/machdefs/ppc.py +38 -13
- smallworld/emulators/panda/panda.py +146 -44
- smallworld/emulators/unicorn/__init__.py +2 -0
- smallworld/emulators/unicorn/machdefs/aarch64.py +253 -264
- smallworld/emulators/unicorn/machdefs/amd64.py +254 -259
- smallworld/emulators/unicorn/machdefs/arm.py +200 -212
- smallworld/emulators/unicorn/machdefs/i386.py +84 -90
- smallworld/emulators/unicorn/machdefs/machdef.py +2 -23
- smallworld/emulators/unicorn/machdefs/mips.py +127 -135
- smallworld/emulators/unicorn/unicorn.py +52 -13
- smallworld/helpers.py +4 -19
- smallworld/hinting/hinting.py +22 -192
- smallworld/hinting/hints.py +50 -18
- smallworld/instructions/bsid.py +8 -8
- smallworld/logging.py +4 -2
- smallworld/platforms/__init__.py +12 -0
- smallworld/platforms/defs/__init__.py +36 -0
- smallworld/platforms/defs/aarch64.py +450 -0
- smallworld/platforms/defs/amd64.py +463 -0
- smallworld/platforms/defs/arm.py +519 -0
- smallworld/platforms/defs/i386.py +258 -0
- smallworld/platforms/defs/loongarch.py +270 -0
- smallworld/platforms/defs/mips.py +321 -0
- smallworld/platforms/defs/mips64.py +313 -0
- smallworld/platforms/defs/platformdef.py +97 -0
- smallworld/platforms/defs/powerpc.py +259 -0
- smallworld/platforms/defs/riscv.py +257 -0
- smallworld/platforms/defs/xtensa.py +96 -0
- smallworld/{platforms.py → platforms/platforms.py} +3 -0
- smallworld/state/cpus/__init__.py +2 -0
- smallworld/state/cpus/aarch64.py +0 -9
- smallworld/state/cpus/amd64.py +6 -28
- smallworld/state/cpus/arm.py +0 -11
- smallworld/state/cpus/cpu.py +0 -11
- smallworld/state/cpus/i386.py +0 -7
- smallworld/state/cpus/loongarch.py +299 -0
- smallworld/state/cpus/mips.py +4 -47
- smallworld/state/cpus/mips64.py +18 -58
- smallworld/state/cpus/powerpc.py +2 -9
- smallworld/state/cpus/riscv.py +1 -11
- smallworld/state/cpus/xtensa.py +0 -5
- smallworld/state/memory/code.py +38 -2
- smallworld/state/memory/elf/__init__.py +5 -1
- smallworld/state/memory/elf/coredump/__init__.py +3 -0
- smallworld/state/memory/elf/coredump/coredump.py +46 -0
- smallworld/state/memory/elf/coredump/prstatus/__init__.py +27 -0
- smallworld/state/memory/elf/coredump/prstatus/aarch64.py +46 -0
- smallworld/state/memory/elf/coredump/prstatus/amd64.py +40 -0
- smallworld/state/memory/elf/coredump/prstatus/arm.py +53 -0
- smallworld/state/memory/elf/coredump/prstatus/i386.py +30 -0
- smallworld/state/memory/elf/coredump/prstatus/mips.py +55 -0
- smallworld/state/memory/elf/coredump/prstatus/mips64.py +57 -0
- smallworld/state/memory/elf/coredump/prstatus/ppc.py +82 -0
- smallworld/state/memory/elf/coredump/prstatus/prstatus.py +129 -0
- smallworld/state/memory/elf/elf.py +211 -57
- smallworld/state/memory/elf/register_state.py +36 -0
- smallworld/state/memory/elf/rela/__init__.py +2 -0
- smallworld/state/memory/elf/rela/aarch64.py +3 -1
- smallworld/state/memory/elf/rela/amd64.py +4 -2
- smallworld/state/memory/elf/rela/arm.py +4 -2
- smallworld/state/memory/elf/rela/i386.py +4 -2
- smallworld/state/memory/elf/rela/loongarch.py +32 -0
- smallworld/state/memory/elf/rela/mips.py +39 -18
- smallworld/state/memory/elf/rela/ppc.py +31 -14
- smallworld/state/memory/elf/structs.py +3 -0
- smallworld/state/memory/heap.py +2 -2
- smallworld/state/memory/memory.py +18 -0
- smallworld/state/memory/pe/__init__.py +3 -0
- smallworld/state/memory/pe/pe.py +361 -0
- smallworld/state/memory/pe/structs.py +60 -0
- smallworld/state/memory/stack/__init__.py +2 -0
- smallworld/state/memory/stack/loongarch.py +26 -0
- smallworld/state/models/__init__.py +29 -2
- smallworld/state/models/aarch64/__init__.py +1 -0
- smallworld/state/models/aarch64/systemv/__init__.py +6 -0
- smallworld/state/models/aarch64/systemv/c99/__init__.py +12 -0
- smallworld/state/models/aarch64/systemv/c99/signal.py +16 -0
- smallworld/state/models/aarch64/systemv/c99/stdio.py +265 -0
- smallworld/state/models/aarch64/systemv/c99/stdlib.py +169 -0
- smallworld/state/models/aarch64/systemv/c99/string.py +139 -0
- smallworld/state/models/aarch64/systemv/c99/time.py +61 -0
- smallworld/state/models/aarch64/systemv/posix/__init__.py +6 -0
- smallworld/state/models/aarch64/systemv/posix/libgen.py +16 -0
- smallworld/state/models/aarch64/systemv/posix/signal.py +157 -0
- smallworld/state/models/aarch64/systemv/systemv.py +80 -0
- smallworld/state/models/amd64/__init__.py +1 -0
- smallworld/state/models/amd64/systemv/__init__.py +6 -0
- smallworld/state/models/amd64/systemv/c99/__init__.py +12 -0
- smallworld/state/models/amd64/systemv/c99/signal.py +16 -0
- smallworld/state/models/amd64/systemv/c99/stdio.py +265 -0
- smallworld/state/models/amd64/systemv/c99/stdlib.py +169 -0
- smallworld/state/models/amd64/systemv/c99/string.py +139 -0
- smallworld/state/models/amd64/systemv/c99/time.py +61 -0
- smallworld/state/models/amd64/systemv/posix/__init__.py +6 -0
- smallworld/state/models/amd64/systemv/posix/libgen.py +16 -0
- smallworld/state/models/amd64/systemv/posix/signal.py +157 -0
- smallworld/state/models/amd64/systemv/systemv.py +78 -0
- smallworld/state/models/armel/__init__.py +1 -0
- smallworld/state/models/armel/systemv/__init__.py +6 -0
- smallworld/state/models/armel/systemv/c99/__init__.py +12 -0
- smallworld/state/models/armel/systemv/c99/signal.py +16 -0
- smallworld/state/models/armel/systemv/c99/stdio.py +265 -0
- smallworld/state/models/armel/systemv/c99/stdlib.py +169 -0
- smallworld/state/models/armel/systemv/c99/string.py +139 -0
- smallworld/state/models/armel/systemv/c99/time.py +61 -0
- smallworld/state/models/armel/systemv/posix/__init__.py +6 -0
- smallworld/state/models/armel/systemv/posix/libgen.py +16 -0
- smallworld/state/models/armel/systemv/posix/signal.py +157 -0
- smallworld/state/models/armel/systemv/systemv.py +82 -0
- smallworld/state/models/armhf/__init__.py +1 -0
- smallworld/state/models/armhf/systemv/__init__.py +6 -0
- smallworld/state/models/armhf/systemv/c99/__init__.py +12 -0
- smallworld/state/models/armhf/systemv/c99/signal.py +16 -0
- smallworld/state/models/armhf/systemv/c99/stdio.py +265 -0
- smallworld/state/models/armhf/systemv/c99/stdlib.py +169 -0
- smallworld/state/models/armhf/systemv/c99/string.py +139 -0
- smallworld/state/models/armhf/systemv/c99/time.py +61 -0
- smallworld/state/models/armhf/systemv/posix/__init__.py +6 -0
- smallworld/state/models/armhf/systemv/posix/libgen.py +16 -0
- smallworld/state/models/armhf/systemv/posix/signal.py +157 -0
- smallworld/state/models/armhf/systemv/systemv.py +77 -0
- smallworld/state/models/c99/__init__.py +12 -0
- smallworld/state/models/c99/fmt_print.py +915 -0
- smallworld/state/models/c99/fmt_scan.py +864 -0
- smallworld/state/models/c99/math.py +362 -0
- smallworld/state/models/c99/signal.py +71 -0
- smallworld/state/models/c99/stdio.py +1305 -0
- smallworld/state/models/c99/stdlib.py +595 -0
- smallworld/state/models/c99/string.py +674 -0
- smallworld/state/models/c99/time.py +340 -0
- smallworld/state/models/c99/utils.py +89 -0
- smallworld/state/models/cstd.py +759 -0
- smallworld/state/models/errno.py +581 -0
- smallworld/state/models/filedesc.py +515 -0
- smallworld/state/models/i386/__init__.py +1 -0
- smallworld/state/models/i386/systemv/__init__.py +6 -0
- smallworld/state/models/i386/systemv/c99/__init__.py +12 -0
- smallworld/state/models/i386/systemv/c99/signal.py +16 -0
- smallworld/state/models/i386/systemv/c99/stdio.py +265 -0
- smallworld/state/models/i386/systemv/c99/stdlib.py +169 -0
- smallworld/state/models/i386/systemv/c99/string.py +139 -0
- smallworld/state/models/i386/systemv/c99/time.py +61 -0
- smallworld/state/models/i386/systemv/posix/__init__.py +6 -0
- smallworld/state/models/i386/systemv/posix/libgen.py +16 -0
- smallworld/state/models/i386/systemv/posix/signal.py +157 -0
- smallworld/state/models/i386/systemv/systemv.py +71 -0
- smallworld/state/models/loongarch64/__init__.py +1 -0
- smallworld/state/models/loongarch64/systemv/__init__.py +6 -0
- smallworld/state/models/loongarch64/systemv/c99/__init__.py +12 -0
- smallworld/state/models/loongarch64/systemv/c99/signal.py +16 -0
- smallworld/state/models/loongarch64/systemv/c99/stdio.py +265 -0
- smallworld/state/models/loongarch64/systemv/c99/stdlib.py +169 -0
- smallworld/state/models/loongarch64/systemv/c99/string.py +139 -0
- smallworld/state/models/loongarch64/systemv/c99/time.py +61 -0
- smallworld/state/models/loongarch64/systemv/posix/__init__.py +6 -0
- smallworld/state/models/loongarch64/systemv/posix/libgen.py +16 -0
- smallworld/state/models/loongarch64/systemv/posix/signal.py +157 -0
- smallworld/state/models/loongarch64/systemv/systemv.py +83 -0
- smallworld/state/models/mips/__init__.py +1 -0
- smallworld/state/models/mips/systemv/__init__.py +6 -0
- smallworld/state/models/mips/systemv/c99/__init__.py +12 -0
- smallworld/state/models/mips/systemv/c99/signal.py +16 -0
- smallworld/state/models/mips/systemv/c99/stdio.py +265 -0
- smallworld/state/models/mips/systemv/c99/stdlib.py +169 -0
- smallworld/state/models/mips/systemv/c99/string.py +139 -0
- smallworld/state/models/mips/systemv/c99/time.py +61 -0
- smallworld/state/models/mips/systemv/posix/__init__.py +6 -0
- smallworld/state/models/mips/systemv/posix/libgen.py +16 -0
- smallworld/state/models/mips/systemv/posix/signal.py +157 -0
- smallworld/state/models/mips/systemv/systemv.py +78 -0
- smallworld/state/models/mips64/__init__.py +1 -0
- smallworld/state/models/mips64/systemv/__init__.py +6 -0
- smallworld/state/models/mips64/systemv/c99/__init__.py +12 -0
- smallworld/state/models/mips64/systemv/c99/signal.py +16 -0
- smallworld/state/models/mips64/systemv/c99/stdio.py +265 -0
- smallworld/state/models/mips64/systemv/c99/stdlib.py +169 -0
- smallworld/state/models/mips64/systemv/c99/string.py +139 -0
- smallworld/state/models/mips64/systemv/c99/time.py +61 -0
- smallworld/state/models/mips64/systemv/posix/__init__.py +6 -0
- smallworld/state/models/mips64/systemv/posix/libgen.py +16 -0
- smallworld/state/models/mips64/systemv/posix/signal.py +157 -0
- smallworld/state/models/mips64/systemv/systemv.py +98 -0
- smallworld/state/models/mips64el/__init__.py +1 -0
- smallworld/state/models/mips64el/systemv/__init__.py +6 -0
- smallworld/state/models/mips64el/systemv/c99/__init__.py +12 -0
- smallworld/state/models/mips64el/systemv/c99/signal.py +16 -0
- smallworld/state/models/mips64el/systemv/c99/stdio.py +265 -0
- smallworld/state/models/mips64el/systemv/c99/stdlib.py +169 -0
- smallworld/state/models/mips64el/systemv/c99/string.py +139 -0
- smallworld/state/models/mips64el/systemv/c99/time.py +61 -0
- smallworld/state/models/mips64el/systemv/posix/__init__.py +6 -0
- smallworld/state/models/mips64el/systemv/posix/libgen.py +16 -0
- smallworld/state/models/mips64el/systemv/posix/signal.py +157 -0
- smallworld/state/models/mips64el/systemv/systemv.py +96 -0
- smallworld/state/models/mipsel/__init__.py +1 -0
- smallworld/state/models/mipsel/systemv/__init__.py +6 -0
- smallworld/state/models/mipsel/systemv/c99/__init__.py +12 -0
- smallworld/state/models/mipsel/systemv/c99/signal.py +16 -0
- smallworld/state/models/mipsel/systemv/c99/stdio.py +265 -0
- smallworld/state/models/mipsel/systemv/c99/stdlib.py +169 -0
- smallworld/state/models/mipsel/systemv/c99/string.py +139 -0
- smallworld/state/models/mipsel/systemv/c99/time.py +61 -0
- smallworld/state/models/mipsel/systemv/posix/__init__.py +6 -0
- smallworld/state/models/mipsel/systemv/posix/libgen.py +16 -0
- smallworld/state/models/mipsel/systemv/posix/signal.py +157 -0
- smallworld/state/models/mipsel/systemv/systemv.py +78 -0
- smallworld/state/models/model.py +27 -2
- smallworld/state/models/posix/__init__.py +6 -0
- smallworld/state/models/posix/libgen.py +123 -0
- smallworld/state/models/posix/signal.py +690 -0
- smallworld/state/models/powerpc/__init__.py +1 -0
- smallworld/state/models/powerpc/systemv/__init__.py +6 -0
- smallworld/state/models/powerpc/systemv/c99/__init__.py +12 -0
- smallworld/state/models/powerpc/systemv/c99/signal.py +16 -0
- smallworld/state/models/powerpc/systemv/c99/stdio.py +265 -0
- smallworld/state/models/powerpc/systemv/c99/stdlib.py +169 -0
- smallworld/state/models/powerpc/systemv/c99/string.py +139 -0
- smallworld/state/models/powerpc/systemv/c99/time.py +61 -0
- smallworld/state/models/powerpc/systemv/posix/__init__.py +6 -0
- smallworld/state/models/powerpc/systemv/posix/libgen.py +16 -0
- smallworld/state/models/powerpc/systemv/posix/signal.py +157 -0
- smallworld/state/models/powerpc/systemv/systemv.py +93 -0
- smallworld/state/models/riscv64/__init__.py +1 -0
- smallworld/state/models/riscv64/systemv/__init__.py +6 -0
- smallworld/state/models/riscv64/systemv/c99/__init__.py +12 -0
- smallworld/state/models/riscv64/systemv/c99/signal.py +16 -0
- smallworld/state/models/riscv64/systemv/c99/stdio.py +265 -0
- smallworld/state/models/riscv64/systemv/c99/stdlib.py +169 -0
- smallworld/state/models/riscv64/systemv/c99/string.py +139 -0
- smallworld/state/models/riscv64/systemv/c99/time.py +61 -0
- smallworld/state/models/riscv64/systemv/posix/__init__.py +6 -0
- smallworld/state/models/riscv64/systemv/posix/libgen.py +16 -0
- smallworld/state/models/riscv64/systemv/posix/signal.py +157 -0
- smallworld/state/models/riscv64/systemv/systemv.py +85 -0
- smallworld/state/state.py +65 -24
- smallworld/state/unstable/elf.py +16 -31
- smallworld/utils.py +6 -1
- {smallworld_re-1.0.3.dist-info → smallworld_re-2.0.0.dist-info}/METADATA +74 -42
- smallworld_re-2.0.0.dist-info/RECORD +374 -0
- {smallworld_re-1.0.3.dist-info → smallworld_re-2.0.0.dist-info}/WHEEL +1 -1
- smallworld/state/models/x86/__init__.py +0 -2
- smallworld/state/models/x86/microsoftcdecl.py +0 -35
- smallworld/state/models/x86/systemv.py +0 -240
- smallworld_re-1.0.3.dist-info/RECORD +0 -166
- /smallworld/state/models/{posix.py → _posix.py} +0 -0
- {smallworld_re-1.0.3.dist-info → smallworld_re-2.0.0.dist-info}/entry_points.txt +0 -0
- {smallworld_re-1.0.3.dist-info → smallworld_re-2.0.0.dist-info}/licenses/LICENSE.txt +0 -0
- {smallworld_re-1.0.3.dist-info → smallworld_re-2.0.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,157 @@
|
|
1
|
+
from ....posix.signal import (
|
2
|
+
BsdSignal,
|
3
|
+
Kill,
|
4
|
+
Killpg,
|
5
|
+
PthreadKill,
|
6
|
+
PthreadSigmask,
|
7
|
+
Sigaction,
|
8
|
+
Sigaddset,
|
9
|
+
Sigaltstack,
|
10
|
+
Sigdelset,
|
11
|
+
Sigemptyset,
|
12
|
+
Sigfillset,
|
13
|
+
Sighold,
|
14
|
+
Sigignore,
|
15
|
+
Siginterrupt,
|
16
|
+
Sigismember,
|
17
|
+
Sigpause,
|
18
|
+
Sigpending,
|
19
|
+
Sigprocmask,
|
20
|
+
Sigqueue,
|
21
|
+
Sigrelse,
|
22
|
+
Sigset,
|
23
|
+
Sigsuspend,
|
24
|
+
Sigtimedwait,
|
25
|
+
Sigwait,
|
26
|
+
Sigwaitinfo,
|
27
|
+
)
|
28
|
+
from ..systemv import PowerPCSysVModel
|
29
|
+
|
30
|
+
|
31
|
+
class PowerPCSysVBsdSignal(BsdSignal, PowerPCSysVModel):
|
32
|
+
pass
|
33
|
+
|
34
|
+
|
35
|
+
class PowerPCSysVKill(Kill, PowerPCSysVModel):
|
36
|
+
pass
|
37
|
+
|
38
|
+
|
39
|
+
class PowerPCSysVKillpg(Killpg, PowerPCSysVModel):
|
40
|
+
pass
|
41
|
+
|
42
|
+
|
43
|
+
class PowerPCSysVPthreadKill(PthreadKill, PowerPCSysVModel):
|
44
|
+
pass
|
45
|
+
|
46
|
+
|
47
|
+
class PowerPCSysVPthreadSigmask(PthreadSigmask, PowerPCSysVModel):
|
48
|
+
pass
|
49
|
+
|
50
|
+
|
51
|
+
class PowerPCSysVSigaction(Sigaction, PowerPCSysVModel):
|
52
|
+
pass
|
53
|
+
|
54
|
+
|
55
|
+
class PowerPCSysVSigaddset(Sigaddset, PowerPCSysVModel):
|
56
|
+
pass
|
57
|
+
|
58
|
+
|
59
|
+
class PowerPCSysVSigaltstack(Sigaltstack, PowerPCSysVModel):
|
60
|
+
pass
|
61
|
+
|
62
|
+
|
63
|
+
class PowerPCSysVSigdelset(Sigdelset, PowerPCSysVModel):
|
64
|
+
pass
|
65
|
+
|
66
|
+
|
67
|
+
class PowerPCSysVSigemptyset(Sigemptyset, PowerPCSysVModel):
|
68
|
+
pass
|
69
|
+
|
70
|
+
|
71
|
+
class PowerPCSysVSigfillset(Sigfillset, PowerPCSysVModel):
|
72
|
+
pass
|
73
|
+
|
74
|
+
|
75
|
+
class PowerPCSysVSighold(Sighold, PowerPCSysVModel):
|
76
|
+
pass
|
77
|
+
|
78
|
+
|
79
|
+
class PowerPCSysVSigignore(Sigignore, PowerPCSysVModel):
|
80
|
+
pass
|
81
|
+
|
82
|
+
|
83
|
+
class PowerPCSysVSiginterrupt(Siginterrupt, PowerPCSysVModel):
|
84
|
+
pass
|
85
|
+
|
86
|
+
|
87
|
+
class PowerPCSysVSigismember(Sigismember, PowerPCSysVModel):
|
88
|
+
pass
|
89
|
+
|
90
|
+
|
91
|
+
class PowerPCSysVSigpause(Sigpause, PowerPCSysVModel):
|
92
|
+
pass
|
93
|
+
|
94
|
+
|
95
|
+
class PowerPCSysVSigpending(Sigpending, PowerPCSysVModel):
|
96
|
+
pass
|
97
|
+
|
98
|
+
|
99
|
+
class PowerPCSysVSigprocmask(Sigprocmask, PowerPCSysVModel):
|
100
|
+
pass
|
101
|
+
|
102
|
+
|
103
|
+
class PowerPCSysVSigqueue(Sigqueue, PowerPCSysVModel):
|
104
|
+
pass
|
105
|
+
|
106
|
+
|
107
|
+
class PowerPCSysVSigrelse(Sigrelse, PowerPCSysVModel):
|
108
|
+
pass
|
109
|
+
|
110
|
+
|
111
|
+
class PowerPCSysVSigset(Sigset, PowerPCSysVModel):
|
112
|
+
pass
|
113
|
+
|
114
|
+
|
115
|
+
class PowerPCSysVSigsuspend(Sigsuspend, PowerPCSysVModel):
|
116
|
+
pass
|
117
|
+
|
118
|
+
|
119
|
+
class PowerPCSysVSigtimedwait(Sigtimedwait, PowerPCSysVModel):
|
120
|
+
pass
|
121
|
+
|
122
|
+
|
123
|
+
class PowerPCSysVSigwait(Sigwait, PowerPCSysVModel):
|
124
|
+
pass
|
125
|
+
|
126
|
+
|
127
|
+
class PowerPCSysVSigwaitinfo(Sigwaitinfo, PowerPCSysVModel):
|
128
|
+
pass
|
129
|
+
|
130
|
+
|
131
|
+
__all__ = [
|
132
|
+
"PowerPCSysVBsdSignal",
|
133
|
+
"PowerPCSysVKill",
|
134
|
+
"PowerPCSysVKillpg",
|
135
|
+
"PowerPCSysVPthreadKill",
|
136
|
+
"PowerPCSysVPthreadSigmask",
|
137
|
+
"PowerPCSysVSigaction",
|
138
|
+
"PowerPCSysVSigaddset",
|
139
|
+
"PowerPCSysVSigaltstack",
|
140
|
+
"PowerPCSysVSigdelset",
|
141
|
+
"PowerPCSysVSigemptyset",
|
142
|
+
"PowerPCSysVSigfillset",
|
143
|
+
"PowerPCSysVSighold",
|
144
|
+
"PowerPCSysVSigignore",
|
145
|
+
"PowerPCSysVSiginterrupt",
|
146
|
+
"PowerPCSysVSigismember",
|
147
|
+
"PowerPCSysVSigpause",
|
148
|
+
"PowerPCSysVSigpending",
|
149
|
+
"PowerPCSysVSigprocmask",
|
150
|
+
"PowerPCSysVSigqueue",
|
151
|
+
"PowerPCSysVSigrelse",
|
152
|
+
"PowerPCSysVSigset",
|
153
|
+
"PowerPCSysVSigsuspend",
|
154
|
+
"PowerPCSysVSigtimedwait",
|
155
|
+
"PowerPCSysVSigwait",
|
156
|
+
"PowerPCSysVSigwaitinfo",
|
157
|
+
]
|
@@ -0,0 +1,93 @@
|
|
1
|
+
import struct
|
2
|
+
|
3
|
+
from ..... import emulators, platforms
|
4
|
+
from ...cstd import ArgumentType, CStdModel
|
5
|
+
|
6
|
+
|
7
|
+
class PowerPCSysVModel(CStdModel):
|
8
|
+
"""Base class for C models using the PowerPC System-V ABI"""
|
9
|
+
|
10
|
+
platform = platforms.Platform(
|
11
|
+
platforms.Architecture.POWERPC32, platforms.Byteorder.BIG
|
12
|
+
)
|
13
|
+
abi = platforms.ABI.SYSTEMV
|
14
|
+
|
15
|
+
_int_sign_mask = 0x80000000
|
16
|
+
_int_inv_mask = 0xFFFFFFFF
|
17
|
+
_long_sign_mask = 0x80000000
|
18
|
+
_long_inv_mask = 0xFFFFFFFF
|
19
|
+
_long_long_sign_mask = 0x8000000000000000
|
20
|
+
_long_long_inv_mask = 0xFFFFFFFFFFFFFFFF
|
21
|
+
|
22
|
+
_four_byte_types = {
|
23
|
+
ArgumentType.INT,
|
24
|
+
ArgumentType.UINT,
|
25
|
+
ArgumentType.LONG,
|
26
|
+
ArgumentType.ULONG,
|
27
|
+
ArgumentType.SIZE_T,
|
28
|
+
ArgumentType.SSIZE_T,
|
29
|
+
ArgumentType.POINTER,
|
30
|
+
}
|
31
|
+
|
32
|
+
_eight_byte_types = {
|
33
|
+
ArgumentType.LONGLONG,
|
34
|
+
ArgumentType.ULONGLONG,
|
35
|
+
}
|
36
|
+
|
37
|
+
_four_byte_arg_regs = [
|
38
|
+
"r3",
|
39
|
+
"r4",
|
40
|
+
"r5",
|
41
|
+
"r6",
|
42
|
+
"r7",
|
43
|
+
"r8",
|
44
|
+
"r9",
|
45
|
+
"r10",
|
46
|
+
]
|
47
|
+
|
48
|
+
_eight_byte_arg_regs = [
|
49
|
+
"r3",
|
50
|
+
"r4",
|
51
|
+
"r5",
|
52
|
+
"r6",
|
53
|
+
"r7",
|
54
|
+
"r8",
|
55
|
+
"r9",
|
56
|
+
"r10",
|
57
|
+
]
|
58
|
+
|
59
|
+
_soft_float = False
|
60
|
+
_variadic_soft_float = False
|
61
|
+
_floats_are_doubles = True
|
62
|
+
_float_arg_regs = ["f1", "f2", "f3", "f4", "f5", "f6"]
|
63
|
+
_double_arg_regs = ["f1", "f2", "f3", "f4", "f5", "f6"]
|
64
|
+
|
65
|
+
_init_stack_offset = 8
|
66
|
+
_align_stack = True
|
67
|
+
_eight_byte_reg_size = 2
|
68
|
+
_double_reg_size = 1
|
69
|
+
_four_byte_stack_size = 4
|
70
|
+
_eight_byte_stack_size = 8
|
71
|
+
_float_stack_size = 4
|
72
|
+
_double_stack_size = 8
|
73
|
+
|
74
|
+
def _return_4_byte(self, emulator: emulators.Emulator, val: int) -> None:
|
75
|
+
emulator.write_register("r3", val & self._int_inv_mask)
|
76
|
+
|
77
|
+
def _return_8_byte(self, emulator: emulators.Emulator, val: int) -> None:
|
78
|
+
lo = val & self._int_inv_mask
|
79
|
+
hi = val >> 32 & self._int_inv_mask
|
80
|
+
|
81
|
+
emulator.write_register("r3", hi)
|
82
|
+
emulator.write_register("r4", lo)
|
83
|
+
|
84
|
+
def _return_float(self, emulator: emulators.Emulator, val: float) -> None:
|
85
|
+
# NOTE: powerpc promotes floats to doubles
|
86
|
+
data = struct.pack("<d", val)
|
87
|
+
intval = int.from_bytes(data, "little")
|
88
|
+
emulator.write_register("f1", intval)
|
89
|
+
|
90
|
+
def _return_double(self, emulator: emulators.Emulator, val: float) -> None:
|
91
|
+
data = struct.pack("<d", val)
|
92
|
+
intval = int.from_bytes(data, "little")
|
93
|
+
emulator.write_register("f1", intval)
|
@@ -0,0 +1 @@
|
|
1
|
+
from .systemv import __all__ as __sysv__ # noqa: F401
|
@@ -0,0 +1,12 @@
|
|
1
|
+
from .signal import * # noqa F401,F403
|
2
|
+
from .signal import __all__ as __signal__
|
3
|
+
from .stdio import * # noqa F401,F403
|
4
|
+
from .stdio import __all__ as __stdio__
|
5
|
+
from .stdlib import * # noqa F401,F403
|
6
|
+
from .stdlib import __all__ as __stdlib__
|
7
|
+
from .string import * # noqa F401,F403
|
8
|
+
from .string import __all__ as __string__
|
9
|
+
from .time import * # noqa F401,F403
|
10
|
+
from .time import __all__ as __time__
|
11
|
+
|
12
|
+
__all__ = __signal__ + __stdlib__ + __string__ + __stdio__ + __time__
|
@@ -0,0 +1,16 @@
|
|
1
|
+
from ....c99.signal import Raise, Signal
|
2
|
+
from ..systemv import RiscV64SysVModel
|
3
|
+
|
4
|
+
|
5
|
+
class RiscV64SysVRaise(Raise, RiscV64SysVModel):
|
6
|
+
pass
|
7
|
+
|
8
|
+
|
9
|
+
class RiscV64SysVSignal(Signal, RiscV64SysVModel):
|
10
|
+
pass
|
11
|
+
|
12
|
+
|
13
|
+
__all__ = [
|
14
|
+
"RiscV64SysVRaise",
|
15
|
+
"RiscV64SysVSignal",
|
16
|
+
]
|
@@ -0,0 +1,265 @@
|
|
1
|
+
from ....c99 import (
|
2
|
+
Clearerr,
|
3
|
+
Fclose,
|
4
|
+
Feof,
|
5
|
+
Ferror,
|
6
|
+
Fflush,
|
7
|
+
Fgetc,
|
8
|
+
Fgetpos,
|
9
|
+
Fgets,
|
10
|
+
Fopen,
|
11
|
+
Fprintf,
|
12
|
+
Fputc,
|
13
|
+
Fputs,
|
14
|
+
Fread,
|
15
|
+
Freopen,
|
16
|
+
Fscanf,
|
17
|
+
Fseek,
|
18
|
+
Fsetpos,
|
19
|
+
Ftell,
|
20
|
+
Fwrite,
|
21
|
+
Getc,
|
22
|
+
Getchar,
|
23
|
+
Gets,
|
24
|
+
Printf,
|
25
|
+
Putc,
|
26
|
+
Putchar,
|
27
|
+
Puts,
|
28
|
+
Remove,
|
29
|
+
Rename,
|
30
|
+
Rewind,
|
31
|
+
Scanf,
|
32
|
+
Snprintf,
|
33
|
+
Sprintf,
|
34
|
+
Sscanf,
|
35
|
+
Tmpfile,
|
36
|
+
Tmpnam,
|
37
|
+
Ungetc,
|
38
|
+
Vfprintf,
|
39
|
+
Vfscanf,
|
40
|
+
Vprintf,
|
41
|
+
Vscanf,
|
42
|
+
Vsnprintf,
|
43
|
+
Vsprintf,
|
44
|
+
Vsscanf,
|
45
|
+
)
|
46
|
+
from ..systemv import RiscV64SysVModel
|
47
|
+
|
48
|
+
|
49
|
+
class RiscV64SysVFclose(Fclose, RiscV64SysVModel):
|
50
|
+
pass
|
51
|
+
|
52
|
+
|
53
|
+
class RiscV64SysVFeof(Feof, RiscV64SysVModel):
|
54
|
+
pass
|
55
|
+
|
56
|
+
|
57
|
+
class RiscV64SysVFerror(Ferror, RiscV64SysVModel):
|
58
|
+
pass
|
59
|
+
|
60
|
+
|
61
|
+
class RiscV64SysVFgetc(Fgetc, RiscV64SysVModel):
|
62
|
+
pass
|
63
|
+
|
64
|
+
|
65
|
+
class RiscV64SysVFgets(Fgets, RiscV64SysVModel):
|
66
|
+
pass
|
67
|
+
|
68
|
+
|
69
|
+
class RiscV64SysVFopen(Fopen, RiscV64SysVModel):
|
70
|
+
pass
|
71
|
+
|
72
|
+
|
73
|
+
class RiscV64SysVFprintf(Fprintf, RiscV64SysVModel):
|
74
|
+
pass
|
75
|
+
|
76
|
+
|
77
|
+
class RiscV64SysVFputc(Fputc, RiscV64SysVModel):
|
78
|
+
pass
|
79
|
+
|
80
|
+
|
81
|
+
class RiscV64SysVFputs(Fputs, RiscV64SysVModel):
|
82
|
+
pass
|
83
|
+
|
84
|
+
|
85
|
+
class RiscV64SysVFread(Fread, RiscV64SysVModel):
|
86
|
+
pass
|
87
|
+
|
88
|
+
|
89
|
+
class RiscV64SysVFscanf(Fscanf, RiscV64SysVModel):
|
90
|
+
pass
|
91
|
+
|
92
|
+
|
93
|
+
class RiscV64SysVFseek(Fseek, RiscV64SysVModel):
|
94
|
+
pass
|
95
|
+
|
96
|
+
|
97
|
+
class RiscV64SysVFtell(Ftell, RiscV64SysVModel):
|
98
|
+
pass
|
99
|
+
|
100
|
+
|
101
|
+
class RiscV64SysVFwrite(Fwrite, RiscV64SysVModel):
|
102
|
+
pass
|
103
|
+
|
104
|
+
|
105
|
+
class RiscV64SysVGetc(Getc, RiscV64SysVModel):
|
106
|
+
pass
|
107
|
+
|
108
|
+
|
109
|
+
class RiscV64SysVGetchar(Getchar, RiscV64SysVModel):
|
110
|
+
pass
|
111
|
+
|
112
|
+
|
113
|
+
class RiscV64SysVGets(Gets, RiscV64SysVModel):
|
114
|
+
pass
|
115
|
+
|
116
|
+
|
117
|
+
class RiscV64SysVPrintf(Printf, RiscV64SysVModel):
|
118
|
+
pass
|
119
|
+
|
120
|
+
|
121
|
+
class RiscV64SysVPutc(Putc, RiscV64SysVModel):
|
122
|
+
pass
|
123
|
+
|
124
|
+
|
125
|
+
class RiscV64SysVPutchar(Putchar, RiscV64SysVModel):
|
126
|
+
pass
|
127
|
+
|
128
|
+
|
129
|
+
class RiscV64SysVPuts(Puts, RiscV64SysVModel):
|
130
|
+
pass
|
131
|
+
|
132
|
+
|
133
|
+
class RiscV64SysVRemove(Remove, RiscV64SysVModel):
|
134
|
+
pass
|
135
|
+
|
136
|
+
|
137
|
+
class RiscV64SysVRename(Rename, RiscV64SysVModel):
|
138
|
+
pass
|
139
|
+
|
140
|
+
|
141
|
+
class RiscV64SysVRewind(Rewind, RiscV64SysVModel):
|
142
|
+
pass
|
143
|
+
|
144
|
+
|
145
|
+
class RiscV64SysVScanf(Scanf, RiscV64SysVModel):
|
146
|
+
pass
|
147
|
+
|
148
|
+
|
149
|
+
class RiscV64SysVSnprintf(Snprintf, RiscV64SysVModel):
|
150
|
+
pass
|
151
|
+
|
152
|
+
|
153
|
+
class RiscV64SysVSprintf(Sprintf, RiscV64SysVModel):
|
154
|
+
pass
|
155
|
+
|
156
|
+
|
157
|
+
class RiscV64SysVSscanf(Sscanf, RiscV64SysVModel):
|
158
|
+
pass
|
159
|
+
|
160
|
+
|
161
|
+
class RiscV64SysVClearerr(Clearerr, RiscV64SysVModel):
|
162
|
+
pass
|
163
|
+
|
164
|
+
|
165
|
+
class RiscV64SysVFflush(Fflush, RiscV64SysVModel):
|
166
|
+
pass
|
167
|
+
|
168
|
+
|
169
|
+
class RiscV64SysVFreopen(Freopen, RiscV64SysVModel):
|
170
|
+
pass
|
171
|
+
|
172
|
+
|
173
|
+
class RiscV64SysVFgetpos(Fgetpos, RiscV64SysVModel):
|
174
|
+
pass
|
175
|
+
|
176
|
+
|
177
|
+
class RiscV64SysVFsetpos(Fsetpos, RiscV64SysVModel):
|
178
|
+
pass
|
179
|
+
|
180
|
+
|
181
|
+
class RiscV64SysVTmpfile(Tmpfile, RiscV64SysVModel):
|
182
|
+
pass
|
183
|
+
|
184
|
+
|
185
|
+
class RiscV64SysVTmpnam(Tmpnam, RiscV64SysVModel):
|
186
|
+
pass
|
187
|
+
|
188
|
+
|
189
|
+
class RiscV64SysVUngetc(Ungetc, RiscV64SysVModel):
|
190
|
+
pass
|
191
|
+
|
192
|
+
|
193
|
+
class RiscV64SysVVfprintf(Vfprintf, RiscV64SysVModel):
|
194
|
+
pass
|
195
|
+
|
196
|
+
|
197
|
+
class RiscV64SysVVfscanf(Vfscanf, RiscV64SysVModel):
|
198
|
+
pass
|
199
|
+
|
200
|
+
|
201
|
+
class RiscV64SysVVprintf(Vprintf, RiscV64SysVModel):
|
202
|
+
pass
|
203
|
+
|
204
|
+
|
205
|
+
class RiscV64SysVVscanf(Vscanf, RiscV64SysVModel):
|
206
|
+
pass
|
207
|
+
|
208
|
+
|
209
|
+
class RiscV64SysVVsnprintf(Vsnprintf, RiscV64SysVModel):
|
210
|
+
pass
|
211
|
+
|
212
|
+
|
213
|
+
class RiscV64SysVVsprintf(Vsprintf, RiscV64SysVModel):
|
214
|
+
pass
|
215
|
+
|
216
|
+
|
217
|
+
class RiscV64SysVVsscanf(Vsscanf, RiscV64SysVModel):
|
218
|
+
pass
|
219
|
+
|
220
|
+
|
221
|
+
__all__ = [
|
222
|
+
"RiscV64SysVFclose",
|
223
|
+
"RiscV64SysVFeof",
|
224
|
+
"RiscV64SysVFerror",
|
225
|
+
"RiscV64SysVFgetc",
|
226
|
+
"RiscV64SysVFgets",
|
227
|
+
"RiscV64SysVFopen",
|
228
|
+
"RiscV64SysVFprintf",
|
229
|
+
"RiscV64SysVFputc",
|
230
|
+
"RiscV64SysVFputs",
|
231
|
+
"RiscV64SysVFread",
|
232
|
+
"RiscV64SysVFscanf",
|
233
|
+
"RiscV64SysVFseek",
|
234
|
+
"RiscV64SysVFtell",
|
235
|
+
"RiscV64SysVFwrite",
|
236
|
+
"RiscV64SysVGetc",
|
237
|
+
"RiscV64SysVGetchar",
|
238
|
+
"RiscV64SysVGets",
|
239
|
+
"RiscV64SysVPrintf",
|
240
|
+
"RiscV64SysVPutc",
|
241
|
+
"RiscV64SysVPutchar",
|
242
|
+
"RiscV64SysVPuts",
|
243
|
+
"RiscV64SysVRemove",
|
244
|
+
"RiscV64SysVRename",
|
245
|
+
"RiscV64SysVRewind",
|
246
|
+
"RiscV64SysVScanf",
|
247
|
+
"RiscV64SysVSnprintf",
|
248
|
+
"RiscV64SysVSprintf",
|
249
|
+
"RiscV64SysVSscanf",
|
250
|
+
"RiscV64SysVClearerr",
|
251
|
+
"RiscV64SysVFflush",
|
252
|
+
"RiscV64SysVFreopen",
|
253
|
+
"RiscV64SysVFgetpos",
|
254
|
+
"RiscV64SysVFsetpos",
|
255
|
+
"RiscV64SysVTmpfile",
|
256
|
+
"RiscV64SysVTmpnam",
|
257
|
+
"RiscV64SysVUngetc",
|
258
|
+
"RiscV64SysVVfprintf",
|
259
|
+
"RiscV64SysVVfscanf",
|
260
|
+
"RiscV64SysVVprintf",
|
261
|
+
"RiscV64SysVVscanf",
|
262
|
+
"RiscV64SysVVsnprintf",
|
263
|
+
"RiscV64SysVVsprintf",
|
264
|
+
"RiscV64SysVVsscanf",
|
265
|
+
]
|
@@ -0,0 +1,169 @@
|
|
1
|
+
from ....c99 import (
|
2
|
+
Abort,
|
3
|
+
Abs,
|
4
|
+
Atexit,
|
5
|
+
Atof,
|
6
|
+
Atoi,
|
7
|
+
Atol,
|
8
|
+
Atoll,
|
9
|
+
Calloc,
|
10
|
+
Div,
|
11
|
+
Exit,
|
12
|
+
Free,
|
13
|
+
Getenv,
|
14
|
+
LAbs,
|
15
|
+
LDiv,
|
16
|
+
LLAbs,
|
17
|
+
LLDiv,
|
18
|
+
Malloc,
|
19
|
+
Mblen,
|
20
|
+
Mbstowcs,
|
21
|
+
Mbtowc,
|
22
|
+
QSort,
|
23
|
+
Rand,
|
24
|
+
Realloc,
|
25
|
+
Srand,
|
26
|
+
System,
|
27
|
+
Wcstombs,
|
28
|
+
Wctomb,
|
29
|
+
)
|
30
|
+
from ..systemv import RiscV64SysVModel
|
31
|
+
|
32
|
+
|
33
|
+
class RiscV64SysVAbs(Abs, RiscV64SysVModel):
|
34
|
+
pass
|
35
|
+
|
36
|
+
|
37
|
+
class RiscV64SysVLAbs(LAbs, RiscV64SysVModel):
|
38
|
+
pass
|
39
|
+
|
40
|
+
|
41
|
+
class RiscV64SysVLLAbs(LLAbs, RiscV64SysVModel):
|
42
|
+
pass
|
43
|
+
|
44
|
+
|
45
|
+
class RiscV64SysVAtof(Atof, RiscV64SysVModel):
|
46
|
+
pass
|
47
|
+
|
48
|
+
|
49
|
+
class RiscV64SysVAtoi(Atoi, RiscV64SysVModel):
|
50
|
+
pass
|
51
|
+
|
52
|
+
|
53
|
+
class RiscV64SysVAtol(Atol, RiscV64SysVModel):
|
54
|
+
pass
|
55
|
+
|
56
|
+
|
57
|
+
class RiscV64SysVAtoll(Atoll, RiscV64SysVModel):
|
58
|
+
pass
|
59
|
+
|
60
|
+
|
61
|
+
class RiscV64SysVCalloc(Calloc, RiscV64SysVModel):
|
62
|
+
pass
|
63
|
+
|
64
|
+
|
65
|
+
class RiscV64SysVDiv(Div, RiscV64SysVModel):
|
66
|
+
pass
|
67
|
+
|
68
|
+
|
69
|
+
class RiscV64SysVLDiv(LDiv, RiscV64SysVModel):
|
70
|
+
pass
|
71
|
+
|
72
|
+
|
73
|
+
class RiscV64SysVLLDiv(LLDiv, RiscV64SysVModel):
|
74
|
+
pass
|
75
|
+
|
76
|
+
|
77
|
+
class RiscV64SysVExit(Exit, RiscV64SysVModel):
|
78
|
+
pass
|
79
|
+
|
80
|
+
|
81
|
+
class RiscV64SysVFree(Free, RiscV64SysVModel):
|
82
|
+
pass
|
83
|
+
|
84
|
+
|
85
|
+
class RiscV64SysVMalloc(Malloc, RiscV64SysVModel):
|
86
|
+
pass
|
87
|
+
|
88
|
+
|
89
|
+
class RiscV64SysVQSort(QSort, RiscV64SysVModel):
|
90
|
+
pass
|
91
|
+
|
92
|
+
|
93
|
+
class RiscV64SysVRand(Rand, RiscV64SysVModel):
|
94
|
+
pass
|
95
|
+
|
96
|
+
|
97
|
+
class RiscV64SysVRealloc(Realloc, RiscV64SysVModel):
|
98
|
+
pass
|
99
|
+
|
100
|
+
|
101
|
+
class RiscV64SysVSrand(Srand, RiscV64SysVModel):
|
102
|
+
pass
|
103
|
+
|
104
|
+
|
105
|
+
class RiscV64SysVAbort(Abort, RiscV64SysVModel):
|
106
|
+
pass
|
107
|
+
|
108
|
+
|
109
|
+
class RiscV64SysVAtexit(Atexit, RiscV64SysVModel):
|
110
|
+
pass
|
111
|
+
|
112
|
+
|
113
|
+
class RiscV64SysVGetenv(Getenv, RiscV64SysVModel):
|
114
|
+
pass
|
115
|
+
|
116
|
+
|
117
|
+
class RiscV64SysVMblen(Mblen, RiscV64SysVModel):
|
118
|
+
pass
|
119
|
+
|
120
|
+
|
121
|
+
class RiscV64SysVMbstowcs(Mbstowcs, RiscV64SysVModel):
|
122
|
+
pass
|
123
|
+
|
124
|
+
|
125
|
+
class RiscV64SysVMbtowc(Mbtowc, RiscV64SysVModel):
|
126
|
+
pass
|
127
|
+
|
128
|
+
|
129
|
+
class RiscV64SysVSystem(System, RiscV64SysVModel):
|
130
|
+
pass
|
131
|
+
|
132
|
+
|
133
|
+
class RiscV64SysVWcstombs(Wcstombs, RiscV64SysVModel):
|
134
|
+
pass
|
135
|
+
|
136
|
+
|
137
|
+
class RiscV64SysVWctomb(Wctomb, RiscV64SysVModel):
|
138
|
+
pass
|
139
|
+
|
140
|
+
|
141
|
+
__all__ = [
|
142
|
+
"RiscV64SysVAbs",
|
143
|
+
"RiscV64SysVLAbs",
|
144
|
+
"RiscV64SysVLLAbs",
|
145
|
+
"RiscV64SysVAtof",
|
146
|
+
"RiscV64SysVAtoi",
|
147
|
+
"RiscV64SysVAtol",
|
148
|
+
"RiscV64SysVAtoll",
|
149
|
+
"RiscV64SysVCalloc",
|
150
|
+
"RiscV64SysVDiv",
|
151
|
+
"RiscV64SysVLDiv",
|
152
|
+
"RiscV64SysVLLDiv",
|
153
|
+
"RiscV64SysVExit",
|
154
|
+
"RiscV64SysVFree",
|
155
|
+
"RiscV64SysVMalloc",
|
156
|
+
"RiscV64SysVQSort",
|
157
|
+
"RiscV64SysVRand",
|
158
|
+
"RiscV64SysVRealloc",
|
159
|
+
"RiscV64SysVSrand",
|
160
|
+
"RiscV64SysVAbort",
|
161
|
+
"RiscV64SysVAtexit",
|
162
|
+
"RiscV64SysVGetenv",
|
163
|
+
"RiscV64SysVMblen",
|
164
|
+
"RiscV64SysVMbstowcs",
|
165
|
+
"RiscV64SysVMbtowc",
|
166
|
+
"RiscV64SysVSystem",
|
167
|
+
"RiscV64SysVWcstombs",
|
168
|
+
"RiscV64SysVWctomb",
|
169
|
+
]
|