? isexe@2.0.0
? iterator.prototype@1.1.5
? js-tokens@4.0.0
? js-yaml@4.2.0
? json-buffer@3.0.1
? json-parse-better-errors@1.0.2
? json-schema-traverse@0.4.1
? json-stable-stringify-without-jsonify@1.0.1
? json5@1.0.2
? jsx-ast-utils@3.3.5
? keyv@4.5.4
? levn@0.4.1
? load-json-file@5.3.0
? locate-path@6.0.0
? locate-path@3.0.0
? lodash.merge@4.6.2
? loose-envify@1.4.0
? math-intrinsics@1.1.0
? mimic-response@3.1.0
? minimatch@3.1.5
? minimatch@10.2.4
? minimatch@10.2.5
? minimatch@10.2.5
? minimatch@10.0.2
? minimist@1.2.8
? mkdirp-classic@0.5.3
? ms@2.1.3
? napi-build-utils@2.0.0
? natural-compare@1.4.0
? node-abi@3.75.0
? node-exports-info@1.6.0
? object-assign@4.1.1
? object-inspect@1.13.4
? object-keys@1.1.1
? object.assign@4.1.7
? object.entries@1.1.9
? object.fromentries@2.0.8
? object.groupby@1.0.3
? object.values@1.2.1
? once@1.4.0
? optionator@0.9.4
? own-keys@1.0.1
? p-limit@3.1.0
? p-limit@2.3.0
? p-locate@5.0.0
? p-locate@3.0.0
? p-try@2.2.0
? parent-module@1.0.1
? parse-json@4.0.0
? path-exists@4.0.0
? path-exists@3.0.0
? path-is-absolute@1.0.1
? path-key@3.1.1
? path-parse@1.0.7
? picomatch@4.0.4
? pify@4.0.1
? pkg-conf@3.1.0
? possible-typed-array-names@1.1.0
? prebuild-install@7.1.3
? prelude-ls@1.2.1
? prop-types@15.8.1
? pump@3.0.2
? punycode@2.3.1
? queue-microtask@1.2.3
? rc@1.2.8
? react-is@16.13.1
? readable-stream@3.6.2
? reflect.getprototypeof@1.0.10
? regexp.prototype.flags@1.5.4
? regexpp@3.2.0
? resolve@1.22.10
? resolve@2.0.0-next.6
? resolve@2.0.0-next.6
? resolve-from@4.0.0
? reusify@1.0.4
? rimraf@3.0.2
? run-parallel@1.2.0
? safe-array-concat@1.1.3
? safe-buffer@5.2.1
? safe-push-apply@1.0.0
? safe-regex-test@1.1.0
? semistandard@17.0.0
? semver@7.7.3
? semver@6.3.1
? semver@6.3.1
? set-function-length@1.2.2
? set-function-name@2.0.2
? set-proto@1.0.0
? shebang-command@2.0.0
? shebang-regex@3.0.0
? side-channel@1.1.0
? side-channel-list@1.0.0
? side-channel-map@1.0.1
? side-channel-weakmap@1.0.2
? simple-concat@1.0.1
? simple-get@4.0.1
? standard-engine@15.1.0
? stop-iteration-iterator@1.1.0
? string.prototype.matchall@4.0.12
? string.prototype.repeat@1.0.0
? string.prototype.trim@1.2.10
? string.prototype.trimend@1.0.9
? string.prototype.trimstart@1.0.8
? string_decoder@1.3.0
? strip-ansi@6.0.1
? strip-bom@3.0.0
? strip-json-comments@3.1.1
? strip-json-comments@2.0.1
? supports-color@7.2.0
? supports-preserve-symlinks-flag@1.0.0
? tar-fs@2.1.4
? tar-stream@2.2.0
? text-table@0.2.0
? tinyglobby@0.2.17
? ts-api-utils@2.5.0
? tsconfig-paths@3.15.0
? tunnel-agent@0.6.0
? type-check@0.4.0
? type-fest@0.20.2
? type-fest@0.3.1
? typed-array-buffer@1.0.3
? typed-array-byte-length@1.0.3
? typed-array-byte-offset@1.0.4
? typed-array-length@1.0.7
? typescript@6.0.3
? unbox-primitive@1.1.0
? undici-types@7.19.2
? uri-js@4.4.1
? util-deprecate@1.0.2
? which@2.0.2
? which-boxed-primitive@1.1.1
? which-builtin-type@1.2.1
? which-collection@1.0.2
? which-typed-array@1.1.19
? word-wrap@1.2.5
? wrappy@1.0.2
? xdg-basedir@4.0.0
? yocto-queue@0.1.0
359 packages installed into /root/.local/share/radare2/r2pm/git/r2frida
R2PM_OFFLINE=1 r2pm -r src/r2frida-compile -H src/_agent.h -o src/_agent.js -Sc src/agent/index.ts ||
src/r2frida-compile -H src/_agent.h -o src/_agent.js -Sc src/agent/index.ts
test -s src/_agent.js || rm -f src/_agent.js
test -s src/_agent.js || ( rm -f src/_agent.js && make src/_agent.js )
test -s src/_agent.js || exit 1
[ -f src/_agent.h ] || (echo Running r2; r2 -NNnfqcpc src/_agent.js | grep 0x > src/_agent.h)
cc -c -DFRIDA_VERSION_STRING="17.15.1" -DFRIDA_VERSION_MAJOR=17 -DR2FRIDA_VERSION_STRING="6.1.8" -fPIC -Wall -Werror -g -I/usr/local/include/libr -DWANT_SESSION_DEBUGGER=1 -Iext/frida src/io_frida.c -o src/io_frida.o
src/io_frida.c: In function ‘__system_continuation’:
src/io_frida.c:754:47: error: too few arguments to function ‘r_core_editor’; expected 4, have 3
754 | slurpedData = r_core_editor (rf->r2core, *arg? arg: NULL, NULL);
| ^~~~~~~~~~~~~
In file included from src/io_frida.h:6,
from src/io_frida.c:5:
/usr/local/include/libr/r_core.h:555:13: note: declared here
555 | R_API char *r_core_editor(const RCore *core, const char *file, const char *str, R_OUT bool * R_NULLABLE canceled);
| ^~~~~~~~~~~~~
make[1]: *** [Makefile:240: src/io_frida.o] Error 1
make[1]: Leaving directory '/root/.local/share/radare2/r2pm/git/r2frida'
make: *** [Makefile:181: all] Error 2
Build failed
INSTALL FAILED: Command failed with exit code 1. Network: online. Source: https://easycli.sh/proot-distro/ubuntu-questing-aarch64-pd-v4.37.0.tar.xz.
分析报错
? isexe@2.0.0
? iterator.prototype@1.1.5
? js-tokens@4.0.0
? js-yaml@4.2.0
? json-buffer@3.0.1
? json-parse-better-errors@1.0.2
? json-schema-traverse@0.4.1
? json-stable-stringify-without-jsonify@1.0.1
? json5@1.0.2
? jsx-ast-utils@3.3.5
? keyv@4.5.4
? levn@0.4.1
? load-json-file@5.3.0
? locate-path@6.0.0
? locate-path@3.0.0
? lodash.merge@4.6.2
? loose-envify@1.4.0
? math-intrinsics@1.1.0
? mimic-response@3.1.0
? minimatch@3.1.5
? minimatch@10.2.4
? minimatch@10.2.5
? minimatch@10.2.5
? minimatch@10.0.2
? minimist@1.2.8
? mkdirp-classic@0.5.3
? ms@2.1.3
? napi-build-utils@2.0.0
? natural-compare@1.4.0
? node-abi@3.75.0
? node-exports-info@1.6.0
? object-assign@4.1.1
? object-inspect@1.13.4
? object-keys@1.1.1
? object.assign@4.1.7
? object.entries@1.1.9
? object.fromentries@2.0.8
? object.groupby@1.0.3
? object.values@1.2.1
? once@1.4.0
? optionator@0.9.4
? own-keys@1.0.1
? p-limit@3.1.0
? p-limit@2.3.0
? p-locate@5.0.0
? p-locate@3.0.0
? p-try@2.2.0
? parent-module@1.0.1
? parse-json@4.0.0
? path-exists@4.0.0
? path-exists@3.0.0
? path-is-absolute@1.0.1
? path-key@3.1.1
? path-parse@1.0.7
? picomatch@4.0.4
? pify@4.0.1
? pkg-conf@3.1.0
? possible-typed-array-names@1.1.0
? prebuild-install@7.1.3
? prelude-ls@1.2.1
? prop-types@15.8.1
? pump@3.0.2
? punycode@2.3.1
? queue-microtask@1.2.3
? rc@1.2.8
? react-is@16.13.1
? readable-stream@3.6.2
? reflect.getprototypeof@1.0.10
? regexp.prototype.flags@1.5.4
? regexpp@3.2.0
? resolve@1.22.10
? resolve@2.0.0-next.6
? resolve@2.0.0-next.6
? resolve-from@4.0.0
? reusify@1.0.4
? rimraf@3.0.2
? run-parallel@1.2.0
? safe-array-concat@1.1.3
? safe-buffer@5.2.1
? safe-push-apply@1.0.0
? safe-regex-test@1.1.0
? semistandard@17.0.0
? semver@7.7.3
? semver@6.3.1
? semver@6.3.1
? set-function-length@1.2.2
? set-function-name@2.0.2
? set-proto@1.0.0
? shebang-command@2.0.0
? shebang-regex@3.0.0
? side-channel@1.1.0
? side-channel-list@1.0.0
? side-channel-map@1.0.1
? side-channel-weakmap@1.0.2
? simple-concat@1.0.1
? simple-get@4.0.1
? standard-engine@15.1.0
? stop-iteration-iterator@1.1.0
? string.prototype.matchall@4.0.12
? string.prototype.repeat@1.0.0
? string.prototype.trim@1.2.10
? string.prototype.trimend@1.0.9
? string.prototype.trimstart@1.0.8
? string_decoder@1.3.0
? strip-ansi@6.0.1
? strip-bom@3.0.0
? strip-json-comments@3.1.1
? strip-json-comments@2.0.1
? supports-color@7.2.0
? supports-preserve-symlinks-flag@1.0.0
? tar-fs@2.1.4
? tar-stream@2.2.0
? text-table@0.2.0
? tinyglobby@0.2.17
? ts-api-utils@2.5.0
? tsconfig-paths@3.15.0
? tunnel-agent@0.6.0
? type-check@0.4.0
? type-fest@0.20.2
? type-fest@0.3.1
? typed-array-buffer@1.0.3
? typed-array-byte-length@1.0.3
? typed-array-byte-offset@1.0.4
? typed-array-length@1.0.7
? typescript@6.0.3
? unbox-primitive@1.1.0
? undici-types@7.19.2
? uri-js@4.4.1
? util-deprecate@1.0.2
? which@2.0.2
? which-boxed-primitive@1.1.1
? which-builtin-type@1.2.1
? which-collection@1.0.2
? which-typed-array@1.1.19
? word-wrap@1.2.5
? wrappy@1.0.2
? xdg-basedir@4.0.0
? yocto-queue@0.1.0
359 packages installed into /root/.local/share/radare2/r2pm/git/r2frida
R2PM_OFFLINE=1 r2pm -r src/r2frida-compile -H src/_agent.h -o src/_agent.js -Sc src/agent/index.ts ||
src/r2frida-compile -H src/_agent.h -o src/_agent.js -Sc src/agent/index.ts
test -s src/_agent.js || rm -f src/_agent.js
test -s src/_agent.js || ( rm -f src/_agent.js && make src/_agent.js )
test -s src/_agent.js || exit 1
[ -f src/_agent.h ] || (echo Running r2; r2 -NNnfqcpc src/_agent.js | grep 0x > src/_agent.h)
cc -c -DFRIDA_VERSION_STRING="17.15.1" -DFRIDA_VERSION_MAJOR=17 -DR2FRIDA_VERSION_STRING="6.1.8" -fPIC -Wall -Werror -g -I/usr/local/include/libr -DWANT_SESSION_DEBUGGER=1 -Iext/frida src/io_frida.c -o src/io_frida.o
src/io_frida.c: In function ‘__system_continuation’:
src/io_frida.c:754:47: error: too few arguments to function ‘r_core_editor’; expected 4, have 3
754 | slurpedData = r_core_editor (rf->r2core, *arg? arg: NULL, NULL);
| ^~~~~~~~~~~~~
In file included from src/io_frida.h:6,
from src/io_frida.c:5:
/usr/local/include/libr/r_core.h:555:13: note: declared here
555 | R_API char *r_core_editor(const RCore *core, const char *file, const char *str, R_OUT bool * R_NULLABLE canceled);
| ^~~~~~~~~~~~~
make[1]: *** [Makefile:240: src/io_frida.o] Error 1
make[1]: Leaving directory '/root/.local/share/radare2/r2pm/git/r2frida'
make: *** [Makefile:181: all] Error 2
Build failed
INSTALL FAILED: Command failed with exit code 1. Network: online. Source: https://easycli.sh/proot-distro/ubuntu-questing-aarch64-pd-v4.37.0.tar.xz.
分析报错