facebook / facebook/chisel

pivar and wivar can not be used.

Open
#182 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9.2k
Forks
790
PR merge metrics
No merged PRs in 30d

Description

(lldb) pivar self _view
error: error: call to unavailable function 'object_getInstanceVariable': not available in automatic reference counting mode
error: no matching function for call to 'ivar_getTypeEncoding'
note: candidate function has been explicitly made unavailable
note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'Ivar' (aka 'objc_ivar *')
error: 2 errors parsing expression
Traceback (most recent call last):
File "/usr/local/opt/chisel/libexec/fblldb.py", line 83, in runCommand
command.run(args, options)
File "/usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py", line 293, in run
result = fb.evaluateExpressionValue('(({} *)({}))->{}'.format(printCommand, objectClass, object, ivarName))
NameError: global name 'printCommand' is not defined

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.