decoration decoration
Stories

GROKLAW
When you want to know more...
decoration
For layout only
Home
Archives
Site Map
Search
About Groklaw
Awards
Legal Research
Timelines
ApplevSamsung
ApplevSamsung p.2
ArchiveExplorer
Autozone
Bilski
Cases
Cast: Lawyers
Comes v. MS
Contracts/Documents
Courts
DRM
Gordon v MS
GPL
Grokdoc
HTML How To
IPI v RH
IV v. Google
Legal Docs
Lodsys
MS Litigations
MSvB&N
News Picks
Novell v. MS
Novell-MS Deal
ODF/OOXML
OOXML Appeals
OraclevGoogle
Patents
ProjectMonterey
Psystar
Quote Database
Red Hat v SCO
Salus Book
SCEA v Hotz
SCO Appeals
SCO Bankruptcy
SCO Financials
SCO Overview
SCO v IBM
SCO v Novell
SCO:Soup2Nuts
SCOsource
Sean Daly
Software Patents
Switch to Linux
Transcripts
Unix Books

Gear

Groklaw Gear

Click here to send an email to the editor of this weblog.


You won't find me on Facebook


Donate

Donate Paypal


No Legal Advice

The information on Groklaw is not intended to constitute legal advice. While Mark is a lawyer and he has asked other lawyers and law students to contribute articles, all of these articles are offered to help educate, not to provide specific legal advice. They are not your lawyers.

Here's Groklaw's comments policy.


What's New

STORIES
No new stories

COMMENTS last 48 hrs
No new comments


Sponsors

Hosting:
hosted by ibiblio

On servers donated to ibiblio by AMD.

Webmaster
Was Andy McFadden talking about a symbol after all? | 125 comments | Create New Account
Comments belong to whoever posts them. Please notify us of inappropriate comments.
Was Andy McFadden talking about a symbol after all?
Authored by: bugstomper on Tuesday, May 15 2012 @ 11:46 AM EDT
I could be confused about the example being talked about, but notice where the
01 is being called a field index.

The Dalvik iget instruction takes an argument of the form TTTT@CCCC where TTTT
is one of a few strings, one of which is "Field", and CCCC is a hex
number. When the operand is of the form Field@CCCC then CCCC represents a
numeric offset into the Field Table. That CCCC value is called in the
documentation a "field index". The Field Table is an array of
elements, each of which has three items. The first is an index into a Class
table, and identifies which class is being referenced. The second item is an
index into the Constant Pool pointing to a string constant that is the name of
the field in the class. The third item is a similar reference to a string that
is the type descriptor of the field.

iget Field@0001 is referring to the first element of the Field Table. That first
element will point to a class, and a string such as "y" and a type
descriptor. The iget instruction will look up the field named "y" in
that class and get the data in that field. That lookup requires a symbol
resolution step. The code I found that does it loops through the list of fields
in the class doing a string compare with the string that the Field Table entry
points to until it finds a match, then returns a pointer to the field that it
found.

I agree that Dalvik does not practice the claim, but the only basis for saying
that is that the Court has stated a construction that limits the claim to doing
the resolution "dynamically" at runtime, and dexopt does it statically
before the instruction is executed.

[ Reply to This | Parent | # ]

Groklaw © Copyright 2003-2013 Pamela Jones.
All trademarks and copyrights on this page are owned by their respective owners.
Comments are owned by the individual posters.

PJ's articles are licensed under a Creative Commons License. ( Details )