benandow / uiref Goto Github PK
View Code? Open in Web Editor NEWThis repository hosts the source code for the UiRef tool. UiRef resolves the semantics of user input widgets. Full details can be found in our WiSec 2017 publication.
License: Other
This repository hosts the source code for the UiRef tool. UiRef resolves the semantics of user input widgets. Full details can be found in our WiSec 2017 publication.
License: Other
I got this problem when I using UiRef (after extracting the layouts), could you please tell me how to figure it out?
Starting /ext/layouts/com.fueneco.talking.photos/layouts/com.fueneco.talking.photos_7f03000a.xml
Starting /ext/layouts/com.fueneco.talking.photos/layouts/com.fueneco.talking.photos_7f030006.xml
Avg time = 13.923076923076923 total = 181.0 13
Running UiRef
Loaded 13 layouts
Traceback (most recent call last):
File "/src/SemanticResolution/SemanticsResolver.py", line 234, in
main()
File "/src/SemanticResolution/SemanticsResolver.py", line 227, in main
resVals = resolver.resolveLayout(apk, viewHierarchy)
File "/src/SemanticResolution/SemanticsResolver.py", line 119, in resolveLayout
for v in viewHierarchy.getOrdered():
File "/src/SemanticResolution/LayoutParser.py", line 103, in getOrdered
sorted_vals = sorted([(v.t, v.l, v) for v in self.hierarchy if v.counter not in labelIds])
TypeError: '<' not supported between instances of 'ViewObject' and 'ViewObject'
I wanted to send you an email, but the email address you left in the paper seems to be unavailable, so please forgive me for raising an issue here, here is my email content.
Dear Benjamin Andow,
I hope this message finds you well. I am a graduate student from Xi'an Jiaotong University (XJTU), currently engaged in related research in your field.
I have recently come across your exceptional work on UiRef, which I found to be incredibly insightful. Furthermore, I appreciate your initiative to open source this project on GitHub, which has been of great value to the research community.
After reading your paper, I was eager to use UiRef for my research. However, I encountered some difficulties when trying to apply your tool. Despite following the instructions meticulously to set up the Docker environment, I noticed that no results were being produced. In an attempt to troubleshoot this issue, I tried to directly analyze the layout files by running SemanticsResolver.py, having modified the contents of LAYOUT_FILES.txt. However, this too yielded no results.
The layout files that I am trying to analyze were produced by using the 'adb uiautomator dump' command. I have attached these layout files with this email for your reference.
Given your expertise in this area, I was wondering if you could kindly provide some guidance or assistance with this issue. Is it possible for you to provide a version of UiRef that can analyze the attached layout files? Any help would be immensely appreciated.
I am looking forward to your response, and I am genuinely excited to learn more from your incredible work.
Best regards,
Shan
xmlfile.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.