├── .gitignore ├── LICENSE ├── README.md ├── binjastub ├── README.md ├── __init__.py └── plugin.json ├── demo ├── demo ├── demo-win.cpp ├── demo.c ├── demo2 └── demo2.c ├── gen ├── diff.py ├── linux │ ├── README.md │ ├── compress.py │ ├── extra_enums.json │ ├── main.py │ ├── overrides.py │ ├── parse_manpages.py │ ├── resolve.py │ └── strace.json └── windows │ ├── README.md │ ├── main.py │ ├── msdn_enums.py │ └── win32enums.py └── plugin ├── auto_enum.py ├── enumlib ├── __init__.py ├── data │ ├── linux │ │ ├── enums.json │ │ ├── functions │ │ │ ├── __fsetlocking.json │ │ │ ├── accept4.json │ │ │ ├── access.json │ │ │ ├── add_key.json │ │ │ ├── bpf.json │ │ │ ├── clock_adjtime.json │ │ │ ├── clock_getres.json │ │ │ ├── clock_gettime.json │ │ │ ├── clock_nanosleep.json │ │ │ ├── clock_settime.json │ │ │ ├── clone.json │ │ │ ├── close_range.json │ │ │ ├── dladdr1.json │ │ │ ├── dlmopen.json │ │ │ ├── dlopen.json │ │ │ ├── dup3.json │ │ │ ├── epoll_create1.json │ │ │ ├── epoll_ctl.json │ │ │ ├── eventfd.json │ │ │ ├── execveat.json │ │ │ ├── faccessat.json │ │ │ ├── fallocate.json │ │ │ ├── fanotify_init.json │ │ │ ├── fanotify_mark.json │ │ │ ├── fchmodat.json │ │ │ ├── fchownat.json │ │ │ ├── fcntl.json │ │ │ ├── flock.json │ │ │ ├── fmtmsg.json │ │ │ ├── fnmatch.json │ │ │ ├── fseek.json │ │ │ ├── fsetxattr.json │ │ │ ├── fstatat.json │ │ │ ├── fts_children.json │ │ │ ├── fts_set.json │ │ │ ├── getaddrinfo_a.json │ │ │ ├── getipnodebyaddr.json │ │ │ ├── getipnodebyname.json │ │ │ ├── getitimer.json │ │ │ ├── getnameinfo.json │ │ │ ├── getpriority.json │ │ │ ├── getrandom.json │ │ │ ├── getrlimit.json │ │ │ ├── getrusage.json │ │ │ ├── getsockopt.json │ │ │ ├── glob.json │ │ │ ├── inotify_add_watch.json │ │ │ ├── inotify_init1.json │ │ │ ├── ioctl.json │ │ │ ├── kill.json │ │ │ ├── linkat.json │ │ │ ├── lio_listio.json │ │ │ ├── lseek.json │ │ │ ├── lsetxattr.json │ │ │ ├── madvise.json │ │ │ ├── mallopt.json │ │ │ ├── memfd_create.json │ │ │ ├── mlock2.json │ │ │ ├── mlockall.json │ │ │ ├── mmap.json │ │ │ ├── mount.json │ │ │ ├── mprotect.json │ │ │ ├── mq_open.json │ │ │ ├── mremap.json │ │ │ ├── msgctl.json │ │ │ ├── msgget.json │ │ │ ├── msgrcv.json │ │ │ ├── msgsnd.json │ │ │ ├── msync.json │ │ │ ├── name_to_handle_at.json │ │ │ ├── nftw.json │ │ │ ├── open.json │ │ │ ├── openat.json │ │ │ ├── openlog.json │ │ │ ├── personality.json │ │ │ ├── pipe2.json │ │ │ ├── pkey_alloc.json │ │ │ ├── pkey_mprotect.json │ │ │ ├── posix_madvise.json │ │ │ ├── posix_openpt.json │ │ │ ├── prctl.json │ │ │ ├── preadv2.json │ │ │ ├── prlimit.json │ │ │ ├── pthread_attr_setdetachstate.json │ │ │ ├── pthread_attr_setinheritsched.json │ │ │ ├── pthread_attr_setscope.json │ │ │ ├── pthread_rwlockattr_setkind_np.json │ │ │ ├── pthread_setcancelstate.json │ │ │ ├── pthread_setcanceltype.json │ │ │ ├── pthread_spin_init.json │ │ │ ├── ptrace.json │ │ │ ├── pwritev2.json │ │ │ ├── quotactl.json │ │ │ ├── reboot.json │ │ │ ├── recv.json │ │ │ ├── recvfrom.json │ │ │ ├── recvmsg.json │ │ │ ├── regcomp.json │ │ │ ├── regexec.json │ │ │ ├── remap_file_pages.json │ │ │ ├── renameat2.json │ │ │ ├── request_key.json │ │ │ ├── sched_get_priority_max.json │ │ │ ├── sched_get_priority_min.json │ │ │ ├── sched_setscheduler.json │ │ │ ├── seccomp.json │ │ │ ├── semctl.json │ │ │ ├── semget.json │ │ │ ├── send.json │ │ │ ├── sendmsg.json │ │ │ ├── sendto.json │ │ │ ├── setitimer.json │ │ │ ├── setns.json │ │ │ ├── setpriority.json │ │ │ ├── setrlimit.json │ │ │ ├── setsockopt.json │ │ │ ├── setxattr.json │ │ │ ├── shm_open.json │ │ │ ├── shmat.json │ │ │ ├── shmctl.json │ │ │ ├── shmget.json │ │ │ ├── shutdown.json │ │ │ ├── sighold.json │ │ │ ├── sigignore.json │ │ │ ├── signalfd.json │ │ │ ├── sigprocmask.json │ │ │ ├── sigrelse.json │ │ │ ├── sigset.json │ │ │ ├── socket.json │ │ │ ├── socketpair.json │ │ │ ├── splice.json │ │ │ ├── statx.json │ │ │ ├── sync_file_range.json │ │ │ ├── tee.json │ │ │ ├── tgkill.json │ │ │ ├── timer_create.json │ │ │ ├── timer_settime.json │ │ │ ├── timerfd_create.json │ │ │ ├── timerfd_settime.json │ │ │ ├── ulimit.json │ │ │ ├── umount2.json │ │ │ ├── unlinkat.json │ │ │ ├── unshare.json │ │ │ ├── utimensat.json │ │ │ ├── vmsplice.json │ │ │ ├── wait4.json │ │ │ ├── waitid.json │ │ │ └── waitpid.json │ │ └── special.json │ └── windows │ │ ├── enums.json │ │ └── functions │ │ ├── ActivateKeyboardLayout.json │ │ ├── AddConditionalAce.json │ │ ├── AdjustWindowRectEx.json │ │ ├── AdjustWindowRectExForDpi.json │ │ ├── AnimateWindow.json │ │ ├── AppendMenu.json │ │ ├── BCryptEnumAlgorithms.json │ │ ├── BCryptGenRandom.json │ │ ├── BCryptResolveProviders.json │ │ ├── BroadcastSystemMessage.json │ │ ├── BroadcastSystemMessageEx.json │ │ ├── CalculatePopupWindowPosition.json │ │ ├── CallNamedPipe.json │ │ ├── CascadeWindows.json │ │ ├── CertCreateSelfSignCertificate.json │ │ ├── CertGetCertificateChain.json │ │ ├── CertGetNameString.json │ │ ├── CertNameToStr.json │ │ ├── CertSaveStore.json │ │ ├── CertStrToName.json │ │ ├── ChangeServiceConfig.json │ │ ├── ChangeServiceConfig2.json │ │ ├── ChangeWindowMessageFilter.json │ │ ├── ChangeWindowMessageFilterEx.json │ │ ├── CharNextEx.json │ │ ├── CharPrevEx.json │ │ ├── CheckDlgButton.json │ │ ├── CheckMenuItem.json │ │ ├── ChildWindowFromPointEx.json │ │ ├── ControlService.json │ │ ├── ControlServiceEx.json │ │ ├── CopyImage.json │ │ ├── CreateFile.json │ │ ├── CreateFile2.json │ │ ├── CreateFileMapping.json │ │ ├── CreateFileMappingFromApp.json │ │ ├── CreateFileMappingNuma.json │ │ ├── CreateIconFromResourceEx.json │ │ ├── CreateMDIWindow.json │ │ ├── CreateNamedPipe.json │ │ ├── CreateProcess.json │ │ ├── CreateProcessAsUser.json │ │ ├── CreateProcessWithLogon.json │ │ ├── CreateProcessWithToken.json │ │ ├── CreateRemoteThread.json │ │ ├── CreateRemoteThreadEx.json │ │ ├── CreateService.json │ │ ├── CreateSymbolicLink.json │ │ ├── CreateSymbolicLinkTransacted.json │ │ ├── CreateTapePartition.json │ │ ├── CreateThread.json │ │ ├── CreateWindowEx.json │ │ ├── CryptAcquireContext.json │ │ ├── CryptBinaryToString.json │ │ ├── CryptCreateHash.json │ │ ├── CryptDecodeObjectEx.json │ │ ├── CryptDecrypt.json │ │ ├── CryptDeriveKey.json │ │ ├── CryptEncodeObjectEx.json │ │ ├── CryptEncrypt.json │ │ ├── CryptExportKey.json │ │ ├── CryptExportPublicKeyInfoFromBCryptKeyHandle.json │ │ ├── CryptFindOIDInfo.json │ │ ├── CryptFormatObject.json │ │ ├── CryptGenKey.json │ │ ├── CryptGetDefaultProvider.json │ │ ├── CryptGetHashParam.json │ │ ├── CryptGetKeyParam.json │ │ ├── CryptGetProvParam.json │ │ ├── CryptGetTimeValidObject.json │ │ ├── CryptHashCertificate.json │ │ ├── CryptHashData.json │ │ ├── CryptHashPublicKeyInfo.json │ │ ├── CryptHashSessionKey.json │ │ ├── CryptImportPublicKeyInfoEx.json │ │ ├── CryptMsgControl.json │ │ ├── CryptSetKeyParam.json │ │ ├── CryptSetProvParam.json │ │ ├── CryptSetProviderEx.json │ │ ├── CryptSignHash.json │ │ ├── CryptVerifyCertificateSignatureEx.json │ │ ├── CryptVerifySignature.json │ │ ├── DeferWindowPos.json │ │ ├── DefineDosDevice.json │ │ ├── DeleteMenu.json │ │ ├── DrawIconEx.json │ │ ├── EnableMenuItem.json │ │ ├── EnumDependentServices.json │ │ ├── EnumServicesStatus.json │ │ ├── EnumServicesStatusEx.json │ │ ├── EraseTape.json │ │ ├── EscapeCommFunction.json │ │ ├── ExitWindowsEx.json │ │ ├── FindFirstChangeNotification.json │ │ ├── FormatMessage.json │ │ ├── GetAddrInfoEx.json │ │ ├── GetAncestor.json │ │ ├── GetAsyncKeyState.json │ │ ├── GetFinalPathNameByHandle.json │ │ ├── GetGuiResources.json │ │ ├── GetKeyNameText.json │ │ ├── GetMenuDefaultItem.json │ │ ├── GetMenuState.json │ │ ├── GetMenuString.json │ │ ├── GetMessage.json │ │ ├── GetMouseMovePointsEx.json │ │ ├── GetNextWindow.json │ │ ├── GetPriorityClipboardFormat.json │ │ ├── GetProcessId.json │ │ ├── GetProcessIdOfThread.json │ │ ├── GetRawInputData.json │ │ ├── GetRawInputDeviceInfo.json │ │ ├── GetSysColor.json │ │ ├── GetSystemMetrics.json │ │ ├── GetTapeParameters.json │ │ ├── GetTapePosition.json │ │ ├── GetThreadId.json │ │ ├── GetUserObjectInformation.json │ │ ├── GetWindow.json │ │ ├── GetWindowLong.json │ │ ├── GetWindowLongPtr.json │ │ ├── GlobalAlloc.json │ │ ├── GlobalReAlloc.json │ │ ├── HiliteMenuItem.json │ │ ├── HttpReceiveClientCertificate.json │ │ ├── InetNtop.json │ │ ├── InetPton.json │ │ ├── InsertMenu.json │ │ ├── InternetAutodial.json │ │ ├── IsClipboardFormatAvailable.json │ │ ├── IsProcessorFeaturePresent.json │ │ ├── LoadKeyboardLayout.json │ │ ├── LocalAlloc.json │ │ ├── LocalReAlloc.json │ │ ├── LockSetForegroundWindow.json │ │ ├── LookupIconIdFromDirectoryEx.json │ │ ├── MapViewOfFile3.json │ │ ├── MapViewOfFile3FromApp.json │ │ ├── MapViewOfFileExNuma.json │ │ ├── MapVirtualKey.json │ │ ├── MapVirtualKeyEx.json │ │ ├── MessageBeep.json │ │ ├── MessageBox.json │ │ ├── ModifyMenu.json │ │ ├── MonitorFromPoint.json │ │ ├── MoveFileEx.json │ │ ├── MoveFileTransacted.json │ │ ├── MsgWaitForMultipleObjectsEx.json │ │ ├── NotifyServiceStatusChange.json │ │ ├── NotifyWinEvent.json │ │ ├── OpenCommPort.json │ │ ├── OpenDesktop.json │ │ ├── OpenEncryptedFileRaw.json │ │ ├── OpenFile.json │ │ ├── OpenFileById.json │ │ ├── OpenInputDesktop.json │ │ ├── OpenJobObject.json │ │ ├── OpenProcess.json │ │ ├── OpenThread.json │ │ ├── OpenWindowStation.json │ │ ├── PFXExportCertStoreEx.json │ │ ├── PFXImportCertStore.json │ │ ├── PeekMessage.json │ │ ├── PrepareTape.json │ │ ├── PurgeComm.json │ │ ├── QueryDisplayConfig.json │ │ ├── QueryFullProcessImageName.json │ │ ├── QueryServiceConfig2.json │ │ ├── ReOpenFile.json │ │ ├── ReadDirectoryChanges.json │ │ ├── ReadDirectoryChangesEx.json │ │ ├── ReadEventLog.json │ │ ├── ReadThreadProfilingData.json │ │ ├── RegisterApplicationRestart.json │ │ ├── RegisterDeviceNotification.json │ │ ├── RegisterHotKey.json │ │ ├── RegisterPowerSettingNotification.json │ │ ├── RegisterWaitForSingleObject.json │ │ ├── RemoveMenu.json │ │ ├── ReportEvent.json │ │ ├── RequestWakeupLatency.json │ │ ├── ScrollWindow.json │ │ ├── SendMessageTimeout.json │ │ ├── SetClipboardData.json │ │ ├── SetCoalescableTimer.json │ │ ├── SetCommMask.json │ │ ├── SetDisplayConfig.json │ │ ├── SetFileAttributes.json │ │ ├── SetFileAttributesTransacted.json │ │ ├── SetFileCompletionNotificationModes.json │ │ ├── SetFilePointer.json │ │ ├── SetFilePointerEx.json │ │ ├── SetFirmwareEnvironmentVariableEx.json │ │ ├── SetLayeredWindowAttributes.json │ │ ├── SetMenuItemBitmaps.json │ │ ├── SetPriorityClass.json │ │ ├── SetProcessDEPPolicy.json │ │ ├── SetProcessDefaultLayout.json │ │ ├── SetProcessShutdownParameters.json │ │ ├── SetProcessValidCallTargets.json │ │ ├── SetProcessWorkingSetSizeEx.json │ │ ├── SetSearchPathMode.json │ │ ├── SetSystemFileCacheSize.json │ │ ├── SetTapeParameters.json │ │ ├── SetTapePosition.json │ │ ├── SetThreadExecutionState.json │ │ ├── SetThreadPriority.json │ │ ├── SetUserObjectInformation.json │ │ ├── SetWinEventHook.json │ │ ├── SetWindowDisplayAffinity.json │ │ ├── SetWindowLong.json │ │ ├── SetWindowLongPtr.json │ │ ├── SetWindowPos.json │ │ ├── SetWindowsHookEx.json │ │ ├── SystemParametersInfo.json │ │ ├── TileWindows.json │ │ ├── ToAscii.json │ │ ├── ToAsciiEx.json │ │ ├── ToUnicode.json │ │ ├── ToUnicodeEx.json │ │ ├── TrackPopupMenu.json │ │ ├── TrackPopupMenuEx.json │ │ ├── UnmapViewOfFile2.json │ │ ├── UnmapViewOfFileEx.json │ │ ├── UpdateLayeredWindow.json │ │ ├── VerifyVersionInfo.json │ │ ├── VirtualAlloc.json │ │ ├── VirtualAlloc2.json │ │ ├── VirtualAlloc2FromApp.json │ │ ├── VirtualAllocEx.json │ │ ├── VirtualAllocExNuma.json │ │ ├── VirtualAllocFromApp.json │ │ ├── VirtualFree.json │ │ ├── VirtualFreeEx.json │ │ ├── VirtualProtect.json │ │ ├── VirtualProtectEx.json │ │ ├── VirtualProtectFromApp.json │ │ ├── WSALookupServiceBegin.json │ │ ├── WSALookupServiceNext.json │ │ ├── WSASocket.json │ │ ├── WaitNamedPipe.json │ │ ├── WinHttpResetAutoProxy.json │ │ ├── WriteTapemark.json │ │ ├── getsockopt.json │ │ ├── shutdown.json │ │ └── socket.json ├── scripts │ └── apply_to_til.py └── ui_plugins │ ├── binja_plugin.py │ └── ida_plugin.py └── ida-plugin.json /.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__ 2 | .vscode 3 | cache.json 4 | generated 5 | stage*.json 6 | *.til 7 | *.nam 8 | *.i64 9 | *.id0 10 | *.id1 11 | *.id2 12 | *.idb 13 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Lam Jun Rong 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Auto Enum 2 | IDA/Binary Ninja Plugin to automatically identify and set enums for standard functions 3 | 4 | ## Demo 5 | 6 | ### Linux 7 | 8 | https://github.com/junron/auto-enum/assets/26194273/9e43f3ec-0722-4388-951a-b90bec5ab19b 9 | 10 | 11 | See [`demo.c`](./demo/demo.c) for the source code. 12 | 13 | ### Windows 14 | 15 | 16 | https://github.com/junron/auto-enum/assets/26194273/0c6a0f69-b9c0-42ea-b97b-5848b6f7c3a1 17 | 18 | See [`demo-win.cpp`](./demo/demo-win.cpp) for the source code. 19 | 20 | 21 | ## Plugin Installation 22 | 23 | Copy `plugin/*` to your IDA/Binary Ninja Plugin directory. No dependencies required. 24 | 25 | ## TIL patching for IDA 26 | 27 | Auto-enum can be integrated directly into the type library (TIL) files, allowing for enum loading without the plugin's installation. However, per-call analysis will only be available if the plugin is installed. 28 | 29 | To modify the TIL files, run the following commands in the `plugin/enumlib/scripts` directory: 30 | ```shell 31 | # Generate for linux 32 | python3 apply_to_til.py --platform linux --overwrite 33 | # Generate for Windows 34 | python3 apply_to_til.py --platform windows --overwrite 35 | ``` 36 | Note that you must have IDA Pro 9 installed, with `idalib` activated. 37 | 38 | As the TIL files installed with IDA will be modified, ensure that you have a backup of the `til` directory, as well as sufficient permissions to modify files in the IDA installation directory. -------------------------------------------------------------------------------- /binjastub/README.md: -------------------------------------------------------------------------------- 1 | # Auto Enum 2 | 3 | ![binja_demo](https://files.junron.dev/binja_demo.gif) 4 | 5 | ## Overview 6 | 7 | Decompiled C code often contains "magic" constants that represent flags or options. 8 | ```c 9 | int64_t buf = mmap(0, 0x1000, 7, 0x22, 0xffffffff, 0); 10 | ``` 11 | 12 | Auto Enum detects and demystifies these constants, converting them to human-readable symbols. 13 | 14 | ```c 15 | int64_t buf = mmap( 16 | 0, 17 | 0x1000, 18 | PROT_WRITE | PROT_EXEC | PROT_READ, 19 | MAP_PRIVATE | MAP_ANON | MAP_FILE, 20 | 0xffffffff, 0 21 | ); 22 | ``` 23 | 24 | Check out the [README](https://github.com/junron/auto-enum) on GitHub for more info! -------------------------------------------------------------------------------- /binjastub/__init__.py: -------------------------------------------------------------------------------- 1 | import os 2 | import sys 3 | 4 | lh_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "plugin") 5 | sys.path.append(lh_path) 6 | 7 | import binaryninja as bn 8 | from enumlib.ui_plugins.binja_plugin import auto_enum 9 | bn.PluginCommand.register("Auto Enum", "Automatically detect standard enums", auto_enum) -------------------------------------------------------------------------------- /binjastub/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "api": [ 3 | "python3" 4 | ], 5 | "author": "Lam Jun Rong", 6 | "description": "Automatically set enums for standard functions", 7 | "license": { 8 | "name": "MIT", 9 | "text": "Copyright (c) 2024 Lam Jun Rong\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." 10 | }, 11 | "longdescription": "", 12 | "minimumbinaryninjaversion": 4526, 13 | "name": "Auto Enum", 14 | "platforms": [ 15 | "Darwin", 16 | "Linux", 17 | "Windows" 18 | ], 19 | "pluginmetadataversion": 2, 20 | "type": [ 21 | "helper" 22 | ], 23 | "version": "0.1.1" 24 | } -------------------------------------------------------------------------------- /demo/demo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junron/auto-enum/f96acb50ff431ca09587446ba5e924f090fb699d/demo/demo -------------------------------------------------------------------------------- /demo/demo.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | 15 | struct sock_filter filter[] = { 16 | BPF_STMT(BPF_LD + BPF_W + BPF_ABS, (offsetof(struct seccomp_data, nr))), 17 | BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, __NR_read, 1, 0), 18 | BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, __NR_write, 0, 1), 19 | BPF_STMT(BPF_RET + BPF_K, SECCOMP_RET_ALLOW), 20 | BPF_STMT(BPF_RET + BPF_K, SECCOMP_RET_KILL), 21 | }; 22 | 23 | struct sock_fprog prog = { 24 | .len = (unsigned short)(sizeof(filter) / sizeof(filter[0])), 25 | .filter = filter, 26 | }; 27 | 28 | struct sockaddr_in server = { 29 | .sin_family = AF_INET, 30 | .sin_addr.s_addr = INADDR_ANY, 31 | .sin_port = 14597, 32 | }; 33 | int main() { 34 | void* region = mmap(NULL, 35 | 0x1000, 36 | PROT_WRITE | PROT_EXEC | PROT_READ, 37 | MAP_ANONYMOUS | MAP_PRIVATE, 38 | -1, 39 | 0); 40 | 41 | int socket_desc , client_sock , c; 42 | struct sockaddr_in client; 43 | 44 | //Create socket 45 | socket_desc = socket(AF_INET , SOCK_STREAM , 0); 46 | if (socket_desc == -1) 47 | { 48 | return 1; 49 | } 50 | 51 | //Bind 52 | if( bind(socket_desc,(struct sockaddr *)&server , sizeof(server)) < 0) 53 | { 54 | return 1; 55 | } 56 | 57 | listen(socket_desc , 3); 58 | 59 | c = sizeof(struct sockaddr_in); 60 | 61 | client_sock = accept(socket_desc, (struct sockaddr *)&client, (socklen_t*)&c); 62 | 63 | int recv_len = recv(client_sock, region, 0x1000, 0); 64 | printf("Received %d bytes!\n", recv_len); 65 | 66 | if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { 67 | return 1; 68 | } 69 | if (prctl(PR_SET_SECCOMP, 2, &prog)) { 70 | return 1; 71 | } 72 | 73 | ((int(*)())region)(); 74 | 75 | return 0; 76 | } -------------------------------------------------------------------------------- /demo/demo2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junron/auto-enum/f96acb50ff431ca09587446ba5e924f090fb699d/demo/demo2 -------------------------------------------------------------------------------- /demo/demo2.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | 20 | 21 | struct sock_filter filter[] = { 22 | BPF_STMT(BPF_LD + BPF_W + BPF_ABS, (offsetof(struct seccomp_data, nr))), 23 | BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, __NR_read, 1, 0), 24 | BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, __NR_write, 0, 1), 25 | BPF_STMT(BPF_RET + BPF_K, SECCOMP_RET_ALLOW), 26 | BPF_STMT(BPF_RET + BPF_K, SECCOMP_RET_KILL), 27 | }; 28 | 29 | struct sock_fprog prog = { 30 | .len = (unsigned short)(sizeof(filter) / sizeof(filter[0])), 31 | .filter = filter, 32 | }; 33 | 34 | struct sockaddr_in server = { 35 | .sin_family = AF_INET, 36 | .sin_addr.s_addr = 0x1000007f, 37 | .sin_port = 14597, 38 | }; 39 | 40 | 41 | struct ifreq ifr; 42 | char *interface = "eth0"; 43 | 44 | int main() { 45 | int socket_desc , pid, fd; 46 | struct sockaddr_in client; 47 | 48 | //Create socket 49 | socket_desc = socket(AF_INET , SOCK_STREAM , 0); 50 | 51 | connect(socket_desc, &server, sizeof(struct sockaddr_in)); 52 | 53 | int yes = 1; 54 | setsockopt(socket_desc, SOL_SOCKET, SO_KEEPALIVE, &yes, sizeof(int)); 55 | 56 | int idle = 1; 57 | setsockopt(socket_desc, IPPROTO_TCP, TCP_KEEPIDLE, &idle, sizeof(int)); 58 | 59 | pid = getpid(); 60 | if(access("/tmp/malware.pid", R_OK|W_OK)){ 61 | fd = open("/tmp/malware.pid", O_CREAT|O_WRONLY|O_APPEND, 0644); 62 | write(fd, &pid, sizeof(int)); 63 | }else{ 64 | kill(pid, 9); 65 | } 66 | 67 | strcpy(ifr.ifr_name, interface); 68 | if (ioctl(socket_desc, SIOCGIFHWADDR, &ifr) == -1) { 69 | return 1; 70 | } 71 | 72 | write(socket_desc, ifr.ifr_hwaddr.sa_data, 6); 73 | 74 | 75 | return 0; 76 | } -------------------------------------------------------------------------------- /gen/diff.py: -------------------------------------------------------------------------------- 1 | import argparse 2 | import json 3 | import os 4 | 5 | 6 | def diff_keys(a_key, b_key): 7 | for k in a_key: 8 | if k not in b_key: 9 | print("[X]", k, "not in b") 10 | return True 11 | for k in b_key: 12 | if k not in a_key: 13 | print("[X]", k, "not in a") 14 | return True 15 | return False 16 | def diff_json(ja, jb): 17 | if ja == jb: 18 | print("[+]", "Objects are identical") 19 | return False 20 | a_key = list(ja.keys()) 21 | b_key = list(jb.keys()) 22 | if diff_keys(a_key, b_key): 23 | return True 24 | for k in a_key: 25 | if ja[k] != jb[k]: 26 | print("[X]", f"a[{k}] != b[{k}]") 27 | return True 28 | 29 | if __name__ == "__main__": 30 | parser = argparse.ArgumentParser() 31 | parser.add_argument("a") 32 | parser.add_argument("b") 33 | 34 | args = parser.parse_args() 35 | a = args.a 36 | b = args.b 37 | has_diff = False 38 | print("Diffing enums.json") 39 | a_enum = json.load(open(f"{a}/enums.json")) 40 | b_enum = json.load(open(f"{b}/enums.json")) 41 | if diff_json(a_enum, b_enum): 42 | exit(1) 43 | a_funcs = os.listdir(f"{a}/functions") 44 | b_funcs = os.listdir(f"{b}/functions") 45 | print("Comparing functions") 46 | if diff_keys(a_funcs, b_funcs): 47 | exit(1) 48 | for func in a_funcs: 49 | print("Diffing", func) 50 | a_func = json.load(open(f"{a}/functions/{func}")) 51 | b_func = json.load(open(f"{b}/functions/{func}")) 52 | if diff_json(a_func, b_func): 53 | exit(1) -------------------------------------------------------------------------------- /gen/linux/README.md: -------------------------------------------------------------------------------- 1 | ## Testing 2 | 3 | Linux system with gcc installed required. 4 | 5 | ```shell 6 | # Tested on commit ae6b221 7 | git clone https://github.com/mkerrisk/man-pages 8 | cd auto-enum 9 | python3 gen/linux/main.py 10 | python3 gen/diff.py generated plugin/data/linux 11 | ``` -------------------------------------------------------------------------------- /gen/linux/resolve.py: -------------------------------------------------------------------------------- 1 | import os 2 | import json 3 | 4 | def resolve(func): 5 | data = "" 6 | for arg, argvalue in func["args"].items(): 7 | for v in argvalue: 8 | body = f"#define _GNU_SOURCE\n{func['prefix']}\n#include \nint main(){{\n" 9 | body += f'printf("{arg}___{v}=%d\\n", {v});\n' 10 | body += "}" 11 | open("./resolve.c", "w").write(body) 12 | os.system("rm -f resolve") 13 | os.system("gcc resolve.c -o resolve") 14 | _data = os.popen("./resolve").read() 15 | if len(_data.strip()): 16 | data += _data 17 | else: 18 | print(arg, "Could not resolve:", argvalue) 19 | exit(1) 20 | out = {} 21 | for line in data.splitlines(): 22 | k, v = line.split("=") 23 | v = int(v) 24 | arg, enumname = k.split("___") 25 | if arg in out: 26 | out[arg][enumname] = v 27 | else: 28 | out[arg] = {enumname: v} 29 | os.system("rm -f resolve.c resolve") 30 | return out 31 | 32 | 33 | def resolve_enums(enums): 34 | if not os.path.exists("cache.json"): 35 | open("./cache.json","w").write("{}") 36 | full_resolved = {} 37 | else: 38 | full_resolved = json.load(open("./cache.json")) 39 | for funcname in enums.keys(): 40 | if funcname not in full_resolved or list(enums[funcname]["args"].keys()) != list(full_resolved[funcname].keys()): 41 | if enums[funcname]["pre_resolved"]: 42 | print(f"{funcname} data from strace, skipping") 43 | full_resolved[funcname] = enums[funcname]["args"] 44 | else: 45 | print("Resolving enum values for", funcname) 46 | full_resolved[funcname] = resolve(enums[funcname]) 47 | json.dump(full_resolved, open("./cache.json", "w")) 48 | return full_resolved 49 | -------------------------------------------------------------------------------- /gen/windows/README.md: -------------------------------------------------------------------------------- 1 | ## Testing 2 | 3 | ```shell 4 | py -m pip install pyyaml 5 | 6 | # Note: the repos are quite large, so it is recommended to just download the latest version off github instead of cloning 7 | 8 | # Tested on commit 5ec2cf7 9 | git clone https://github.com/MicrosoftDocs/sdk-api 10 | # Tested on commit 9a9fe38 11 | git clone https://github.com/MicrosoftDocs/win32 12 | cd auto-enum 13 | python3 gen/windows/main.py 14 | python3 gen/diff.py generated plugin/data/windows 15 | ``` -------------------------------------------------------------------------------- /plugin/auto_enum.py: -------------------------------------------------------------------------------- 1 | def PLUGIN_ENTRY(): 2 | from enumlib.ui_plugins.ida_plugin import AutoEnumPlugin 3 | return AutoEnumPlugin() 4 | 5 | try: 6 | import idaapi 7 | except: 8 | try: 9 | import binaryninja as bn 10 | from enumlib.ui_plugins.binja_plugin import auto_enum 11 | bn.PluginCommand.register("Auto Enum", "Automatically detect standard enums", auto_enum) 12 | except: 13 | pass -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/__fsetlocking.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "__fsetlocking", 3 | "args": [ 4 | { 5 | "name": "stream", 6 | "type": "FILE *" 7 | }, 8 | { 9 | "name": "type", 10 | "enum": "FSETLOCKING" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/accept4.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "accept4", 3 | "args": [ 4 | { 5 | "name": "sockfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "addr", 10 | "type": "struct sockaddr *" 11 | }, 12 | { 13 | "name": "addrlen", 14 | "type": "socklen_t *" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "SOCK" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/access.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "access", 3 | "args": [ 4 | { 5 | "name": "pathname", 6 | "type": "const char *" 7 | }, 8 | { 9 | "name": "mode", 10 | "enum": "53482" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/add_key.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "add_key", 3 | "args": [ 4 | { 5 | "name": "type", 6 | "type": "const char *" 7 | }, 8 | { 9 | "name": "description", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "payload", 14 | "type": "const void *" 15 | }, 16 | { 17 | "name": "plen", 18 | "type": "size_t" 19 | }, 20 | { 21 | "name": "keyring", 22 | "enum": "KEY_SPEC" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/bpf.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bpf", 3 | "args": [ 4 | { 5 | "name": "cmd", 6 | "enum": "BPF" 7 | }, 8 | { 9 | "name": "attr", 10 | "type": "void*" 11 | }, 12 | { 13 | "name": "size", 14 | "type": "unsigned int" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/clock_adjtime.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "clock_adjtime", 3 | "args": [ 4 | { 5 | "name": "clk_id", 6 | "enum": "CLOCK" 7 | }, 8 | { 9 | "name": "buf", 10 | "type": "struct timex *" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/clock_getres.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "clock_getres", 3 | "args": [ 4 | { 5 | "name": "clockid", 6 | "enum": "CLOCK" 7 | }, 8 | { 9 | "name": "res", 10 | "type": "struct timespec *" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/clock_gettime.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "clock_gettime", 3 | "args": [ 4 | { 5 | "name": "clockid", 6 | "enum": "CLOCK" 7 | }, 8 | { 9 | "name": "tp", 10 | "type": "struct timespec *" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/clock_nanosleep.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "clock_nanosleep", 3 | "args": [ 4 | { 5 | "name": "clockid", 6 | "enum": "CLOCK" 7 | }, 8 | { 9 | "name": "flags", 10 | "enum": "97337" 11 | }, 12 | { 13 | "name": "request", 14 | "type": "const struct timespec *" 15 | }, 16 | { 17 | "name": "remain", 18 | "type": "struct timespec *" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/clock_settime.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "clock_settime", 3 | "args": [ 4 | { 5 | "name": "clockid", 6 | "enum": "CLOCK" 7 | }, 8 | { 9 | "name": "tp", 10 | "type": "const struct timespec *" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/clone.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "clone", 3 | "args": [ 4 | { 5 | "name": "arg0", 6 | "type": "void*" 7 | }, 8 | { 9 | "name": "stack", 10 | "type": "void *" 11 | }, 12 | { 13 | "name": "flags", 14 | "enum": "CLONE" 15 | }, 16 | { 17 | "name": "arg", 18 | "type": "void *" 19 | } 20 | ], 21 | "varargs": true 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/close_range.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "close_range", 3 | "args": [ 4 | { 5 | "name": "first", 6 | "type": "unsigned int" 7 | }, 8 | { 9 | "name": "last", 10 | "type": "unsigned int" 11 | }, 12 | { 13 | "name": "flags", 14 | "enum": "CLOSE_RANGE" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/dladdr1.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dladdr1", 3 | "args": [ 4 | { 5 | "name": "addr", 6 | "type": "const void *" 7 | }, 8 | { 9 | "name": "info", 10 | "type": "Dl_info *" 11 | }, 12 | { 13 | "name": "extra_info", 14 | "type": "void **" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "RTLD_DL" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/dlmopen.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dlmopen", 3 | "args": [ 4 | { 5 | "name": "lmid", 6 | "type": "Lmid_t" 7 | }, 8 | { 9 | "name": "filename", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "flags", 14 | "enum": "RTLD" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/dlopen.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dlopen", 3 | "args": [ 4 | { 5 | "name": "filename", 6 | "type": "const char *" 7 | }, 8 | { 9 | "name": "flags", 10 | "enum": "RTLD" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/dup3.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dup3", 3 | "args": [ 4 | { 5 | "name": "oldfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "newfd", 10 | "type": "int" 11 | }, 12 | { 13 | "name": "flags", 14 | "enum": "23722" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/epoll_create1.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "epoll_create1", 3 | "args": [ 4 | { 5 | "name": "flags", 6 | "enum": "16198" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/epoll_ctl.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "epoll_ctl", 3 | "args": [ 4 | { 5 | "name": "epfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "op", 10 | "enum": "EPOLL_CTL" 11 | }, 12 | { 13 | "name": "fd", 14 | "type": "int" 15 | }, 16 | { 17 | "name": "event", 18 | "type": "struct epoll_event *" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/eventfd.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eventfd", 3 | "args": [ 4 | { 5 | "name": "initval", 6 | "type": "unsigned int" 7 | }, 8 | { 9 | "name": "flags", 10 | "enum": "EFD" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/execveat.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "execveat", 3 | "args": [ 4 | { 5 | "name": "dirfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "pathname", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "arg2", 14 | "type": "void*" 15 | }, 16 | { 17 | "name": "arg3", 18 | "type": "void*" 19 | }, 20 | { 21 | "name": "flags", 22 | "enum": "AT" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/faccessat.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "faccessat", 3 | "args": [ 4 | { 5 | "name": "dirfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "pathname", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "mode", 14 | "type": "int" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "AT_1" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/fallocate.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fallocate", 3 | "args": [ 4 | { 5 | "name": "fd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "mode", 10 | "enum": "FALLOC_FL" 11 | }, 12 | { 13 | "name": "offset", 14 | "type": "off_t" 15 | }, 16 | { 17 | "name": "len", 18 | "type": "off_t" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/fanotify_init.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fanotify_init", 3 | "args": [ 4 | { 5 | "name": "flags", 6 | "enum": "FAN" 7 | }, 8 | { 9 | "name": "event_f_flags", 10 | "enum": "O" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/fanotify_mark.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fanotify_mark", 3 | "args": [ 4 | { 5 | "name": "fanotify_fd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "flags", 10 | "enum": "FAN_MARK" 11 | }, 12 | { 13 | "name": "mask", 14 | "type": "uint64_t" 15 | }, 16 | { 17 | "name": "dirfd", 18 | "type": "int" 19 | }, 20 | { 21 | "name": "pathname", 22 | "type": "const char *" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/fchmodat.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fchmodat", 3 | "args": [ 4 | { 5 | "name": "dirfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "pathname", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "mode", 14 | "type": "mode_t" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "13532" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/fchownat.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fchownat", 3 | "args": [ 4 | { 5 | "name": "dirfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "pathname", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "owner", 14 | "type": "uid_t" 15 | }, 16 | { 17 | "name": "group", 18 | "type": "gid_t" 19 | }, 20 | { 21 | "name": "flags", 22 | "enum": "AT" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/fcntl.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fcntl", 3 | "args": [ 4 | { 5 | "name": "cmd", 6 | "enum": "F" 7 | }, 8 | { 9 | "name": "cmd", 10 | "type": "int" 11 | } 12 | ], 13 | "varargs": true 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/flock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "flock", 3 | "args": [ 4 | { 5 | "name": "operation", 6 | "enum": "LOCK" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/fmtmsg.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fmtmsg", 3 | "args": [ 4 | { 5 | "name": "classification", 6 | "type": "long" 7 | }, 8 | { 9 | "name": "label", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "severity", 14 | "enum": "MM" 15 | }, 16 | { 17 | "name": "text", 18 | "type": "const char *" 19 | }, 20 | { 21 | "name": "action", 22 | "type": "const char *" 23 | }, 24 | { 25 | "name": "tag", 26 | "type": "const char *" 27 | } 28 | ], 29 | "varargs": false 30 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/fnmatch.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fnmatch", 3 | "args": [ 4 | { 5 | "name": "pattern", 6 | "type": "const char *" 7 | }, 8 | { 9 | "name": "string", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "flags", 14 | "enum": "FNM" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/fseek.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fseek", 3 | "args": [ 4 | { 5 | "name": "offset", 6 | "type": "off_t" 7 | }, 8 | { 9 | "name": "whence", 10 | "enum": "SEEK" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/fsetxattr.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fsetxattr", 3 | "args": [ 4 | { 5 | "name": "fd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "name", 10 | "type": "const char\\ *" 11 | }, 12 | { 13 | "name": "value", 14 | "type": "const void\\ *" 15 | }, 16 | { 17 | "name": "size", 18 | "type": "size_t" 19 | }, 20 | { 21 | "name": "flags", 22 | "enum": "XATTR" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/fstatat.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fstatat", 3 | "args": [ 4 | { 5 | "name": "dirfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "pathname", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "statbuf", 14 | "type": "struct stat *" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "AT_2" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/fts_children.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fts_children", 3 | "args": [ 4 | { 5 | "name": "ftsp", 6 | "type": "FTS *" 7 | }, 8 | { 9 | "name": "instr", 10 | "enum": "FTS" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/fts_set.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fts_set", 3 | "args": [ 4 | { 5 | "name": "ftsp", 6 | "type": "FTS *" 7 | }, 8 | { 9 | "name": "f", 10 | "type": "FTSENT *" 11 | }, 12 | { 13 | "name": "instr", 14 | "enum": "FTS" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/getaddrinfo_a.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getaddrinfo_a", 3 | "args": [ 4 | { 5 | "name": "mode", 6 | "enum": "GAI" 7 | }, 8 | { 9 | "name": "arg1", 10 | "type": "void*" 11 | }, 12 | { 13 | "name": "nitems", 14 | "type": "int" 15 | }, 16 | { 17 | "name": "sevp", 18 | "type": "struct sigevent *" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/getipnodebyaddr.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getipnodebyaddr", 3 | "args": [ 4 | { 5 | "name": "addr", 6 | "type": "const void *" 7 | }, 8 | { 9 | "name": "len", 10 | "type": "size_t" 11 | }, 12 | { 13 | "name": "af", 14 | "enum": "AF" 15 | }, 16 | { 17 | "name": "error_num", 18 | "type": "int *" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/getipnodebyname.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getipnodebyname", 3 | "args": [ 4 | { 5 | "name": "name", 6 | "type": "const char *" 7 | }, 8 | { 9 | "name": "af", 10 | "enum": "AF" 11 | }, 12 | { 13 | "name": "flags", 14 | "enum": "AI" 15 | }, 16 | { 17 | "name": "error_num", 18 | "type": "int *" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/getitimer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getitimer", 3 | "args": [ 4 | { 5 | "name": "which", 6 | "enum": "ITIMER" 7 | }, 8 | { 9 | "name": "curr_value", 10 | "type": "struct itimerval *" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/getnameinfo.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getnameinfo", 3 | "args": [ 4 | { 5 | "name": "addr", 6 | "type": "const struct sockaddr *" 7 | }, 8 | { 9 | "name": "addrlen", 10 | "type": "socklen_t" 11 | }, 12 | { 13 | "name": "host", 14 | "type": "char *" 15 | }, 16 | { 17 | "name": "hostlen", 18 | "type": "socklen_t" 19 | }, 20 | { 21 | "name": "serv", 22 | "type": "char *" 23 | }, 24 | { 25 | "name": "servlen", 26 | "type": "socklen_t" 27 | }, 28 | { 29 | "name": "flags", 30 | "enum": "NI" 31 | } 32 | ], 33 | "varargs": false 34 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/getpriority.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getpriority", 3 | "args": [ 4 | { 5 | "name": "which", 6 | "enum": "PRIO" 7 | }, 8 | { 9 | "name": "who", 10 | "type": "id_t" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/getrandom.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getrandom", 3 | "args": [ 4 | { 5 | "name": "buf", 6 | "type": "void *" 7 | }, 8 | { 9 | "name": "buflen", 10 | "type": "size_t" 11 | }, 12 | { 13 | "name": "flags", 14 | "enum": "GRND" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/getrlimit.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getrlimit", 3 | "args": [ 4 | { 5 | "name": "resource", 6 | "enum": "RLIMIT" 7 | }, 8 | { 9 | "name": "rlim", 10 | "type": "struct rlimit *" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/getrusage.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getrusage", 3 | "args": [ 4 | { 5 | "name": "who", 6 | "enum": "RUSAGE" 7 | }, 8 | { 9 | "name": "usage", 10 | "type": "struct rusage *" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/getsockopt.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getsockopt", 3 | "args": [ 4 | { 5 | "name": "sockfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "level", 10 | "enum": "31061" 11 | }, 12 | { 13 | "name": "optname", 14 | "type": "int" 15 | }, 16 | { 17 | "name": "optval", 18 | "type": "void *" 19 | }, 20 | { 21 | "name": "optlen", 22 | "type": "socklen_t *" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/glob.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "glob", 3 | "args": [ 4 | { 5 | "name": "pattern", 6 | "type": "const char *" 7 | }, 8 | { 9 | "name": "flags", 10 | "enum": "GLOB" 11 | }, 12 | { 13 | "name": "arg2", 14 | "type": "void*" 15 | }, 16 | { 17 | "name": "arg3", 18 | "type": "void*" 19 | }, 20 | { 21 | "name": "pglob", 22 | "type": "glob_t *" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/inotify_add_watch.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "inotify_add_watch", 3 | "args": [ 4 | { 5 | "name": "fd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "pathname", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "mask", 14 | "enum": "IN" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/inotify_init1.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "inotify_init1", 3 | "args": [ 4 | { 5 | "name": "flags", 6 | "enum": "IN_1" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/ioctl.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ioctl", 3 | "args": [ 4 | { 5 | "name": "fd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "cmd", 10 | "enum": "31706" 11 | } 12 | ], 13 | "varargs": true 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/kill.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "kill", 3 | "args": [ 4 | { 5 | "name": "pid", 6 | "type": "pid_t" 7 | }, 8 | { 9 | "name": "sig", 10 | "enum": "74210" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/linkat.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "linkat", 3 | "args": [ 4 | { 5 | "name": "olddirfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "oldpath", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "newdirfd", 14 | "type": "int" 15 | }, 16 | { 17 | "name": "newpath", 18 | "type": "const char *" 19 | }, 20 | { 21 | "name": "flags", 22 | "enum": "AT_3" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/lio_listio.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lio_listio", 3 | "args": [ 4 | { 5 | "name": "mode", 6 | "enum": "LIO" 7 | }, 8 | { 9 | "name": "arg1", 10 | "type": "void*" 11 | }, 12 | { 13 | "name": "nitems", 14 | "type": "int" 15 | }, 16 | { 17 | "name": "sevp", 18 | "type": "struct sigevent *" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/lseek.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lseek", 3 | "args": [ 4 | { 5 | "name": "offset", 6 | "type": "off_t" 7 | }, 8 | { 9 | "name": "whence", 10 | "enum": "SEEK" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/lsetxattr.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lsetxattr", 3 | "args": [ 4 | { 5 | "name": "path", 6 | "type": "const char\\ *" 7 | }, 8 | { 9 | "name": "name", 10 | "type": "const char\\ *" 11 | }, 12 | { 13 | "name": "value", 14 | "type": "const void\\ *" 15 | }, 16 | { 17 | "name": "size", 18 | "type": "size_t" 19 | }, 20 | { 21 | "name": "flags", 22 | "enum": "XATTR" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/madvise.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "madvise", 3 | "args": [ 4 | { 5 | "name": "addr", 6 | "type": "void *" 7 | }, 8 | { 9 | "name": "length", 10 | "type": "size_t" 11 | }, 12 | { 13 | "name": "advice", 14 | "enum": "MADV" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/mallopt.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mallopt", 3 | "args": [ 4 | { 5 | "name": "param", 6 | "enum": "M" 7 | }, 8 | { 9 | "name": "value", 10 | "type": "int" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/memfd_create.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "memfd_create", 3 | "args": [ 4 | { 5 | "name": "name", 6 | "type": "const char *" 7 | }, 8 | { 9 | "name": "flags", 10 | "enum": "MFD" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/mlock2.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mlock2", 3 | "args": [ 4 | { 5 | "name": "addr", 6 | "type": "const void *" 7 | }, 8 | { 9 | "name": "len", 10 | "type": "size_t" 11 | }, 12 | { 13 | "name": "flags", 14 | "enum": "16957" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/mlockall.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mlockall", 3 | "args": [ 4 | { 5 | "name": "flags", 6 | "enum": "16957" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/mmap.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mmap", 3 | "args": [ 4 | { 5 | "name": "addr", 6 | "type": "void *" 7 | }, 8 | { 9 | "name": "length", 10 | "type": "size_t" 11 | }, 12 | { 13 | "name": "prot", 14 | "enum": "PROT" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "MAP" 19 | }, 20 | { 21 | "name": "fd", 22 | "type": "int" 23 | }, 24 | { 25 | "name": "offset", 26 | "type": "off_t" 27 | } 28 | ], 29 | "varargs": false 30 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/mount.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mount", 3 | "args": [ 4 | { 5 | "name": "source", 6 | "type": "const char *" 7 | }, 8 | { 9 | "name": "target", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "filesystemtype", 14 | "type": "const char *" 15 | }, 16 | { 17 | "name": "mountflags", 18 | "enum": "MS" 19 | }, 20 | { 21 | "name": "data", 22 | "type": "const void *" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/mprotect.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mprotect", 3 | "args": [ 4 | { 5 | "name": "addr", 6 | "type": "void *" 7 | }, 8 | { 9 | "name": "len", 10 | "type": "size_t" 11 | }, 12 | { 13 | "name": "prot", 14 | "enum": "PROT_1" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/mq_open.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mq_open", 3 | "args": [ 4 | { 5 | "name": "name", 6 | "type": "const char *" 7 | }, 8 | { 9 | "name": "oflag", 10 | "enum": "O_1" 11 | }, 12 | { 13 | "name": "mode", 14 | "type": "mode_t" 15 | }, 16 | { 17 | "name": "attr", 18 | "type": "struct mq_attr *" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/mremap.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mremap", 3 | "args": [ 4 | { 5 | "name": "old_address", 6 | "type": "void *" 7 | }, 8 | { 9 | "name": "old_size", 10 | "type": "size_t" 11 | }, 12 | { 13 | "name": "new_size", 14 | "type": "size_t" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "MREMAP" 19 | } 20 | ], 21 | "varargs": true 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/msgctl.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "msgctl", 3 | "args": [ 4 | { 5 | "name": "msqid", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "cmd", 10 | "enum": "65266" 11 | }, 12 | { 13 | "name": "buf", 14 | "type": "struct msqid_ds *" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/msgget.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "msgget", 3 | "args": [ 4 | { 5 | "name": "key", 6 | "enum": "24374" 7 | }, 8 | { 9 | "name": "msgflg", 10 | "enum": "IPC" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/msgrcv.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "msgrcv", 3 | "args": [ 4 | { 5 | "name": "msqid", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "msgp", 10 | "type": "void *" 11 | }, 12 | { 13 | "name": "msgsz", 14 | "type": "size_t" 15 | }, 16 | { 17 | "name": "msgtyp", 18 | "type": "long" 19 | }, 20 | { 21 | "name": "msgflg", 22 | "enum": "12245" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/msgsnd.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "msgsnd", 3 | "args": [ 4 | { 5 | "name": "msqid", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "msgp", 10 | "type": "const void *" 11 | }, 12 | { 13 | "name": "msgsz", 14 | "type": "size_t" 15 | }, 16 | { 17 | "name": "msgflg", 18 | "enum": "12245" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/msync.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "msync", 3 | "args": [ 4 | { 5 | "name": "addr", 6 | "type": "void *" 7 | }, 8 | { 9 | "name": "length", 10 | "type": "size_t" 11 | }, 12 | { 13 | "name": "flags", 14 | "enum": "MS_1" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/name_to_handle_at.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "name_to_handle_at", 3 | "args": [ 4 | { 5 | "name": "dirfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "pathname", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "handle", 14 | "type": "struct file_handle *" 15 | }, 16 | { 17 | "name": "mount_id", 18 | "type": "int *" 19 | }, 20 | { 21 | "name": "flags", 22 | "enum": "AT_4" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/nftw.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nftw", 3 | "args": [ 4 | { 5 | "name": "dirpath", 6 | "type": "const char *" 7 | }, 8 | { 9 | "name": "arg1", 10 | "type": "void*" 11 | }, 12 | { 13 | "name": "sb", 14 | "type": "const struct stat *" 15 | }, 16 | { 17 | "name": "typeflag", 18 | "enum": "FTW" 19 | }, 20 | { 21 | "name": "arg4", 22 | "type": "void*" 23 | }, 24 | { 25 | "name": "nopenfd", 26 | "type": "int" 27 | }, 28 | { 29 | "name": "flags", 30 | "type": "int" 31 | } 32 | ], 33 | "varargs": false 34 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/open.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "open", 3 | "args": [ 4 | { 5 | "name": "pathname", 6 | "type": "const char*" 7 | }, 8 | { 9 | "name": "oflag", 10 | "enum": "O_2" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/openat.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "openat", 3 | "args": [ 4 | { 5 | "name": "pathname", 6 | "type": "const char*" 7 | }, 8 | { 9 | "name": "oflag", 10 | "enum": "O_2" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/openlog.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "openlog", 3 | "args": [ 4 | { 5 | "name": "ident", 6 | "type": "const char *" 7 | }, 8 | { 9 | "name": "option", 10 | "enum": "LOG" 11 | }, 12 | { 13 | "name": "facility", 14 | "enum": "LOG_1" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/personality.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "personality", 3 | "args": [ 4 | { 5 | "name": "persona", 6 | "enum": "30288" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/pipe2.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pipe2", 3 | "args": [ 4 | { 5 | "name": "arg0", 6 | "type": "void*" 7 | }, 8 | { 9 | "name": "flags", 10 | "enum": "O_3" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/pkey_alloc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pkey_alloc", 3 | "args": [ 4 | { 5 | "name": "flags", 6 | "type": "unsigned int" 7 | }, 8 | { 9 | "name": "access_rights", 10 | "enum": "PKEY_DISABLE" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/pkey_mprotect.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pkey_mprotect", 3 | "args": [ 4 | { 5 | "name": "addr", 6 | "type": "void *" 7 | }, 8 | { 9 | "name": "len", 10 | "type": "size_t" 11 | }, 12 | { 13 | "name": "prot", 14 | "enum": "PROT_1" 15 | }, 16 | { 17 | "name": "pkey", 18 | "type": "int" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/posix_madvise.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "posix_madvise", 3 | "args": [ 4 | { 5 | "name": "addr", 6 | "type": "void *" 7 | }, 8 | { 9 | "name": "len", 10 | "type": "size_t" 11 | }, 12 | { 13 | "name": "advice", 14 | "enum": "POSIX_MADV" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/posix_openpt.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "posix_openpt", 3 | "args": [ 4 | { 5 | "name": "flags", 6 | "enum": "O_4" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/prctl.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "prctl", 3 | "args": [ 4 | { 5 | "name": "option", 6 | "enum": "PR" 7 | }, 8 | { 9 | "name": "arg2", 10 | "type": "unsigned long" 11 | }, 12 | { 13 | "name": "arg3", 14 | "type": "unsigned long" 15 | }, 16 | { 17 | "name": "arg4", 18 | "type": "unsigned long" 19 | }, 20 | { 21 | "name": "arg5", 22 | "type": "unsigned long" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/preadv2.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "preadv2", 3 | "args": [ 4 | { 5 | "name": "fd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "iov", 10 | "type": "const struct iovec *" 11 | }, 12 | { 13 | "name": "iovcnt", 14 | "type": "int" 15 | }, 16 | { 17 | "name": "offset", 18 | "type": "off_t" 19 | }, 20 | { 21 | "name": "flags", 22 | "enum": "RWF" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/prlimit.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "prlimit", 3 | "args": [ 4 | { 5 | "name": "pid", 6 | "type": "pid_t" 7 | }, 8 | { 9 | "name": "resource", 10 | "enum": "RLIMIT" 11 | }, 12 | { 13 | "name": "new_limit", 14 | "type": "const struct rlimit *" 15 | }, 16 | { 17 | "name": "old_limit", 18 | "type": "struct rlimit *" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/pthread_attr_setdetachstate.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pthread_attr_setdetachstate", 3 | "args": [ 4 | { 5 | "name": "attr", 6 | "type": "pthread_attr_t *" 7 | }, 8 | { 9 | "name": "detachstate", 10 | "enum": "PTHREAD_CREATE" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/pthread_attr_setinheritsched.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pthread_attr_setinheritsched", 3 | "args": [ 4 | { 5 | "name": "attr", 6 | "type": "pthread_attr_t *" 7 | }, 8 | { 9 | "name": "inheritsched", 10 | "enum": "PTHREAD" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/pthread_attr_setscope.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pthread_attr_setscope", 3 | "args": [ 4 | { 5 | "name": "attr", 6 | "type": "pthread_attr_t *" 7 | }, 8 | { 9 | "name": "scope", 10 | "enum": "PTHREAD_SCOPE" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/pthread_rwlockattr_setkind_np.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pthread_rwlockattr_setkind_np", 3 | "args": [ 4 | { 5 | "name": "attr", 6 | "type": "pthread_rwlockattr_t *" 7 | }, 8 | { 9 | "name": "pref", 10 | "enum": "PTHREAD_RWLOCK_PREFER" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/pthread_setcancelstate.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pthread_setcancelstate", 3 | "args": [ 4 | { 5 | "name": "state", 6 | "enum": "PTHREAD_CANCEL" 7 | }, 8 | { 9 | "name": "oldstate", 10 | "type": "int *" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/pthread_setcanceltype.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pthread_setcanceltype", 3 | "args": [ 4 | { 5 | "name": "type", 6 | "enum": "PTHREAD_CANCEL_1" 7 | }, 8 | { 9 | "name": "oldtype", 10 | "type": "int *" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/pthread_spin_init.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pthread_spin_init", 3 | "args": [ 4 | { 5 | "name": "lock", 6 | "type": "pthread_spinlock_t *" 7 | }, 8 | { 9 | "name": "pshared", 10 | "enum": "PTHREAD_PROCESS" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/ptrace.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ptrace", 3 | "args": [ 4 | { 5 | "name": "request", 6 | "enum": "PTRACE" 7 | }, 8 | { 9 | "name": "pid", 10 | "type": "pid_t" 11 | }, 12 | { 13 | "name": "addr", 14 | "type": "void *" 15 | }, 16 | { 17 | "name": "data", 18 | "type": "void *" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/pwritev2.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pwritev2", 3 | "args": [ 4 | { 5 | "name": "fd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "iov", 10 | "type": "const struct iovec *" 11 | }, 12 | { 13 | "name": "iovcnt", 14 | "type": "int" 15 | }, 16 | { 17 | "name": "offset", 18 | "type": "off_t" 19 | }, 20 | { 21 | "name": "flags", 22 | "enum": "RWF" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/quotactl.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "quotactl", 3 | "args": [ 4 | { 5 | "name": "cmd", 6 | "enum": "24717" 7 | }, 8 | { 9 | "name": "special", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "id", 14 | "type": "int" 15 | }, 16 | { 17 | "name": "addr", 18 | "type": "caddr_t" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/reboot.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "reboot", 3 | "args": [ 4 | { 5 | "name": "cmd", 6 | "enum": "LINUX_REBOOT_CMD" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/recv.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "recv", 3 | "args": [ 4 | { 5 | "name": "sockfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "buf", 10 | "type": "void *" 11 | }, 12 | { 13 | "name": "len", 14 | "type": "size_t" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "MSG" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/recvfrom.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "recvfrom", 3 | "args": [ 4 | { 5 | "name": "sockfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "buf", 10 | "type": "void *" 11 | }, 12 | { 13 | "name": "len", 14 | "type": "size_t" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "MSG" 19 | }, 20 | { 21 | "name": "src_addr", 22 | "type": "struct sockaddr *" 23 | }, 24 | { 25 | "name": "addrlen", 26 | "type": "socklen_t *" 27 | } 28 | ], 29 | "varargs": false 30 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/recvmsg.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "recvmsg", 3 | "args": [ 4 | { 5 | "name": "sockfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "msg", 10 | "type": "struct msghdr *" 11 | }, 12 | { 13 | "name": "flags", 14 | "enum": "MSG" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/regcomp.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "regcomp", 3 | "args": [ 4 | { 5 | "name": "preg", 6 | "type": "regex_t *" 7 | }, 8 | { 9 | "name": "regex", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "cflags", 14 | "enum": "REG" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/regexec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "regexec", 3 | "args": [ 4 | { 5 | "name": "preg", 6 | "type": "const regex_t *" 7 | }, 8 | { 9 | "name": "string", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "nmatch", 14 | "type": "size_t" 15 | }, 16 | { 17 | "name": "arg3", 18 | "type": "void*" 19 | }, 20 | { 21 | "name": "eflags", 22 | "enum": "REG_1" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/remap_file_pages.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "remap_file_pages", 3 | "args": [ 4 | { 5 | "name": "addr", 6 | "type": "void *" 7 | }, 8 | { 9 | "name": "size", 10 | "type": "size_t" 11 | }, 12 | { 13 | "name": "prot", 14 | "enum": "PROT_1" 15 | }, 16 | { 17 | "name": "pgoff", 18 | "type": "size_t" 19 | }, 20 | { 21 | "name": "flags", 22 | "enum": "MAP_1" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/renameat2.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "renameat2", 3 | "args": [ 4 | { 5 | "name": "olddirfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "oldpath", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "newdirfd", 14 | "type": "int" 15 | }, 16 | { 17 | "name": "newpath", 18 | "type": "const char *" 19 | }, 20 | { 21 | "name": "flags", 22 | "enum": "RENAME" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/request_key.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "request_key", 3 | "args": [ 4 | { 5 | "name": "type", 6 | "type": "const char *" 7 | }, 8 | { 9 | "name": "description", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "callout_info", 14 | "type": "const char *" 15 | }, 16 | { 17 | "name": "dest_keyring", 18 | "enum": "KEY_SPEC" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/sched_get_priority_max.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sched_get_priority_max", 3 | "args": [ 4 | { 5 | "name": "policy", 6 | "enum": "SCHED" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/sched_get_priority_min.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sched_get_priority_min", 3 | "args": [ 4 | { 5 | "name": "policy", 6 | "enum": "SCHED" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/sched_setscheduler.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sched_setscheduler", 3 | "args": [ 4 | { 5 | "name": "pid", 6 | "type": "pid_t" 7 | }, 8 | { 9 | "name": "policy", 10 | "enum": "SCHED_1" 11 | }, 12 | { 13 | "name": "param", 14 | "type": "const struct sched_param *" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/seccomp.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "seccomp", 3 | "args": [ 4 | { 5 | "name": "operation", 6 | "enum": "SECCOMP" 7 | }, 8 | { 9 | "name": "flags", 10 | "type": "unsigned int" 11 | }, 12 | { 13 | "name": "args", 14 | "type": "void *" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/semctl.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "semctl", 3 | "args": [ 4 | { 5 | "name": "semid", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "semnum", 10 | "type": "int" 11 | }, 12 | { 13 | "name": "cmd", 14 | "enum": "17314" 15 | } 16 | ], 17 | "varargs": true 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/semget.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "semget", 3 | "args": [ 4 | { 5 | "name": "key", 6 | "enum": "24374" 7 | }, 8 | { 9 | "name": "nsems", 10 | "type": "int" 11 | }, 12 | { 13 | "name": "semflg", 14 | "enum": "IPC" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/send.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "send", 3 | "args": [ 4 | { 5 | "name": "sockfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "buf", 10 | "type": "const void *" 11 | }, 12 | { 13 | "name": "len", 14 | "type": "size_t" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "MSG_1" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/sendmsg.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sendmsg", 3 | "args": [ 4 | { 5 | "name": "sockfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "msg", 10 | "type": "const struct msghdr *" 11 | }, 12 | { 13 | "name": "flags", 14 | "enum": "MSG_1" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/sendto.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sendto", 3 | "args": [ 4 | { 5 | "name": "sockfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "buf", 10 | "type": "const void *" 11 | }, 12 | { 13 | "name": "len", 14 | "type": "size_t" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "MSG_1" 19 | }, 20 | { 21 | "name": "dest_addr", 22 | "type": "const struct sockaddr *" 23 | }, 24 | { 25 | "name": "addrlen", 26 | "type": "socklen_t" 27 | } 28 | ], 29 | "varargs": false 30 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/setitimer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "setitimer", 3 | "args": [ 4 | { 5 | "name": "which", 6 | "enum": "ITIMER" 7 | }, 8 | { 9 | "name": "new_value", 10 | "type": "const struct itimerval *" 11 | }, 12 | { 13 | "name": "old_value", 14 | "type": "struct itimerval *" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/setns.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "setns", 3 | "args": [ 4 | { 5 | "name": "fd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "nstype", 10 | "enum": "CLONE_1" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/setpriority.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "setpriority", 3 | "args": [ 4 | { 5 | "name": "which", 6 | "enum": "PRIO" 7 | }, 8 | { 9 | "name": "who", 10 | "type": "id_t" 11 | }, 12 | { 13 | "name": "prio", 14 | "type": "int" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/setrlimit.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "setrlimit", 3 | "args": [ 4 | { 5 | "name": "resource", 6 | "enum": "RLIMIT" 7 | }, 8 | { 9 | "name": "rlim", 10 | "type": "const struct rlimit *" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/setsockopt.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "setsockopt", 3 | "args": [ 4 | { 5 | "name": "sockfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "level", 10 | "enum": "31061" 11 | }, 12 | { 13 | "name": "optname", 14 | "type": "int" 15 | }, 16 | { 17 | "name": "optval", 18 | "type": "const void *" 19 | }, 20 | { 21 | "name": "optlen", 22 | "type": "socklen_t" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/setxattr.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "setxattr", 3 | "args": [ 4 | { 5 | "name": "path", 6 | "type": "const char\\ *" 7 | }, 8 | { 9 | "name": "name", 10 | "type": "const char\\ *" 11 | }, 12 | { 13 | "name": "value", 14 | "type": "const void\\ *" 15 | }, 16 | { 17 | "name": "size", 18 | "type": "size_t" 19 | }, 20 | { 21 | "name": "flags", 22 | "enum": "XATTR" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/shm_open.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shm_open", 3 | "args": [ 4 | { 5 | "name": "name", 6 | "type": "const char *" 7 | }, 8 | { 9 | "name": "oflag", 10 | "enum": "O_5" 11 | }, 12 | { 13 | "name": "mode", 14 | "type": "mode_t" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/shmat.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shmat", 3 | "args": [ 4 | { 5 | "name": "shmid", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "shmaddr", 10 | "type": "const void *" 11 | }, 12 | { 13 | "name": "shmflg", 14 | "enum": "SHM" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/shmctl.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shmctl", 3 | "args": [ 4 | { 5 | "name": "shmid", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "cmd", 10 | "enum": "18250" 11 | }, 12 | { 13 | "name": "buf", 14 | "type": "struct shmid_ds *" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/shmget.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shmget", 3 | "args": [ 4 | { 5 | "name": "key", 6 | "type": "key_t" 7 | }, 8 | { 9 | "name": "size", 10 | "type": "size_t" 11 | }, 12 | { 13 | "name": "shmflg", 14 | "enum": "12874" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/shutdown.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shutdown", 3 | "args": [ 4 | { 5 | "name": "sockfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "how", 10 | "enum": "SHUT" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/sighold.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sighold", 3 | "args": [ 4 | { 5 | "name": "sig", 6 | "enum": "SIG" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/sigignore.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sigignore", 3 | "args": [ 4 | { 5 | "name": "sig", 6 | "enum": "SIG" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/signalfd.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "signalfd", 3 | "args": [ 4 | { 5 | "name": "fd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "mask", 10 | "type": "const sigset_t *" 11 | }, 12 | { 13 | "name": "flags", 14 | "enum": "SFD" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/sigprocmask.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sigprocmask", 3 | "args": [ 4 | { 5 | "name": "how", 6 | "enum": "SIG_1" 7 | }, 8 | { 9 | "name": "set", 10 | "type": "const sigset_t *" 11 | }, 12 | { 13 | "name": "oldset", 14 | "type": "sigset_t *" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/sigrelse.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sigrelse", 3 | "args": [ 4 | { 5 | "name": "sig", 6 | "enum": "SIG" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/sigset.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sigset", 3 | "args": [ 4 | { 5 | "name": "sig", 6 | "enum": "SIG" 7 | }, 8 | { 9 | "name": "disp", 10 | "type": "sighandler_t" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/socket.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "socket", 3 | "args": [ 4 | { 5 | "name": "domain", 6 | "enum": "AF_1" 7 | }, 8 | { 9 | "name": "type", 10 | "enum": "SOCK_1" 11 | }, 12 | { 13 | "name": "protocol", 14 | "type": "int" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/socketpair.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "socketpair", 3 | "args": [ 4 | { 5 | "name": "domain", 6 | "enum": "AF_2" 7 | }, 8 | { 9 | "name": "type", 10 | "enum": "SOCK" 11 | }, 12 | { 13 | "name": "protocol", 14 | "type": "int" 15 | }, 16 | { 17 | "name": "arg3", 18 | "type": "void*" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/splice.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "splice", 3 | "args": [ 4 | { 5 | "name": "fd_in", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "off_in", 10 | "type": "off64_t *" 11 | }, 12 | { 13 | "name": "fd_out", 14 | "type": "int" 15 | }, 16 | { 17 | "name": "off_out", 18 | "type": "off64_t *" 19 | }, 20 | { 21 | "name": "len", 22 | "type": "size_t" 23 | }, 24 | { 25 | "name": "flags", 26 | "enum": "SPLICE_F" 27 | } 28 | ], 29 | "varargs": false 30 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/statx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "statx", 3 | "args": [ 4 | { 5 | "name": "dirfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "pathname", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "flags", 14 | "enum": "AT_5" 15 | }, 16 | { 17 | "name": "mask", 18 | "type": "unsigned int" 19 | }, 20 | { 21 | "name": "statxbuf", 22 | "type": "struct statx *" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/sync_file_range.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sync_file_range", 3 | "args": [ 4 | { 5 | "name": "fd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "offset", 10 | "type": "off64_t" 11 | }, 12 | { 13 | "name": "nbytes", 14 | "type": "off64_t" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "SYNC_FILE_RANGE" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/tee.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tee", 3 | "args": [ 4 | { 5 | "name": "fd_in", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "fd_out", 10 | "type": "int" 11 | }, 12 | { 13 | "name": "len", 14 | "type": "size_t" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "SPLICE_F" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/tgkill.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tgkill", 3 | "args": [ 4 | { 5 | "name": "tgid", 6 | "type": "pid_t" 7 | }, 8 | { 9 | "name": "tid", 10 | "type": "pid_t" 11 | }, 12 | { 13 | "name": "sig", 14 | "enum": "74210" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/timer_create.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "timer_create", 3 | "args": [ 4 | { 5 | "name": "clockid", 6 | "enum": "CLOCK" 7 | }, 8 | { 9 | "name": "sevp", 10 | "type": "struct sigevent *" 11 | }, 12 | { 13 | "name": "timerid", 14 | "type": "timer_t *" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/timer_settime.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "timer_settime", 3 | "args": [ 4 | { 5 | "name": "timerid", 6 | "type": "timer_t" 7 | }, 8 | { 9 | "name": "flags", 10 | "enum": "97337" 11 | }, 12 | { 13 | "name": "new_value", 14 | "type": "const struct itimerspec *" 15 | }, 16 | { 17 | "name": "old_value", 18 | "type": "struct itimerspec *" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/timerfd_create.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "timerfd_create", 3 | "args": [ 4 | { 5 | "name": "clockid", 6 | "enum": "CLOCK_1" 7 | }, 8 | { 9 | "name": "flags", 10 | "enum": "TFD" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/timerfd_settime.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "timerfd_settime", 3 | "args": [ 4 | { 5 | "name": "fd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "flags", 10 | "enum": "TFD" 11 | }, 12 | { 13 | "name": "new_value", 14 | "type": "const struct itimerspec *" 15 | }, 16 | { 17 | "name": "old_value", 18 | "type": "struct itimerspec *" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/ulimit.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ulimit", 3 | "args": [ 4 | { 5 | "name": "cmd", 6 | "enum": "UL" 7 | }, 8 | { 9 | "name": "newlimit", 10 | "type": "long" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/umount2.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "umount2", 3 | "args": [ 4 | { 5 | "name": "target", 6 | "type": "const char *" 7 | }, 8 | { 9 | "name": "flags", 10 | "enum": "28100" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/unlinkat.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "unlinkat", 3 | "args": [ 4 | { 5 | "name": "dirfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "pathname", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "flags", 14 | "enum": "17653" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/unshare.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "unshare", 3 | "args": [ 4 | { 5 | "name": "flags", 6 | "enum": "CLONE_2" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/utimensat.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "utimensat", 3 | "args": [ 4 | { 5 | "name": "dirfd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "pathname", 10 | "type": "const char *" 11 | }, 12 | { 13 | "name": "arg2", 14 | "type": "void*" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "13532" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/vmsplice.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vmsplice", 3 | "args": [ 4 | { 5 | "name": "fd", 6 | "type": "int" 7 | }, 8 | { 9 | "name": "iov", 10 | "type": "const struct iovec *" 11 | }, 12 | { 13 | "name": "nr_segs", 14 | "type": "size_t" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "SPLICE_F" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/wait4.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "wait4", 3 | "args": [ 4 | { 5 | "name": "pid", 6 | "type": "pid_t" 7 | }, 8 | { 9 | "name": "wstatus", 10 | "type": "int *" 11 | }, 12 | { 13 | "name": "options", 14 | "enum": "61707" 15 | }, 16 | { 17 | "name": "rusage", 18 | "type": "struct rusage *" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/waitid.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "waitid", 3 | "args": [ 4 | { 5 | "name": "idtype", 6 | "type": "idtype_t" 7 | }, 8 | { 9 | "name": "id", 10 | "type": "id_t" 11 | }, 12 | { 13 | "name": "infop", 14 | "type": "siginfo_t *" 15 | }, 16 | { 17 | "name": "options", 18 | "enum": "15768" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/linux/functions/waitpid.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "waitpid", 3 | "args": [ 4 | { 5 | "name": "pid", 6 | "type": "pid_t" 7 | }, 8 | { 9 | "name": "wstatus", 10 | "type": "int *" 11 | }, 12 | { 13 | "name": "options", 14 | "enum": "15768" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ActivateKeyboardLayout.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ActivateKeyboardLayout", 3 | "args": [ 4 | { 5 | "name": "hkl", 6 | "enum": "HKL" 7 | }, 8 | { 9 | "name": "Flags", 10 | "enum": "KLF_1" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/AddConditionalAce.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AddConditionalAce", 3 | "args": [ 4 | { 5 | "name": "pAcl", 6 | "type": "" 7 | }, 8 | { 9 | "name": "AceType", 10 | "enum": "34279" 11 | }, 12 | { 13 | "name": "pSid", 14 | "type": "" 15 | }, 16 | { 17 | "name": "ReturnLength", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/AdjustWindowRectEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AdjustWindowRectEx", 3 | "args": [ 4 | { 5 | "name": "lpRect", 6 | "type": "" 7 | }, 8 | { 9 | "name": "bMenu", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwExStyle", 14 | "enum": "WS_EX" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/AdjustWindowRectExForDpi.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AdjustWindowRectExForDpi", 3 | "args": [ 4 | { 5 | "name": "lpRect", 6 | "type": "" 7 | }, 8 | { 9 | "name": "bMenu", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwExStyle", 14 | "enum": "WS_EX" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/AnimateWindow.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AnimateWindow", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFlags", 10 | "enum": "AW" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/AppendMenu.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AppendMenu", 3 | "args": [ 4 | { 5 | "name": "hMenu", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uFlags", 10 | "enum": "MF_2" 11 | }, 12 | { 13 | "name": "lpNewItem", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/BCryptEnumAlgorithms.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "BCryptEnumAlgorithms", 3 | "args": [ 4 | { 5 | "name": "dwAlgOperations", 6 | "enum": "BCRYPT" 7 | }, 8 | { 9 | "name": "pAlgCount", 10 | "type": "" 11 | }, 12 | { 13 | "name": "ppAlgList", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/BCryptGenRandom.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "BCryptGenRandom", 3 | "args": [ 4 | { 5 | "name": "hAlgorithm", 6 | "type": "" 7 | }, 8 | { 9 | "name": "pbBuffer", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "BCRYPT_1" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/BCryptResolveProviders.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "BCryptResolveProviders", 3 | "args": [ 4 | { 5 | "name": "pszContext", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwInterface", 10 | "enum": "14720" 11 | }, 12 | { 13 | "name": "pszFunction", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pszProvider", 18 | "type": "" 19 | }, 20 | { 21 | "name": "dwFlags", 22 | "enum": "CRYPT_ALL" 23 | }, 24 | { 25 | "name": "pcbBuffer", 26 | "type": "" 27 | }, 28 | { 29 | "name": "ppBuffer", 30 | "type": "" 31 | } 32 | ], 33 | "varargs": false 34 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/BroadcastSystemMessage.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "BroadcastSystemMessage", 3 | "args": [ 4 | { 5 | "name": "flags", 6 | "enum": "BSF" 7 | }, 8 | { 9 | "name": "lpInfo", 10 | "type": "" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/BroadcastSystemMessageEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "BroadcastSystemMessageEx", 3 | "args": [ 4 | { 5 | "name": "flags", 6 | "enum": "BSF_1" 7 | }, 8 | { 9 | "name": "lpInfo", 10 | "type": "" 11 | }, 12 | { 13 | "name": "pbsmInfo", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CalculatePopupWindowPosition.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CalculatePopupWindowPosition", 3 | "args": [ 4 | { 5 | "name": "flags", 6 | "enum": "TPM_1" 7 | }, 8 | { 9 | "name": "popupWindowPosition", 10 | "type": "" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CallNamedPipe.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CallNamedPipe", 3 | "args": [ 4 | { 5 | "name": "lpNamedPipeName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpInBuffer", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpOutBuffer", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpBytesRead", 18 | "type": "" 19 | }, 20 | { 21 | "name": "nTimeOut", 22 | "enum": "NMPWAIT" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CascadeWindows.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CascadeWindows", 3 | "args": [ 4 | { 5 | "name": "hwndParent", 6 | "type": "" 7 | }, 8 | { 9 | "name": "wHow", 10 | "enum": "MDITILE" 11 | }, 12 | { 13 | "name": "lpRect", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpKids", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CertCreateSelfSignCertificate.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CertCreateSelfSignCertificate", 3 | "args": [ 4 | { 5 | "name": "hCryptProvOrNCryptKey", 6 | "type": "" 7 | }, 8 | { 9 | "name": "pSubjectIssuerBlob", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "CERT_CREATE_SELFSIGN_NO" 15 | }, 16 | { 17 | "name": "pKeyProvInfo", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pSignatureAlgorithm", 22 | "type": "" 23 | }, 24 | { 25 | "name": "pStartTime", 26 | "type": "" 27 | }, 28 | { 29 | "name": "pEndTime", 30 | "type": "" 31 | }, 32 | { 33 | "name": "pExtensions", 34 | "type": "" 35 | } 36 | ], 37 | "varargs": false 38 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CertGetCertificateChain.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CertGetCertificateChain", 3 | "args": [ 4 | { 5 | "name": "hChainEngine", 6 | "type": "" 7 | }, 8 | { 9 | "name": "pCertContext", 10 | "type": "" 11 | }, 12 | { 13 | "name": "pTime", 14 | "type": "" 15 | }, 16 | { 17 | "name": "hAdditionalStore", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pChainPara", 22 | "type": "" 23 | }, 24 | { 25 | "name": "dwFlags", 26 | "enum": "CERT_CHAIN" 27 | }, 28 | { 29 | "name": "pvReserved", 30 | "type": "" 31 | }, 32 | { 33 | "name": "ppChainContext", 34 | "type": "" 35 | } 36 | ], 37 | "varargs": false 38 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CertGetNameString.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CertGetNameString", 3 | "args": [ 4 | { 5 | "name": "pCertContext", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwType", 10 | "enum": "CERT_NAME" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "CERT_NAME_1" 15 | }, 16 | { 17 | "name": "pvTypePara", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pszNameString", 22 | "type": "" 23 | }, 24 | { 25 | "name": "cchNameString", 26 | "type": "" 27 | } 28 | ], 29 | "varargs": false 30 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CertNameToStr.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CertNameToStr", 3 | "args": [ 4 | { 5 | "name": "pName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwStrType", 10 | "enum": "CERT" 11 | }, 12 | { 13 | "name": "psz", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CertSaveStore.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CertSaveStore", 3 | "args": [ 4 | { 5 | "name": "hCertStore", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwSaveAs", 10 | "enum": "CERT_STORE_SAVE_AS" 11 | }, 12 | { 13 | "name": "dwSaveTo", 14 | "enum": "CERT_STORE_SAVE_TO" 15 | }, 16 | { 17 | "name": "pvSaveToPara", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CertStrToName.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CertStrToName", 3 | "args": [ 4 | { 5 | "name": "pszX500", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwStrType", 10 | "enum": "CERT_1" 11 | }, 12 | { 13 | "name": "pvReserved", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pbEncoded", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pcbEncoded", 22 | "type": "" 23 | }, 24 | { 25 | "name": "ppszError", 26 | "type": "" 27 | } 28 | ], 29 | "varargs": false 30 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ChangeServiceConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ChangeServiceConfig", 3 | "args": [ 4 | { 5 | "name": "hService", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwServiceType", 10 | "enum": "SERVICE_2" 11 | }, 12 | { 13 | "name": "dwStartType", 14 | "enum": "SERVICE_1" 15 | }, 16 | { 17 | "name": "dwErrorControl", 18 | "enum": "SERVICE_ERROR" 19 | }, 20 | { 21 | "name": "lpBinaryPathName", 22 | "type": "" 23 | }, 24 | { 25 | "name": "lpLoadOrderGroup", 26 | "type": "" 27 | }, 28 | { 29 | "name": "lpdwTagId", 30 | "type": "" 31 | }, 32 | { 33 | "name": "lpDependencies", 34 | "type": "" 35 | }, 36 | { 37 | "name": "lpServiceStartName", 38 | "type": "" 39 | }, 40 | { 41 | "name": "lpPassword", 42 | "type": "" 43 | }, 44 | { 45 | "name": "lpDisplayName", 46 | "type": "" 47 | } 48 | ], 49 | "varargs": false 50 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ChangeServiceConfig2.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ChangeServiceConfig2", 3 | "args": [ 4 | { 5 | "name": "hService", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwInfoLevel", 10 | "enum": "SERVICE_CONFIG" 11 | }, 12 | { 13 | "name": "lpInfo", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ChangeWindowMessageFilter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ChangeWindowMessageFilter", 3 | "args": [ 4 | { 5 | "name": "dwFlag", 6 | "enum": "MSGFLT_1" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ChangeWindowMessageFilterEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ChangeWindowMessageFilterEx", 3 | "args": [ 4 | { 5 | "name": "hwnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "action", 10 | "enum": "MSGFLT" 11 | }, 12 | { 13 | "name": "pChangeFilterStruct", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CharNextEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CharNextEx", 3 | "args": [ 4 | { 5 | "name": "CodePage", 6 | "enum": "CP" 7 | }, 8 | { 9 | "name": "lpCurrentChar", 10 | "type": "" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CharPrevEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CharPrevEx", 3 | "args": [ 4 | { 5 | "name": "CodePage", 6 | "enum": "CP" 7 | }, 8 | { 9 | "name": "lpStart", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpCurrentChar", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CheckDlgButton.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CheckDlgButton", 3 | "args": [ 4 | { 5 | "name": "hDlg", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uCheck", 10 | "enum": "BS" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CheckMenuItem.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CheckMenuItem", 3 | "args": [ 4 | { 5 | "name": "hMenu", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uCheck", 10 | "enum": "MF_4" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ChildWindowFromPointEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ChildWindowFromPointEx", 3 | "args": [ 4 | { 5 | "name": "hwnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "flags", 10 | "enum": "CWP" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ControlService.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ControlService", 3 | "args": [ 4 | { 5 | "name": "hService", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwControl", 10 | "enum": "SERVICE_CONTROL" 11 | }, 12 | { 13 | "name": "lpServiceStatus", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ControlServiceEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ControlServiceEx", 3 | "args": [ 4 | { 5 | "name": "hService", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwControl", 10 | "enum": "SERVICE_CONTROL" 11 | }, 12 | { 13 | "name": "pControlParams", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CopyImage.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CopyImage", 3 | "args": [ 4 | { 5 | "name": "type", 6 | "enum": "IMAGE" 7 | }, 8 | { 9 | "name": "flags", 10 | "enum": "LR_2" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateFile.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateFile", 3 | "args": [ 4 | { 5 | "name": "lpFileName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwDesiredAccess", 10 | "enum": "98361" 11 | }, 12 | { 13 | "name": "dwShareMode", 14 | "enum": "FILE_SHARE" 15 | }, 16 | { 17 | "name": "lpSecurityAttributes", 18 | "type": "" 19 | }, 20 | { 21 | "name": "dwCreationDisposition", 22 | "enum": "23344" 23 | }, 24 | { 25 | "name": "dwFlagsAndAttributes", 26 | "enum": "FILE_1" 27 | }, 28 | { 29 | "name": "hTemplateFile", 30 | "type": "" 31 | } 32 | ], 33 | "varargs": false 34 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateFile2.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateFile2", 3 | "args": [ 4 | { 5 | "name": "lpFileName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwDesiredAccess", 10 | "enum": "98361" 11 | }, 12 | { 13 | "name": "dwShareMode", 14 | "enum": "FILE_SHARE" 15 | }, 16 | { 17 | "name": "dwCreationDisposition", 18 | "enum": "23344" 19 | }, 20 | { 21 | "name": "pCreateExParams", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateFileMapping.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateFileMapping", 3 | "args": [ 4 | { 5 | "name": "hFile", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpFileMappingAttributes", 10 | "type": "" 11 | }, 12 | { 13 | "name": "flProtect", 14 | "enum": "49048" 15 | }, 16 | { 17 | "name": "lpName", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateFileMappingFromApp.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateFileMappingFromApp", 3 | "args": [ 4 | { 5 | "name": "hFile", 6 | "type": "" 7 | }, 8 | { 9 | "name": "PageProtection", 10 | "enum": "17321" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateFileMappingNuma.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateFileMappingNuma", 3 | "args": [ 4 | { 5 | "name": "hFile", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpFileMappingAttributes", 10 | "type": "" 11 | }, 12 | { 13 | "name": "flProtect", 14 | "enum": "49048" 15 | }, 16 | { 17 | "name": "lpName", 18 | "type": "" 19 | }, 20 | { 21 | "name": "nndPreferred", 22 | "enum": "13080" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateIconFromResourceEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateIconFromResourceEx", 3 | "args": [ 4 | { 5 | "name": "Flags", 6 | "enum": "LR" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateMDIWindow.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateMDIWindow", 3 | "args": [ 4 | { 5 | "name": "lpClassName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpWindowName", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwStyle", 14 | "enum": "WS" 15 | }, 16 | { 17 | "name": "hWndParent", 18 | "type": "" 19 | }, 20 | { 21 | "name": "hInstance", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateNamedPipe.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateNamedPipe", 3 | "args": [ 4 | { 5 | "name": "lpName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwOpenMode", 10 | "enum": "13762" 11 | }, 12 | { 13 | "name": "dwPipeMode", 14 | "enum": "PIPE" 15 | }, 16 | { 17 | "name": "lpSecurityAttributes", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateProcess.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateProcess", 3 | "args": [ 4 | { 5 | "name": "lpApplicationName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpCommandLine", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpProcessAttributes", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpThreadAttributes", 18 | "type": "" 19 | }, 20 | { 21 | "name": "bInheritHandles", 22 | "type": "" 23 | }, 24 | { 25 | "name": "dwCreationFlags", 26 | "enum": "95950" 27 | }, 28 | { 29 | "name": "lpEnvironment", 30 | "type": "" 31 | }, 32 | { 33 | "name": "lpCurrentDirectory", 34 | "type": "" 35 | }, 36 | { 37 | "name": "lpStartupInfo", 38 | "type": "" 39 | }, 40 | { 41 | "name": "lpProcessInformation", 42 | "type": "" 43 | } 44 | ], 45 | "varargs": false 46 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateProcessAsUser.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateProcessAsUser", 3 | "args": [ 4 | { 5 | "name": "hToken", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpApplicationName", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpCommandLine", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpProcessAttributes", 18 | "type": "" 19 | }, 20 | { 21 | "name": "lpThreadAttributes", 22 | "type": "" 23 | }, 24 | { 25 | "name": "bInheritHandles", 26 | "type": "" 27 | }, 28 | { 29 | "name": "dwCreationFlags", 30 | "enum": "95950" 31 | }, 32 | { 33 | "name": "lpEnvironment", 34 | "type": "" 35 | }, 36 | { 37 | "name": "lpCurrentDirectory", 38 | "type": "" 39 | }, 40 | { 41 | "name": "lpStartupInfo", 42 | "type": "" 43 | }, 44 | { 45 | "name": "lpProcessInformation", 46 | "type": "" 47 | } 48 | ], 49 | "varargs": false 50 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateProcessWithLogon.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateProcessWithLogon", 3 | "args": [ 4 | { 5 | "name": "lpUsername", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpDomain", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpPassword", 14 | "type": "" 15 | }, 16 | { 17 | "name": "dwLogonFlags", 18 | "enum": "LOGON" 19 | }, 20 | { 21 | "name": "lpApplicationName", 22 | "type": "" 23 | }, 24 | { 25 | "name": "lpCommandLine", 26 | "type": "" 27 | }, 28 | { 29 | "name": "dwCreationFlags", 30 | "enum": "95950" 31 | }, 32 | { 33 | "name": "lpEnvironment", 34 | "type": "" 35 | }, 36 | { 37 | "name": "lpCurrentDirectory", 38 | "type": "" 39 | }, 40 | { 41 | "name": "lpStartupInfo", 42 | "type": "" 43 | }, 44 | { 45 | "name": "lpProcessInformation", 46 | "type": "" 47 | } 48 | ], 49 | "varargs": false 50 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateProcessWithToken.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateProcessWithToken", 3 | "args": [ 4 | { 5 | "name": "hToken", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwLogonFlags", 10 | "enum": "LOGON" 11 | }, 12 | { 13 | "name": "lpApplicationName", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpCommandLine", 18 | "type": "" 19 | }, 20 | { 21 | "name": "dwCreationFlags", 22 | "enum": "95950" 23 | }, 24 | { 25 | "name": "lpEnvironment", 26 | "type": "" 27 | }, 28 | { 29 | "name": "lpCurrentDirectory", 30 | "type": "" 31 | }, 32 | { 33 | "name": "lpStartupInfo", 34 | "type": "" 35 | }, 36 | { 37 | "name": "lpProcessInformation", 38 | "type": "" 39 | } 40 | ], 41 | "varargs": false 42 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateRemoteThread.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateRemoteThread", 3 | "args": [ 4 | { 5 | "name": "hProcess", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpThreadAttributes", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpStartAddress", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpParameter", 18 | "type": "" 19 | }, 20 | { 21 | "name": "dwCreationFlags", 22 | "enum": "18435" 23 | }, 24 | { 25 | "name": "lpThreadId", 26 | "type": "" 27 | } 28 | ], 29 | "varargs": false 30 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateRemoteThreadEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateRemoteThreadEx", 3 | "args": [ 4 | { 5 | "name": "hProcess", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpThreadAttributes", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpStartAddress", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpParameter", 18 | "type": "" 19 | }, 20 | { 21 | "name": "dwCreationFlags", 22 | "enum": "18435" 23 | }, 24 | { 25 | "name": "lpAttributeList", 26 | "type": "" 27 | }, 28 | { 29 | "name": "lpThreadId", 30 | "type": "" 31 | } 32 | ], 33 | "varargs": false 34 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateService.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateService", 3 | "args": [ 4 | { 5 | "name": "hSCManager", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpServiceName", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpDisplayName", 14 | "type": "" 15 | }, 16 | { 17 | "name": "dwServiceType", 18 | "enum": "SERVICE" 19 | }, 20 | { 21 | "name": "dwStartType", 22 | "enum": "SERVICE_1" 23 | }, 24 | { 25 | "name": "dwErrorControl", 26 | "enum": "SERVICE_ERROR" 27 | }, 28 | { 29 | "name": "lpBinaryPathName", 30 | "type": "" 31 | }, 32 | { 33 | "name": "lpLoadOrderGroup", 34 | "type": "" 35 | }, 36 | { 37 | "name": "lpdwTagId", 38 | "type": "" 39 | }, 40 | { 41 | "name": "lpDependencies", 42 | "type": "" 43 | }, 44 | { 45 | "name": "lpServiceStartName", 46 | "type": "" 47 | }, 48 | { 49 | "name": "lpPassword", 50 | "type": "" 51 | } 52 | ], 53 | "varargs": false 54 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateSymbolicLink.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateSymbolicLink", 3 | "args": [ 4 | { 5 | "name": "lpSymlinkFileName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpTargetFileName", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "SYMBOLIC_LINK_FLAG" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateSymbolicLinkTransacted.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateSymbolicLinkTransacted", 3 | "args": [ 4 | { 5 | "name": "lpSymlinkFileName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpTargetFileName", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "61040" 15 | }, 16 | { 17 | "name": "hTransaction", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateTapePartition.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateTapePartition", 3 | "args": [ 4 | { 5 | "name": "hDevice", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwPartitionMethod", 10 | "enum": "TAPE_2" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateThread.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateThread", 3 | "args": [ 4 | { 5 | "name": "lpThreadAttributes", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpStartAddress", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpParameter", 14 | "type": "" 15 | }, 16 | { 17 | "name": "dwCreationFlags", 18 | "enum": "18435" 19 | }, 20 | { 21 | "name": "lpThreadId", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CreateWindowEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CreateWindowEx", 3 | "args": [ 4 | { 5 | "name": "dwExStyle", 6 | "enum": "WS_EX" 7 | }, 8 | { 9 | "name": "lpClassName", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpWindowName", 14 | "type": "" 15 | }, 16 | { 17 | "name": "hWndParent", 18 | "type": "" 19 | }, 20 | { 21 | "name": "hMenu", 22 | "type": "" 23 | }, 24 | { 25 | "name": "hInstance", 26 | "type": "" 27 | }, 28 | { 29 | "name": "lpParam", 30 | "type": "" 31 | } 32 | ], 33 | "varargs": false 34 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptAcquireContext.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptAcquireContext", 3 | "args": [ 4 | { 5 | "name": "phProv", 6 | "type": "" 7 | }, 8 | { 9 | "name": "szProvider", 10 | "enum": "MS" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptBinaryToString.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptBinaryToString", 3 | "args": [ 4 | { 5 | "name": "dwFlags", 6 | "enum": "CRYPT_STRING" 7 | }, 8 | { 9 | "name": "pszString", 10 | "type": "" 11 | }, 12 | { 13 | "name": "pcchString", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptCreateHash.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptCreateHash", 3 | "args": [ 4 | { 5 | "name": "hProv", 6 | "type": "" 7 | }, 8 | { 9 | "name": "Algid", 10 | "enum": "75770" 11 | }, 12 | { 13 | "name": "hKey", 14 | "type": "" 15 | }, 16 | { 17 | "name": "dwFlags", 18 | "enum": "28897" 19 | }, 20 | { 21 | "name": "phHash", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptDecodeObjectEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptDecodeObjectEx", 3 | "args": [ 4 | { 5 | "name": "lpszStructType", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFlags", 10 | "enum": "30273" 11 | }, 12 | { 13 | "name": "pDecodePara", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pvStructInfo", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pcbStructInfo", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptDecrypt.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptDecrypt", 3 | "args": [ 4 | { 5 | "name": "hKey", 6 | "type": "" 7 | }, 8 | { 9 | "name": "hHash", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "CRYPT_6" 15 | }, 16 | { 17 | "name": "pbData", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pdwDataLen", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptDeriveKey.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptDeriveKey", 3 | "args": [ 4 | { 5 | "name": "hProv", 6 | "type": "" 7 | }, 8 | { 9 | "name": "Algid", 10 | "enum": "75770" 11 | }, 12 | { 13 | "name": "hBaseData", 14 | "type": "" 15 | }, 16 | { 17 | "name": "dwFlags", 18 | "enum": "55875" 19 | }, 20 | { 21 | "name": "phKey", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptEncodeObjectEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptEncodeObjectEx", 3 | "args": [ 4 | { 5 | "name": "lpszStructType", 6 | "type": "" 7 | }, 8 | { 9 | "name": "pvStructInfo", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "CRYPT_7" 15 | }, 16 | { 17 | "name": "pEncodePara", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pvEncoded", 22 | "type": "" 23 | }, 24 | { 25 | "name": "pcbEncoded", 26 | "type": "" 27 | } 28 | ], 29 | "varargs": false 30 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptEncrypt.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptEncrypt", 3 | "args": [ 4 | { 5 | "name": "hKey", 6 | "type": "" 7 | }, 8 | { 9 | "name": "hHash", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "17971" 15 | }, 16 | { 17 | "name": "pbData", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pdwDataLen", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptExportKey.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptExportKey", 3 | "args": [ 4 | { 5 | "name": "hKey", 6 | "type": "" 7 | }, 8 | { 9 | "name": "hExpKey", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "CRYPT_5" 15 | }, 16 | { 17 | "name": "pbData", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pdwDataLen", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptExportPublicKeyInfoFromBCryptKeyHandle.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptExportPublicKeyInfoFromBCryptKeyHandle", 3 | "args": [ 4 | { 5 | "name": "hBCryptKey", 6 | "type": "" 7 | }, 8 | { 9 | "name": "pszPublicKeyObjId", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "CRYPT_OID_INFO_PUBKEY" 15 | }, 16 | { 17 | "name": "pvAuxInfo", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pInfo", 22 | "type": "" 23 | }, 24 | { 25 | "name": "pcbInfo", 26 | "type": "" 27 | } 28 | ], 29 | "varargs": false 30 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptFindOIDInfo.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptFindOIDInfo", 3 | "args": [ 4 | { 5 | "name": "dwKeyType", 6 | "enum": "29460" 7 | }, 8 | { 9 | "name": "pvKey", 10 | "type": "" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptFormatObject.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptFormatObject", 3 | "args": [ 4 | { 5 | "name": "dwFormatStrType", 6 | "enum": "CRYPT_FORMAT_STR" 7 | }, 8 | { 9 | "name": "pFormatStruct", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpszStructType", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pbFormat", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pcbFormat", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptGenKey.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptGenKey", 3 | "args": [ 4 | { 5 | "name": "hProv", 6 | "type": "" 7 | }, 8 | { 9 | "name": "Algid", 10 | "enum": "75770" 11 | }, 12 | { 13 | "name": "phKey", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptGetDefaultProvider.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptGetDefaultProvider", 3 | "args": [ 4 | { 5 | "name": "dwFlags", 6 | "enum": "CRYPT_3" 7 | }, 8 | { 9 | "name": "pszProvName", 10 | "type": "" 11 | }, 12 | { 13 | "name": "pcbProvName", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptGetHashParam.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptGetHashParam", 3 | "args": [ 4 | { 5 | "name": "hHash", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwParam", 10 | "enum": "75770" 11 | }, 12 | { 13 | "name": "pbData", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pdwDataLen", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptGetKeyParam.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptGetKeyParam", 3 | "args": [ 4 | { 5 | "name": "hKey", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwParam", 10 | "enum": "75770" 11 | }, 12 | { 13 | "name": "pbData", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pdwDataLen", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptGetProvParam.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptGetProvParam", 3 | "args": [ 4 | { 5 | "name": "hProv", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwParam", 10 | "enum": "PP" 11 | }, 12 | { 13 | "name": "pbData", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pdwDataLen", 18 | "type": "" 19 | }, 20 | { 21 | "name": "dwFlags", 22 | "enum": "CRYPT_1" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptGetTimeValidObject.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptGetTimeValidObject", 3 | "args": [ 4 | { 5 | "name": "pszTimeValidOid", 6 | "type": "" 7 | }, 8 | { 9 | "name": "pvPara", 10 | "type": "" 11 | }, 12 | { 13 | "name": "pIssuer", 14 | "type": "" 15 | }, 16 | { 17 | "name": "dwFlags", 18 | "enum": "CRYPT_2" 19 | }, 20 | { 21 | "name": "ppvObject", 22 | "type": "" 23 | }, 24 | { 25 | "name": "pCredentials", 26 | "type": "" 27 | }, 28 | { 29 | "name": "pExtraInfo", 30 | "type": "" 31 | } 32 | ], 33 | "varargs": false 34 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptHashCertificate.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptHashCertificate", 3 | "args": [ 4 | { 5 | "name": "hCryptProv", 6 | "type": "" 7 | }, 8 | { 9 | "name": "Algid", 10 | "enum": "75770" 11 | }, 12 | { 13 | "name": "pbComputedHash", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pcbComputedHash", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptHashData.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptHashData", 3 | "args": [ 4 | { 5 | "name": "hHash", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFlags", 10 | "enum": "CRYPT_9" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptHashPublicKeyInfo.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptHashPublicKeyInfo", 3 | "args": [ 4 | { 5 | "name": "hCryptProv", 6 | "type": "" 7 | }, 8 | { 9 | "name": "Algid", 10 | "enum": "75770" 11 | }, 12 | { 13 | "name": "pInfo", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pbComputedHash", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pcbComputedHash", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptHashSessionKey.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptHashSessionKey", 3 | "args": [ 4 | { 5 | "name": "hHash", 6 | "type": "" 7 | }, 8 | { 9 | "name": "hKey", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "18968" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptImportPublicKeyInfoEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptImportPublicKeyInfoEx", 3 | "args": [ 4 | { 5 | "name": "hCryptProv", 6 | "type": "" 7 | }, 8 | { 9 | "name": "pInfo", 10 | "type": "" 11 | }, 12 | { 13 | "name": "aiKeyAlg", 14 | "enum": "75770" 15 | }, 16 | { 17 | "name": "pvAuxInfo", 18 | "type": "" 19 | }, 20 | { 21 | "name": "phKey", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptMsgControl.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptMsgControl", 3 | "args": [ 4 | { 5 | "name": "hCryptMsg", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwCtrlType", 10 | "enum": "CMSG_CTRL" 11 | }, 12 | { 13 | "name": "pvCtrlPara", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptSetKeyParam.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptSetKeyParam", 3 | "args": [ 4 | { 5 | "name": "hKey", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwParam", 10 | "enum": "75770" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptSetProvParam.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptSetProvParam", 3 | "args": [ 4 | { 5 | "name": "hProv", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwParam", 10 | "enum": "PP_1" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptSetProviderEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptSetProviderEx", 3 | "args": [ 4 | { 5 | "name": "pszProvName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFlags", 10 | "enum": "CRYPT" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptSignHash.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptSignHash", 3 | "args": [ 4 | { 5 | "name": "hHash", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFlags", 10 | "enum": "CRYPT_4" 11 | }, 12 | { 13 | "name": "pbSignature", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pdwSigLen", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptVerifyCertificateSignatureEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptVerifyCertificateSignatureEx", 3 | "args": [ 4 | { 5 | "name": "hCryptProv", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwSubjectType", 10 | "enum": "CRYPT_VERIFY_CERT_SIGN_SUBJECT" 11 | }, 12 | { 13 | "name": "pvSubject", 14 | "type": "" 15 | }, 16 | { 17 | "name": "dwIssuerType", 18 | "enum": "CRYPT_VERIFY_CERT_SIGN_ISSUER" 19 | }, 20 | { 21 | "name": "pvIssuer", 22 | "type": "" 23 | }, 24 | { 25 | "name": "dwFlags", 26 | "enum": "CRYPT_VERIFY_CERT_SIGN" 27 | }, 28 | { 29 | "name": "pvExtra", 30 | "type": "" 31 | } 32 | ], 33 | "varargs": false 34 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/CryptVerifySignature.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CryptVerifySignature", 3 | "args": [ 4 | { 5 | "name": "hHash", 6 | "type": "" 7 | }, 8 | { 9 | "name": "hPubKey", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "CRYPT_4" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/DeferWindowPos.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "DeferWindowPos", 3 | "args": [ 4 | { 5 | "name": "hWinPosInfo", 6 | "type": "" 7 | }, 8 | { 9 | "name": "hWnd", 10 | "type": "" 11 | }, 12 | { 13 | "name": "hWndInsertAfter", 14 | "type": "" 15 | }, 16 | { 17 | "name": "uFlags", 18 | "enum": "SWP_1" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/DefineDosDevice.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "DefineDosDevice", 3 | "args": [ 4 | { 5 | "name": "dwFlags", 6 | "enum": "DDD" 7 | }, 8 | { 9 | "name": "lpDeviceName", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpTargetPath", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/DeleteMenu.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "DeleteMenu", 3 | "args": [ 4 | { 5 | "name": "hMenu", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uFlags", 10 | "enum": "80379" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/DrawIconEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "DrawIconEx", 3 | "args": [ 4 | { 5 | "name": "hIcon", 6 | "type": "" 7 | }, 8 | { 9 | "name": "diFlags", 10 | "enum": "DI" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/EnableMenuItem.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "EnableMenuItem", 3 | "args": [ 4 | { 5 | "name": "hMenu", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uEnable", 10 | "enum": "MF" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/EnumDependentServices.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "EnumDependentServices", 3 | "args": [ 4 | { 5 | "name": "hService", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwServiceState", 10 | "enum": "SERVICE_3" 11 | }, 12 | { 13 | "name": "lpServices", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pcbBytesNeeded", 18 | "type": "" 19 | }, 20 | { 21 | "name": "lpServicesReturned", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/EnumServicesStatus.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "EnumServicesStatus", 3 | "args": [ 4 | { 5 | "name": "hSCManager", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwServiceType", 10 | "enum": "SERVICE_4" 11 | }, 12 | { 13 | "name": "dwServiceState", 14 | "enum": "SERVICE_3" 15 | }, 16 | { 17 | "name": "lpServices", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pcbBytesNeeded", 22 | "type": "" 23 | }, 24 | { 25 | "name": "lpServicesReturned", 26 | "type": "" 27 | }, 28 | { 29 | "name": "lpResumeHandle", 30 | "type": "" 31 | } 32 | ], 33 | "varargs": false 34 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/EnumServicesStatusEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "EnumServicesStatusEx", 3 | "args": [ 4 | { 5 | "name": "hSCManager", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwServiceType", 10 | "enum": "SERVICE_4" 11 | }, 12 | { 13 | "name": "dwServiceState", 14 | "enum": "SERVICE_3" 15 | }, 16 | { 17 | "name": "lpServices", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pcbBytesNeeded", 22 | "type": "" 23 | }, 24 | { 25 | "name": "lpServicesReturned", 26 | "type": "" 27 | }, 28 | { 29 | "name": "lpResumeHandle", 30 | "type": "" 31 | }, 32 | { 33 | "name": "pszGroupName", 34 | "type": "" 35 | } 36 | ], 37 | "varargs": false 38 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/EraseTape.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "EraseTape", 3 | "args": [ 4 | { 5 | "name": "hDevice", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwEraseType", 10 | "enum": "TAPE_ERASE" 11 | }, 12 | { 13 | "name": "bImmediate", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/EscapeCommFunction.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "EscapeCommFunction", 3 | "args": [ 4 | { 5 | "name": "hFile", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFunc", 10 | "enum": "24418" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ExitWindowsEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ExitWindowsEx", 3 | "args": [ 4 | { 5 | "name": "uFlags", 6 | "enum": "EWX" 7 | }, 8 | { 9 | "name": "dwReason", 10 | "enum": "SHTDN_REASON" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/FindFirstChangeNotification.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "FindFirstChangeNotification", 3 | "args": [ 4 | { 5 | "name": "lpPathName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "bWatchSubtree", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwNotifyFilter", 14 | "enum": "FILE_NOTIFY_CHANGE" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/FormatMessage.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "FormatMessage", 3 | "args": [ 4 | { 5 | "name": "dwFlags", 6 | "enum": "FORMAT_MESSAGE" 7 | }, 8 | { 9 | "name": "lpSource", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpBuffer", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetAddrInfoEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetAddrInfoEx", 3 | "args": [ 4 | { 5 | "name": "pName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "pServiceName", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwNameSpace", 14 | "enum": "NS" 15 | }, 16 | { 17 | "name": "lpNspId", 18 | "type": "" 19 | }, 20 | { 21 | "name": "ppResult", 22 | "type": "" 23 | }, 24 | { 25 | "name": "lpOverlapped", 26 | "type": "" 27 | }, 28 | { 29 | "name": "lpCompletionRoutine", 30 | "type": "" 31 | }, 32 | { 33 | "name": "lpHandle", 34 | "type": "" 35 | } 36 | ], 37 | "varargs": false 38 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetAncestor.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetAncestor", 3 | "args": [ 4 | { 5 | "name": "hwnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "gaFlags", 10 | "enum": "GA" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetAsyncKeyState.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetAsyncKeyState", 3 | "args": [ 4 | { 5 | "name": "vKey", 6 | "enum": "10948" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetFinalPathNameByHandle.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetFinalPathNameByHandle", 3 | "args": [ 4 | { 5 | "name": "hFile", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpszFilePath", 10 | "type": "" 11 | }, 12 | { 13 | "name": "cchFilePath", 14 | "type": "" 15 | }, 16 | { 17 | "name": "dwFlags", 18 | "enum": "28697" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetGuiResources.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetGuiResources", 3 | "args": [ 4 | { 5 | "name": "hProcess", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uiFlags", 10 | "enum": "GR" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetKeyNameText.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetKeyNameText", 3 | "args": [ 4 | { 5 | "name": "lParam", 6 | "enum": "14420" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetMenuDefaultItem.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetMenuDefaultItem", 3 | "args": [ 4 | { 5 | "name": "hMenu", 6 | "type": "" 7 | }, 8 | { 9 | "name": "gmdiFlags", 10 | "enum": "GMDI" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetMenuState.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetMenuState", 3 | "args": [ 4 | { 5 | "name": "hMenu", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uFlags", 10 | "enum": "80379" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetMenuString.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetMenuString", 3 | "args": [ 4 | { 5 | "name": "hMenu", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpString", 10 | "type": "" 11 | }, 12 | { 13 | "name": "cchMax", 14 | "type": "" 15 | }, 16 | { 17 | "name": "flags", 18 | "enum": "80379" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetMessage.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetMessage", 3 | "args": [ 4 | { 5 | "name": "lpMsg", 6 | "type": "" 7 | }, 8 | { 9 | "name": "hWnd", 10 | "type": "" 11 | }, 12 | { 13 | "name": "wMsgFilterMin", 14 | "enum": "16546" 15 | }, 16 | { 17 | "name": "wMsgFilterMax", 18 | "enum": "16546" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetMouseMovePointsEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetMouseMovePointsEx", 3 | "args": [ 4 | { 5 | "name": "lppt", 6 | "enum": "MK" 7 | }, 8 | { 9 | "name": "lpptBuf", 10 | "type": "" 11 | }, 12 | { 13 | "name": "resolution", 14 | "enum": "GMMP_USE" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetNextWindow.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetNextWindow", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "wCmd", 10 | "enum": "15875" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetPriorityClipboardFormat.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetPriorityClipboardFormat", 3 | "args": [ 4 | { 5 | "name": "paFormatPriorityList", 6 | "enum": "CF" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetProcessId.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetProcessId", 3 | "args": [ 4 | { 5 | "name": "Process", 6 | "enum": "PROCESS" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetProcessIdOfThread.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetProcessIdOfThread", 3 | "args": [ 4 | { 5 | "name": "Thread", 6 | "enum": "THREAD" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetRawInputData.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetRawInputData", 3 | "args": [ 4 | { 5 | "name": "hRawInput", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uiCommand", 10 | "enum": "RID" 11 | }, 12 | { 13 | "name": "pData", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pcbSize", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetRawInputDeviceInfo.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetRawInputDeviceInfo", 3 | "args": [ 4 | { 5 | "name": "hDevice", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uiCommand", 10 | "enum": "RIDI" 11 | }, 12 | { 13 | "name": "pData", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pcbSize", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetSysColor.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetSysColor", 3 | "args": [ 4 | { 5 | "name": "nIndex", 6 | "enum": "COLOR" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetSystemMetrics.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetSystemMetrics", 3 | "args": [ 4 | { 5 | "name": "nIndex", 6 | "enum": "SM" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetTapeParameters.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetTapeParameters", 3 | "args": [ 4 | { 5 | "name": "hDevice", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwOperation", 10 | "enum": "GET_TAPE" 11 | }, 12 | { 13 | "name": "lpdwSize", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpTapeInformation", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetTapePosition.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetTapePosition", 3 | "args": [ 4 | { 5 | "name": "hDevice", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwPositionType", 10 | "enum": "TAPE_4" 11 | }, 12 | { 13 | "name": "lpdwPartition", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpdwOffsetLow", 18 | "type": "" 19 | }, 20 | { 21 | "name": "lpdwOffsetHigh", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetThreadId.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetThreadId", 3 | "args": [ 4 | { 5 | "name": "Thread", 6 | "enum": "THREAD" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetUserObjectInformation.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetUserObjectInformation", 3 | "args": [ 4 | { 5 | "name": "hObj", 6 | "type": "" 7 | }, 8 | { 9 | "name": "nIndex", 10 | "enum": "UOI" 11 | }, 12 | { 13 | "name": "pvInfo", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpnLengthNeeded", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetWindow.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetWindow", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uCmd", 10 | "enum": "GW" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetWindowLong.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetWindowLong", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "nIndex", 10 | "enum": "24759" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GetWindowLongPtr.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GetWindowLongPtr", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "nIndex", 10 | "enum": "31825" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GlobalAlloc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GlobalAlloc", 3 | "args": [ 4 | { 5 | "name": "uFlags", 6 | "enum": "14923" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/GlobalReAlloc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GlobalReAlloc", 3 | "args": [ 4 | { 5 | "name": "hMem", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uFlags", 10 | "enum": "GMEM" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/HiliteMenuItem.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "HiliteMenuItem", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "hMenu", 10 | "type": "" 11 | }, 12 | { 13 | "name": "uHilite", 14 | "enum": "MF_3" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/HttpReceiveClientCertificate.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "HttpReceiveClientCertificate", 3 | "args": [ 4 | { 5 | "name": "RequestQueueHandle", 6 | "type": "" 7 | }, 8 | { 9 | "name": "Flags", 10 | "enum": "11148" 11 | }, 12 | { 13 | "name": "SslClientCertInfo", 14 | "type": "" 15 | }, 16 | { 17 | "name": "BytesReceived", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/InetNtop.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "InetNtop", 3 | "args": [ 4 | { 5 | "name": "Family", 6 | "enum": "61063" 7 | }, 8 | { 9 | "name": "pAddr", 10 | "type": "" 11 | }, 12 | { 13 | "name": "pStringBuf", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/InetPton.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "InetPton", 3 | "args": [ 4 | { 5 | "name": "Family", 6 | "enum": "61063" 7 | }, 8 | { 9 | "name": "pszAddrString", 10 | "type": "" 11 | }, 12 | { 13 | "name": "pAddrBuf", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/InsertMenu.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "InsertMenu", 3 | "args": [ 4 | { 5 | "name": "hMenu", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uFlags", 10 | "enum": "MF_1" 11 | }, 12 | { 13 | "name": "lpNewItem", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/InternetAutodial.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "InternetAutodial", 3 | "args": [ 4 | { 5 | "name": "dwFlags", 6 | "enum": "INTERNET_AUTODIAL" 7 | }, 8 | { 9 | "name": "hwndParent", 10 | "type": "" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/IsClipboardFormatAvailable.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "IsClipboardFormatAvailable", 3 | "args": [ 4 | { 5 | "name": "format", 6 | "enum": "CF" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/IsProcessorFeaturePresent.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "IsProcessorFeaturePresent", 3 | "args": [ 4 | { 5 | "name": "ProcessorFeature", 6 | "enum": "PF" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/LoadKeyboardLayout.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "LoadKeyboardLayout", 3 | "args": [ 4 | { 5 | "name": "Flags", 6 | "enum": "KLF" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/LocalAlloc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "LocalAlloc", 3 | "args": [ 4 | { 5 | "name": "uFlags", 6 | "enum": "92305" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/LocalReAlloc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "LocalReAlloc", 3 | "args": [ 4 | { 5 | "name": "hMem", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uFlags", 10 | "enum": "LMEM" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/LockSetForegroundWindow.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "LockSetForegroundWindow", 3 | "args": [ 4 | { 5 | "name": "uLockCode", 6 | "enum": "LSFW" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/LookupIconIdFromDirectoryEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "LookupIconIdFromDirectoryEx", 3 | "args": [ 4 | { 5 | "name": "Flags", 6 | "enum": "LR_1" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/MapViewOfFile3.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MapViewOfFile3", 3 | "args": [ 4 | { 5 | "name": "AllocationType", 6 | "enum": "MEM_2" 7 | }, 8 | { 9 | "name": "ExtendedParameters", 10 | "type": "" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/MapViewOfFile3FromApp.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MapViewOfFile3FromApp", 3 | "args": [ 4 | { 5 | "name": "AllocationType", 6 | "enum": "MEM_2" 7 | }, 8 | { 9 | "name": "ExtendedParameters", 10 | "type": "" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/MapViewOfFileExNuma.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MapViewOfFileExNuma", 3 | "args": [ 4 | { 5 | "name": "hFileMappingObject", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpBaseAddress", 10 | "type": "" 11 | }, 12 | { 13 | "name": "nndPreferred", 14 | "enum": "13080" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/MapVirtualKey.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MapVirtualKey", 3 | "args": [ 4 | { 5 | "name": "uCode", 6 | "enum": "10948" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/MapVirtualKeyEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MapVirtualKeyEx", 3 | "args": [ 4 | { 5 | "name": "uCode", 6 | "enum": "10948" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/MessageBeep.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MessageBeep", 3 | "args": [ 4 | { 5 | "name": "uType", 6 | "enum": "MB" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/MessageBox.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MessageBox", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpText", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpCaption", 14 | "type": "" 15 | }, 16 | { 17 | "name": "uType", 18 | "enum": "MB_1" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ModifyMenu.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ModifyMenu", 3 | "args": [ 4 | { 5 | "name": "hMnu", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uFlags", 10 | "enum": "MF_1" 11 | }, 12 | { 13 | "name": "lpNewItem", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/MonitorFromPoint.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MonitorFromPoint", 3 | "args": [ 4 | { 5 | "name": "dwFlags", 6 | "enum": "25255" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/MoveFileEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MoveFileEx", 3 | "args": [ 4 | { 5 | "name": "lpExistingFileName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpNewFileName", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "MOVEFILE" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/MoveFileTransacted.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MoveFileTransacted", 3 | "args": [ 4 | { 5 | "name": "lpExistingFileName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpNewFileName", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpProgressRoutine", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpData", 18 | "type": "" 19 | }, 20 | { 21 | "name": "dwFlags", 22 | "enum": "MOVEFILE_1" 23 | }, 24 | { 25 | "name": "hTransaction", 26 | "type": "" 27 | } 28 | ], 29 | "varargs": false 30 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/MsgWaitForMultipleObjectsEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MsgWaitForMultipleObjectsEx", 3 | "args": [ 4 | { 5 | "name": "pHandles", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFlags", 10 | "enum": "MWMO" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/NotifyServiceStatusChange.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "NotifyServiceStatusChange", 3 | "args": [ 4 | { 5 | "name": "hService", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwNotifyMask", 10 | "enum": "SERVICE_NOTIFY" 11 | }, 12 | { 13 | "name": "pNotifyBuffer", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/NotifyWinEvent.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "NotifyWinEvent", 3 | "args": [ 4 | { 5 | "name": "event", 6 | "enum": "55127" 7 | }, 8 | { 9 | "name": "hwnd", 10 | "type": "" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/OpenCommPort.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "OpenCommPort", 3 | "args": [ 4 | { 5 | "name": "dwFlagsAndAttributes", 6 | "enum": "73346" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/OpenDesktop.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "OpenDesktop", 3 | "args": [ 4 | { 5 | "name": "lpszDesktop", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFlags", 10 | "enum": "23806" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/OpenEncryptedFileRaw.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "OpenEncryptedFileRaw", 3 | "args": [ 4 | { 5 | "name": "lpFileName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "ulFlags", 10 | "enum": "88253" 11 | }, 12 | { 13 | "name": "pvContext", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/OpenFile.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "OpenFile", 3 | "args": [ 4 | { 5 | "name": "lpFileName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpReOpenBuff", 10 | "type": "" 11 | }, 12 | { 13 | "name": "uStyle", 14 | "enum": "OF" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/OpenFileById.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "OpenFileById", 3 | "args": [ 4 | { 5 | "name": "hVolumeHint", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpFileId", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwShareMode", 14 | "enum": "FILE_SHARE_1" 15 | }, 16 | { 17 | "name": "lpSecurityAttributes", 18 | "type": "" 19 | }, 20 | { 21 | "name": "dwFlagsAndAttributes", 22 | "enum": "FILE_FLAG" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/OpenInputDesktop.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "OpenInputDesktop", 3 | "args": [ 4 | { 5 | "name": "dwFlags", 6 | "enum": "23806" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/OpenJobObject.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "OpenJobObject", 3 | "args": [ 4 | { 5 | "name": "dwDesiredAccess", 6 | "enum": "JOB_OBJECT" 7 | }, 8 | { 9 | "name": "bInheritHandle", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpName", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/OpenProcess.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "OpenProcess", 3 | "args": [ 4 | { 5 | "name": "dwDesiredAccess", 6 | "enum": "PROCESS" 7 | }, 8 | { 9 | "name": "bInheritHandle", 10 | "type": "" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/OpenThread.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "OpenThread", 3 | "args": [ 4 | { 5 | "name": "dwDesiredAccess", 6 | "enum": "THREAD" 7 | }, 8 | { 9 | "name": "bInheritHandle", 10 | "type": "" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/OpenWindowStation.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "OpenWindowStation", 3 | "args": [ 4 | { 5 | "name": "lpszWinSta", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwDesiredAccess", 10 | "enum": "18573" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/PFXExportCertStoreEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "PFXExportCertStoreEx", 3 | "args": [ 4 | { 5 | "name": "hStore", 6 | "type": "" 7 | }, 8 | { 9 | "name": "pPFX", 10 | "type": "" 11 | }, 12 | { 13 | "name": "pvPara", 14 | "type": "" 15 | }, 16 | { 17 | "name": "dwFlags", 18 | "enum": "91490" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/PFXImportCertStore.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "PFXImportCertStore", 3 | "args": [ 4 | { 5 | "name": "pPFX", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFlags", 10 | "enum": "CRYPT_8" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/PeekMessage.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "PeekMessage", 3 | "args": [ 4 | { 5 | "name": "lpMsg", 6 | "type": "" 7 | }, 8 | { 9 | "name": "hWnd", 10 | "type": "" 11 | }, 12 | { 13 | "name": "wRemoveMsg", 14 | "enum": "PM" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/PrepareTape.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "PrepareTape", 3 | "args": [ 4 | { 5 | "name": "hDevice", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwOperation", 10 | "enum": "TAPE_3" 11 | }, 12 | { 13 | "name": "bImmediate", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/PurgeComm.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "PurgeComm", 3 | "args": [ 4 | { 5 | "name": "hFile", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFlags", 10 | "enum": "PURGE" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/QueryDisplayConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "QueryDisplayConfig", 3 | "args": [ 4 | { 5 | "name": "flags", 6 | "enum": "QDC" 7 | }, 8 | { 9 | "name": "numPathArrayElements", 10 | "type": "" 11 | }, 12 | { 13 | "name": "pathArray", 14 | "type": "" 15 | }, 16 | { 17 | "name": "numModeInfoArrayElements", 18 | "type": "" 19 | }, 20 | { 21 | "name": "modeInfoArray", 22 | "type": "" 23 | }, 24 | { 25 | "name": "currentTopologyId", 26 | "type": "" 27 | } 28 | ], 29 | "varargs": false 30 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/QueryFullProcessImageName.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "QueryFullProcessImageName", 3 | "args": [ 4 | { 5 | "name": "hProcess", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFlags", 10 | "enum": "29827" 11 | }, 12 | { 13 | "name": "lpExeName", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpdwSize", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/QueryServiceConfig2.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "QueryServiceConfig2", 3 | "args": [ 4 | { 5 | "name": "hService", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwInfoLevel", 10 | "enum": "SERVICE_CONFIG" 11 | }, 12 | { 13 | "name": "lpBuffer", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pcbBytesNeeded", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ReOpenFile.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ReOpenFile", 3 | "args": [ 4 | { 5 | "name": "hOriginalFile", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwShareMode", 10 | "enum": "FILE_SHARE_1" 11 | }, 12 | { 13 | "name": "dwFlagsAndAttributes", 14 | "enum": "FILE_FLAG_1" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ReadDirectoryChanges.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ReadDirectoryChanges", 3 | "args": [ 4 | { 5 | "name": "hDirectory", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpBuffer", 10 | "type": "" 11 | }, 12 | { 13 | "name": "bWatchSubtree", 14 | "type": "" 15 | }, 16 | { 17 | "name": "dwNotifyFilter", 18 | "enum": "FILE_NOTIFY_CHANGE_1" 19 | }, 20 | { 21 | "name": "lpBytesReturned", 22 | "type": "" 23 | }, 24 | { 25 | "name": "lpOverlapped", 26 | "type": "" 27 | }, 28 | { 29 | "name": "lpCompletionRoutine", 30 | "type": "" 31 | } 32 | ], 33 | "varargs": false 34 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ReadDirectoryChangesEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ReadDirectoryChangesEx", 3 | "args": [ 4 | { 5 | "name": "hDirectory", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpBuffer", 10 | "type": "" 11 | }, 12 | { 13 | "name": "bWatchSubtree", 14 | "type": "" 15 | }, 16 | { 17 | "name": "dwNotifyFilter", 18 | "enum": "FILE_NOTIFY_CHANGE_1" 19 | }, 20 | { 21 | "name": "lpBytesReturned", 22 | "type": "" 23 | }, 24 | { 25 | "name": "lpOverlapped", 26 | "type": "" 27 | }, 28 | { 29 | "name": "lpCompletionRoutine", 30 | "type": "" 31 | } 32 | ], 33 | "varargs": false 34 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ReadEventLog.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ReadEventLog", 3 | "args": [ 4 | { 5 | "name": "hEventLog", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwReadFlags", 10 | "enum": "EVENTLOG" 11 | }, 12 | { 13 | "name": "lpBuffer", 14 | "type": "" 15 | }, 16 | { 17 | "name": "pnBytesRead", 18 | "type": "" 19 | }, 20 | { 21 | "name": "pnMinNumberOfBytesNeeded", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ReadThreadProfilingData.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ReadThreadProfilingData", 3 | "args": [ 4 | { 5 | "name": "PerformanceDataHandle", 6 | "type": "" 7 | }, 8 | { 9 | "name": "Flags", 10 | "enum": "READ_THREAD_PROFILING_FLAG" 11 | }, 12 | { 13 | "name": "PerformanceData", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/RegisterApplicationRestart.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RegisterApplicationRestart", 3 | "args": [ 4 | { 5 | "name": "dwFlags", 6 | "enum": "RESTART_NO" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/RegisterDeviceNotification.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RegisterDeviceNotification", 3 | "args": [ 4 | { 5 | "name": "hRecipient", 6 | "type": "" 7 | }, 8 | { 9 | "name": "Flags", 10 | "enum": "DEVICE_NOTIFY" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/RegisterHotKey.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RegisterHotKey", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "fsModifiers", 10 | "enum": "MOD" 11 | }, 12 | { 13 | "name": "vk", 14 | "enum": "10948" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/RegisterPowerSettingNotification.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RegisterPowerSettingNotification", 3 | "args": [ 4 | { 5 | "name": "hRecipient", 6 | "type": "" 7 | }, 8 | { 9 | "name": "Flags", 10 | "enum": "DEVICE_NOTIFY_1" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/RegisterWaitForSingleObject.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RegisterWaitForSingleObject", 3 | "args": [ 4 | { 5 | "name": "phNewWaitObject", 6 | "type": "" 7 | }, 8 | { 9 | "name": "hObject", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "WT" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/RemoveMenu.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RemoveMenu", 3 | "args": [ 4 | { 5 | "name": "hMenu", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uFlags", 10 | "enum": "80379" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ReportEvent.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ReportEvent", 3 | "args": [ 4 | { 5 | "name": "hEventLog", 6 | "type": "" 7 | }, 8 | { 9 | "name": "wType", 10 | "enum": "EVENTLOG_1" 11 | }, 12 | { 13 | "name": "lpUserSid", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpStrings", 18 | "type": "" 19 | }, 20 | { 21 | "name": "lpRawData", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/RequestWakeupLatency.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RequestWakeupLatency", 3 | "args": [ 4 | { 5 | "name": "latency", 6 | "enum": "LT" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ScrollWindow.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ScrollWindow", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "XAmount", 10 | "enum": "CS" 11 | }, 12 | { 13 | "name": "YAmount", 14 | "enum": "CS" 15 | }, 16 | { 17 | "name": "lpRect", 18 | "type": "" 19 | }, 20 | { 21 | "name": "lpClipRect", 22 | "type": "" 23 | } 24 | ], 25 | "varargs": false 26 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SendMessageTimeout.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SendMessageTimeout", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "fuFlags", 10 | "enum": "SMTO" 11 | }, 12 | { 13 | "name": "lpdwResult", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetClipboardData.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetClipboardData", 3 | "args": [ 4 | { 5 | "name": "uFormat", 6 | "enum": "CF" 7 | }, 8 | { 9 | "name": "hMem", 10 | "type": "" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetCoalescableTimer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetCoalescableTimer", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpTimerFunc", 10 | "type": "" 11 | }, 12 | { 13 | "name": "uToleranceDelay", 14 | "enum": "TIMERV" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetCommMask.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetCommMask", 3 | "args": [ 4 | { 5 | "name": "hFile", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwEvtMask", 10 | "enum": "EV" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetDisplayConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetDisplayConfig", 3 | "args": [ 4 | { 5 | "name": "flags", 6 | "enum": "SDC" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetFileAttributes.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetFileAttributes", 3 | "args": [ 4 | { 5 | "name": "lpFileName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFileAttributes", 10 | "enum": "FILE_ATTRIBUTE" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetFileAttributesTransacted.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetFileAttributesTransacted", 3 | "args": [ 4 | { 5 | "name": "lpFileName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFileAttributes", 10 | "enum": "FILE_ATTRIBUTE_1" 11 | }, 12 | { 13 | "name": "hTransaction", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetFileCompletionNotificationModes.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetFileCompletionNotificationModes", 3 | "args": [ 4 | { 5 | "name": "FileHandle", 6 | "type": "" 7 | }, 8 | { 9 | "name": "Flags", 10 | "enum": "FILE_SKIP" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetFilePointer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetFilePointer", 3 | "args": [ 4 | { 5 | "name": "hFile", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpDistanceToMoveHigh", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwMoveMethod", 14 | "enum": "FILE" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetFilePointerEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetFilePointerEx", 3 | "args": [ 4 | { 5 | "name": "hFile", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpNewFilePointer", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwMoveMethod", 14 | "enum": "FILE" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetFirmwareEnvironmentVariableEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetFirmwareEnvironmentVariableEx", 3 | "args": [ 4 | { 5 | "name": "lpName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpGuid", 10 | "type": "" 11 | }, 12 | { 13 | "name": "pValue", 14 | "type": "" 15 | }, 16 | { 17 | "name": "dwAttributes", 18 | "enum": "VARIABLE_ATTRIBUTE" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetLayeredWindowAttributes.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetLayeredWindowAttributes", 3 | "args": [ 4 | { 5 | "name": "hwnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "bAlpha", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFlags", 14 | "enum": "LWA" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetMenuItemBitmaps.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetMenuItemBitmaps", 3 | "args": [ 4 | { 5 | "name": "hMenu", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uFlags", 10 | "enum": "80379" 11 | }, 12 | { 13 | "name": "hBitmapUnchecked", 14 | "type": "" 15 | }, 16 | { 17 | "name": "hBitmapChecked", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetPriorityClass.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetPriorityClass", 3 | "args": [ 4 | { 5 | "name": "hProcess", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwPriorityClass", 10 | "enum": "31777" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetProcessDEPPolicy.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetProcessDEPPolicy", 3 | "args": [ 4 | { 5 | "name": "dwFlags", 6 | "enum": "PROCESS_DEP" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetProcessDefaultLayout.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetProcessDefaultLayout", 3 | "args": [ 4 | { 5 | "name": "dwDefaultLayout", 6 | "enum": "29363" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetProcessShutdownParameters.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetProcessShutdownParameters", 3 | "args": [ 4 | { 5 | "name": "dwFlags", 6 | "enum": "14079" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetProcessValidCallTargets.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetProcessValidCallTargets", 3 | "args": [ 4 | { 5 | "name": "hProcess", 6 | "type": "" 7 | }, 8 | { 9 | "name": "VirtualAddress", 10 | "enum": "PAGE" 11 | }, 12 | { 13 | "name": "OffsetInformation", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetProcessWorkingSetSizeEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetProcessWorkingSetSizeEx", 3 | "args": [ 4 | { 5 | "name": "hProcess", 6 | "type": "" 7 | }, 8 | { 9 | "name": "Flags", 10 | "enum": "83057" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetSearchPathMode.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetSearchPathMode", 3 | "args": [ 4 | { 5 | "name": "Flags", 6 | "enum": "BASE_SEARCH_PATH" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetSystemFileCacheSize.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetSystemFileCacheSize", 3 | "args": [ 4 | { 5 | "name": "Flags", 6 | "enum": "99072" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetTapeParameters.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetTapeParameters", 3 | "args": [ 4 | { 5 | "name": "hDevice", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwOperation", 10 | "enum": "SET_TAPE" 11 | }, 12 | { 13 | "name": "lpTapeInformation", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetTapePosition.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetTapePosition", 3 | "args": [ 4 | { 5 | "name": "hDevice", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwPositionMethod", 10 | "enum": "TAPE_1" 11 | }, 12 | { 13 | "name": "bImmediate", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetThreadExecutionState.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetThreadExecutionState", 3 | "args": [ 4 | { 5 | "name": "esFlags", 6 | "enum": "ES" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetThreadPriority.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetThreadPriority", 3 | "args": [ 4 | { 5 | "name": "hThread", 6 | "type": "" 7 | }, 8 | { 9 | "name": "nPriority", 10 | "enum": "THREAD_1" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetUserObjectInformation.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetUserObjectInformation", 3 | "args": [ 4 | { 5 | "name": "hObj", 6 | "type": "" 7 | }, 8 | { 9 | "name": "nIndex", 10 | "enum": "UOI_1" 11 | }, 12 | { 13 | "name": "pvInfo", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetWinEventHook.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetWinEventHook", 3 | "args": [ 4 | { 5 | "name": "eventMin", 6 | "enum": "55127" 7 | }, 8 | { 9 | "name": "eventMax", 10 | "enum": "55127" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetWindowDisplayAffinity.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetWindowDisplayAffinity", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwAffinity", 10 | "enum": "WDA" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetWindowLong.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetWindowLong", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "nIndex", 10 | "enum": "24759" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetWindowLongPtr.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetWindowLongPtr", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "nIndex", 10 | "enum": "31825" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetWindowPos.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetWindowPos", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "hWndInsertAfter", 10 | "type": "" 11 | }, 12 | { 13 | "name": "uFlags", 14 | "enum": "SWP" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SetWindowsHookEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SetWindowsHookEx", 3 | "args": [ 4 | { 5 | "name": "idHook", 6 | "enum": "WH" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/SystemParametersInfo.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SystemParametersInfo", 3 | "args": [ 4 | { 5 | "name": "uiAction", 6 | "enum": "SPI" 7 | }, 8 | { 9 | "name": "pvParam", 10 | "type": "" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/TileWindows.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TileWindows", 3 | "args": [ 4 | { 5 | "name": "hwndParent", 6 | "type": "" 7 | }, 8 | { 9 | "name": "wHow", 10 | "enum": "MDITILE_1" 11 | }, 12 | { 13 | "name": "lpRect", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpKids", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ToAscii.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ToAscii", 3 | "args": [ 4 | { 5 | "name": "uVirtKey", 6 | "enum": "10948" 7 | }, 8 | { 9 | "name": "lpKeyState", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpChar", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ToAsciiEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ToAsciiEx", 3 | "args": [ 4 | { 5 | "name": "uVirtKey", 6 | "enum": "10948" 7 | }, 8 | { 9 | "name": "lpKeyState", 10 | "type": "" 11 | }, 12 | { 13 | "name": "lpChar", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ToUnicode.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ToUnicode", 3 | "args": [ 4 | { 5 | "name": "wVirtKey", 6 | "enum": "10948" 7 | }, 8 | { 9 | "name": "lpKeyState", 10 | "type": "" 11 | }, 12 | { 13 | "name": "pwszBuff", 14 | "type": "" 15 | }, 16 | { 17 | "name": "cchBuff", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/ToUnicodeEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ToUnicodeEx", 3 | "args": [ 4 | { 5 | "name": "wVirtKey", 6 | "enum": "10948" 7 | }, 8 | { 9 | "name": "lpKeyState", 10 | "type": "" 11 | }, 12 | { 13 | "name": "pwszBuff", 14 | "type": "" 15 | }, 16 | { 17 | "name": "cchBuff", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/TrackPopupMenu.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TrackPopupMenu", 3 | "args": [ 4 | { 5 | "name": "hMenu", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uFlags", 10 | "enum": "TPM" 11 | }, 12 | { 13 | "name": "hWnd", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/TrackPopupMenuEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TrackPopupMenuEx", 3 | "args": [ 4 | { 5 | "name": "hMenu", 6 | "type": "" 7 | }, 8 | { 9 | "name": "uFlags", 10 | "enum": "TPM_2" 11 | }, 12 | { 13 | "name": "hwnd", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/UnmapViewOfFile2.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "UnmapViewOfFile2", 3 | "args": [ 4 | { 5 | "name": "UnmapFlags", 6 | "enum": "MEM_4" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/UnmapViewOfFileEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "UnmapViewOfFileEx", 3 | "args": [ 4 | { 5 | "name": "UnmapFlags", 6 | "enum": "MEM_4" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/UpdateLayeredWindow.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "UpdateLayeredWindow", 3 | "args": [ 4 | { 5 | "name": "hWnd", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFlags", 10 | "enum": "ULW" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/VerifyVersionInfo.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VerifyVersionInfo", 3 | "args": [ 4 | { 5 | "name": "lpVersionInformation", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwTypeMask", 10 | "enum": "VER" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/VirtualAlloc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VirtualAlloc", 3 | "args": [ 4 | { 5 | "name": "lpAddress", 6 | "type": "" 7 | }, 8 | { 9 | "name": "flAllocationType", 10 | "enum": "MEM" 11 | }, 12 | { 13 | "name": "flProtect", 14 | "enum": "PAGE" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/VirtualAlloc2.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VirtualAlloc2", 3 | "args": [ 4 | { 5 | "name": "Process", 6 | "enum": "PROCESS" 7 | }, 8 | { 9 | "name": "AllocationType", 10 | "enum": "MEM_5" 11 | }, 12 | { 13 | "name": "PageProtection", 14 | "enum": "PAGE" 15 | }, 16 | { 17 | "name": "ExtendedParameters", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/VirtualAlloc2FromApp.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VirtualAlloc2FromApp", 3 | "args": [ 4 | { 5 | "name": "Process", 6 | "enum": "PROCESS" 7 | }, 8 | { 9 | "name": "AllocationType", 10 | "enum": "MEM_6" 11 | }, 12 | { 13 | "name": "PageProtection", 14 | "enum": "PAGE" 15 | }, 16 | { 17 | "name": "ExtendedParameters", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/VirtualAllocEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VirtualAllocEx", 3 | "args": [ 4 | { 5 | "name": "hProcess", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpAddress", 10 | "type": "" 11 | }, 12 | { 13 | "name": "flAllocationType", 14 | "enum": "MEM_1" 15 | }, 16 | { 17 | "name": "flProtect", 18 | "enum": "PAGE" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/VirtualAllocExNuma.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VirtualAllocExNuma", 3 | "args": [ 4 | { 5 | "name": "hProcess", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpAddress", 10 | "type": "" 11 | }, 12 | { 13 | "name": "flAllocationType", 14 | "enum": "MEM_1" 15 | }, 16 | { 17 | "name": "flProtect", 18 | "enum": "PAGE" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/VirtualAllocFromApp.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VirtualAllocFromApp", 3 | "args": [ 4 | { 5 | "name": "AllocationType", 6 | "enum": "MEM" 7 | }, 8 | { 9 | "name": "Protection", 10 | "enum": "PAGE" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/VirtualFree.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VirtualFree", 3 | "args": [ 4 | { 5 | "name": "lpAddress", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFreeType", 10 | "enum": "MEM_3" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/VirtualFreeEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VirtualFreeEx", 3 | "args": [ 4 | { 5 | "name": "hProcess", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpAddress", 10 | "type": "" 11 | }, 12 | { 13 | "name": "dwFreeType", 14 | "enum": "MEM_3" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/VirtualProtect.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VirtualProtect", 3 | "args": [ 4 | { 5 | "name": "lpAddress", 6 | "type": "" 7 | }, 8 | { 9 | "name": "flNewProtect", 10 | "enum": "PAGE" 11 | }, 12 | { 13 | "name": "lpflOldProtect", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/VirtualProtectEx.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VirtualProtectEx", 3 | "args": [ 4 | { 5 | "name": "hProcess", 6 | "type": "" 7 | }, 8 | { 9 | "name": "lpAddress", 10 | "type": "" 11 | }, 12 | { 13 | "name": "flNewProtect", 14 | "enum": "PAGE" 15 | }, 16 | { 17 | "name": "lpflOldProtect", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/VirtualProtectFromApp.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VirtualProtectFromApp", 3 | "args": [ 4 | { 5 | "name": "NewProtection", 6 | "enum": "PAGE" 7 | }, 8 | { 9 | "name": "OldProtection", 10 | "type": "" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/WSALookupServiceBegin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "WSALookupServiceBegin", 3 | "args": [ 4 | { 5 | "name": "dwControlFlags", 6 | "enum": "LUP" 7 | }, 8 | { 9 | "name": "lphLookup", 10 | "type": "" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/WSALookupServiceNext.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "WSALookupServiceNext", 3 | "args": [ 4 | { 5 | "name": "hLookup", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwControlFlags", 10 | "enum": "LUP" 11 | }, 12 | { 13 | "name": "lpdwBufferLength", 14 | "type": "" 15 | }, 16 | { 17 | "name": "lpqsResults", 18 | "type": "" 19 | } 20 | ], 21 | "varargs": false 22 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/WSASocket.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "WSASocket", 3 | "args": [ 4 | { 5 | "name": "af", 6 | "enum": "AF" 7 | }, 8 | { 9 | "name": "type", 10 | "enum": "SOCK" 11 | }, 12 | { 13 | "name": "protocol", 14 | "enum": "16386" 15 | }, 16 | { 17 | "name": "lpProtocolInfo", 18 | "type": "" 19 | }, 20 | { 21 | "name": "g", 22 | "enum": "SG" 23 | }, 24 | { 25 | "name": "dwFlags", 26 | "enum": "WSA_FLAG" 27 | } 28 | ], 29 | "varargs": false 30 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/WaitNamedPipe.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "WaitNamedPipe", 3 | "args": [ 4 | { 5 | "name": "lpNamedPipeName", 6 | "type": "" 7 | }, 8 | { 9 | "name": "nTimeOut", 10 | "enum": "NMPWAIT_1" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/WinHttpResetAutoProxy.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "WinHttpResetAutoProxy", 3 | "args": [ 4 | { 5 | "name": "hSession", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwFlags", 10 | "enum": "WINHTTP_RESET" 11 | } 12 | ], 13 | "varargs": false 14 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/WriteTapemark.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "WriteTapemark", 3 | "args": [ 4 | { 5 | "name": "hDevice", 6 | "type": "" 7 | }, 8 | { 9 | "name": "dwTapemarkType", 10 | "enum": "TAPE" 11 | }, 12 | { 13 | "name": "bImmediate", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/getsockopt.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getsockopt", 3 | "args": [ 4 | { 5 | "name": "level", 6 | "enum": "21353" 7 | }, 8 | { 9 | "name": "optval", 10 | "type": "" 11 | }, 12 | { 13 | "name": "optlen", 14 | "type": "" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/shutdown.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shutdown", 3 | "args": [ 4 | { 5 | "name": "how", 6 | "enum": "SD" 7 | } 8 | ], 9 | "varargs": false 10 | } -------------------------------------------------------------------------------- /plugin/enumlib/data/windows/functions/socket.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "socket", 3 | "args": [ 4 | { 5 | "name": "af", 6 | "enum": "AF" 7 | }, 8 | { 9 | "name": "type", 10 | "enum": "SOCK" 11 | }, 12 | { 13 | "name": "protocol", 14 | "enum": "16386" 15 | } 16 | ], 17 | "varargs": false 18 | } -------------------------------------------------------------------------------- /plugin/ida-plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "IDAMetadataDescriptorVersion": 1, 3 | "plugin" : 4 | { 5 | "name" : "Auto-Enum", 6 | "entryPoint" : "auto_enum.py" 7 | } 8 | } --------------------------------------------------------------------------------