fesily
fesily
## 必要性 大项目中,当前的hook event,会导致大量的cpu浪费,较为明显的减缓整体的运行水平. 使用`中断`指令会近乎为零的开销. ## 调试器现实 [devCAT.lua-debug](https://marketplace.visualstudio.com/items?itemName=devCAT.lua-debug)区别了`中断模式`和`纯lua模式` ```lua if debug.sethalt then breaker = createHaltBreaker() breakerType = 'halt' else breaker = createPureBreaker() breakerType = 'pure' end ``` ## 路线图 1....
```lua require "luadebug" : start "@/Users/apple/func/typescripttolua_test/out/debug.sock" :event "wait" local co =coroutine.create(function() coroutine.yield() end) coroutine.resume(co) coroutine.resume(co) ```
### How are you using the lua-language-server? Visual Studio Code Extension (sumneko.lua) ### Which OS are you using? MacOS ### What is the issue affecting? Libraries ### Expected Behaviour ```lua...
用来标记该函数是抛出异常,永远不返回. 当前内建只支持了函数error typescript keyword `never` ```typescript function fail(message: string): never { throw new Error(message); } ``` or c++ attributue `noreturn` ```c++ [[ noreturn ]] void f() { throw "error"; }...
延迟绑定launcher,为了之后可以把frida模块改成动态库,让luadebug中可以使用,而不必使用两份frida代码在一个进程内
signature两个配置module和version,module需要用户填写,version自动从luaVersion字段读取 将attach的luaversion默认设置为unknown,允许launcher自动判断版本 ~将luadbug和launcher添加为module黑名单~ 将调试器目录下的所有module为黑名单
特征码模块
- [x] launcher加入配置文件 - [x] 特征码扫描 - [x] luadebug导入表修复 - [ ] 测试 --- 配置文件: - [x] 文件路径为`plugins/tmp/ipc_{pid}_config` - [x] json格式 ```json { "version":"5.4", //强制版本号 "module":"path", //指定哪个模块为lua "functions":{ // 函数的特征码...
I always run into install abort, at this point Windows will not respond and the driver will just return a semaphore timeout, which is all fine. The cause of this...
I used `-DCMAKE_TOOLCHAIN_FILE=/Users/apple/vcpkg/scripts/buildsystems/vcpkg.cmake` CMakeLists.txt add `find_package(OpenSSL REQUIRED)` will stack overflow ```log /Users/apple/vcpkg/installed/arm64-osx/share/openssl/vcpkg-cmake-wrapper.cmake:37 (_find_package) /Users/apple/vcpkg/scripts/buildsystems/vcpkg.cmake:788 (include) /Users/apple/vcpkg/installed/arm64-osx/share/openssl/vcpkg-cmake-wrapper.cmake:37 (_find_package) /Users/apple/vcpkg/scripts/buildsystems/vcpkg.cmake:788 (include) /Users/apple/vcpkg/installed/arm64-osx/share/openssl/vcpkg-cmake-wrapper.cmake:37 (_find_package) /Users/apple/vcpkg/scripts/buildsystems/vcpkg.cmake:788 (include) /Users/apple/vcpkg/installed/arm64-osx/share/openssl/vcpkg-cmake-wrapper.cmake:37 (_find_package) /Users/apple/vcpkg/scripts/buildsystems/vcpkg.cmake:788 (include) /Users/apple/vcpkg/installed/arm64-osx/share/openssl/vcpkg-cmake-wrapper.cmake:37 (_find_package) /Users/apple/vcpkg/scripts/buildsystems/vcpkg.cmake:788...