J. Michael Moshell

31 papers A* 3A 4B 1C 1Misc 1Journal 11Unranked 9
YearRankTypeTitle / Venue / Authors
2014 ch.
Handbook of Virtual Environments, 2nd ed.
Robb Lindgren, J. Michael Moshell, Charles E. Hughes
2013 conf
HCI (19)
Darin E. Hughes, Shabnam Sabbagh, Robb Lindgren, J. Michael Moshell, Charles E. Hughes
2011 C conf
ICIDS
Jichen Zhu, Kenneth E. Ingraham, J. Michael Moshell
2011 conf
HCI (14)
Jeff Wirth, Anne E. Norris, Daniel P. Mapes, Kenneth E. Ingraham, J. Michael Moshell
2011 Misc conf
IDC
Robb Lindgren, J. Michael Moshell
2011 B conf
Creativity & Cognition
Jichen Zhu, Kenneth E. Ingraham, J. Michael Moshell, Santiago Ontañón
2011 conf
HCI (14)
Jichen Zhu, J. Michael Moshell, Santiago Ontañón, Elena Erbiceanu, Charles E. Hughes
2003 A* conf
ISMAR
Christopher B. Stapleton, Charles E. Hughes, J. Michael Moshell
2002 J jnl
Computer
Christopher B. Stapleton, Charles E. Hughes, J. Michael Moshell, Paulius Micikevicius, Marty Altman
2001 J jnl
Comput. Animat. Virtual Worlds
Charles E. Hughes, J. Michael Moshell, Dean Reed, Diane Z. Chase, Arlen Chase
2000 A* conf
VR
J. Michael Moshell, Charles E. Hughes, Dean Reed, Diane Z. Chase, Arlen Chase
1998 conf
WebNet
Hector Morelos-Borja, J. Michael Moshell, Alvin Y. Wang, Rebecca J. Parsons, Charles E. Hughes
1998 conf
SIGGRAPH Abstracts and Applications
J. Michael Moshell
1997 conf
SIGGRAPH Visual Proceedings
J. Michael Moshell
1997 J jnl
IEEE Computer Graphics and Applications
Jim X. Chen, Niels da Vitoria Lobo, Charles E. Hughes, J. Michael Moshell
1997 J jnl
Multim. Syst.
Charles E. Hughes, J. Michael Moshell
1996 J jnl
Int. J. Hum. Comput. Interact.
J. Michael Moshell, Charles E. Hughes
1995 J jnl
Presence Teleoperators Virtual Environ.
Daniel P. Mapes, J. Michael Moshell
1995 J jnl
J. Parallel Distributed Comput.
Xin Li, Kien A. Hua, J. Michael Moshell
1995 J jnl
Presence Teleoperators Virtual Environ.
J. Michael Moshell, Art Cortes, Tom Clarke, Kimberly C. Abel, Mark Kilby, Curtis Lisle, Daniel P. Mapes, Jacquelyn Ford Morie
1994 J jnl
Simul.
J. Michael Moshell, Brian S. Blau, Xin Li, Curtis Lisle
1994 J jnl
Presence Teleoperators Virtual Environ.
Donald R. Lampton, Bruce W. Knerr, Stephen L. Goldberg, James P. Bliss, J. Michael Moshell, Brian S. Blau
1993 conf
VRAIS
J. Michael Moshell, Brian S. Blau, Bruce W. Knerr, Donald R. Lampton, James P. Bliss
1993 A* conf
SIGGRAPH
Xin Li, J. Michael Moshell
1992 conf
SI3D
Brian S. Blau, Charles E. Hughes, J. Michael Moshell, Curtis Lisle
1988 conf
VL
John E. Mears, Charles E. Hughes, J. Michael Moshell
1983 A conf
SIGCSE
William E. Baird, Charles E. Rughes, J. Michael Moshell
1981 A conf
SIGCSE
J. Michael Moshell, Charles E. Hughes, C. R. Gregory, Robert M. Aiken
1980 A conf
SIGCSE
Robert M. Aiken, Charles E. Hughes, J. Michael Moshell
1979 J jnl
Inf. Control.
J. Michael Moshell, Jerome Rothstein
1978 A conf
SIGCSE
J. Michael Moshell, Charles E. Hughes, Robert M. Aiken
redb/extractors/decompiler/apk/library_filter.py
← Index redb/extractors/decompiler/apk/library_filter.py python
"""Package-based library filtering for APK DEX code analysis.

Determines whether a method belongs to a known library/framework package
and should be filtered out of content tables. This is the Android equivalent
of is_lib_or_thunk() in the Binary Ninja pipeline.
"""

import os
from typing import Dict, List


DEFAULT_LIBRARY_PREFIXES = [
    "android.",
    "androidx.",
    "com.google.android.",
    "com.google.firebase.",
    "com.google.gson.",
    "com.google.protobuf.",
    "kotlin.",
    "kotlinx.",
    "org.apache.",
    "com.squareup.",
    "io.reactivex.",
    "org.reactivestreams.",
    "com.facebook.",
    "com.crashlytics.",
    "io.fabric.",
    "org.junit.",
    "org.mockito.",
]


class LibraryFilter:
    """Filters library/framework classes from APK analysis."""

    def __init__(self, prefixes: List[str] = None):
        env_prefixes = os.getenv("APK_LIBRARY_PREFIXES")
        if env_prefixes:
            self._prefixes = [p.strip() for p in env_prefixes.split(",") if p.strip()]
        elif prefixes is not None:
            self._prefixes = prefixes
        else:
            self._prefixes = DEFAULT_LIBRARY_PREFIXES

        # Convert Dalvik-style prefixes to both formats for matching
        self._dot_prefixes = tuple(self._prefixes)

        self._stats = {"library": 0, "user": 0}

    def is_library(self, class_name: str) -> bool:
        """Check if a class belongs to a known library/framework package.

        Accepts both Java dot notation (com.example.Foo) and Dalvik
        descriptor notation (Lcom/example/Foo;).
        """
        # Normalize Dalvik descriptor to dot notation
        normalized = self._normalize_class_name(class_name)

        is_lib = normalized.startswith(self._dot_prefixes)
        if is_lib:
            self._stats["library"] += 1
        else:
            self._stats["user"] += 1
        return is_lib

    def get_filter_stats(self) -> Dict[str, int]:
        """Return counts of filtered vs. retained classes."""
        return dict(self._stats)

    @staticmethod
    def _normalize_class_name(class_name: str) -> str:
        """Convert Dalvik descriptor to dot notation.

        Lcom/example/Foo; -> com.example.Foo
        com.example.Foo -> com.example.Foo
        """
        if class_name.startswith("L") and class_name.endswith(";"):
            return class_name[1:-1].replace("/", ".")
        return class_name.replace("/", ".")