Nam Wook Kim

58 papers A* 13A 2B 2Journal 31Unranked 10
YearRankTypeTitle / Venue / Authors
2026 J jnl
IEEE Trans. Vis. Comput. Graph.
Areen Khalaila, Lane Harrison, Nam Wook Kim, Dylan Cashman
2026 A* conf
CHI
Kiroong Choe, Eunhye Kim, Min-Hyeong Kim, Suyeon Hwang, Sangwon Park, Nam Wook Kim, Jinwook Seo
2026 A* conf
CHI
Yongsu Ahn, Lejun R. Liao, Benjamin Bach, Nam Wook Kim
2026 J jnl
CoRR
Yongsu Ahn, Lejun R. Liao, Benjamin Bach, Nam Wook Kim
2026 J jnl
IEEE Trans. Vis. Comput. Graph.
Nam Wook Kim, Grace Myers, Jinhan Choi, Yoonsuh Cho, Changhoon Oh, Yea-Seul Kim
2025 J jnl
CoRR
Areen Khalaila, Lane Harrison, Nam Wook Kim, Dylan Cashman
2025 J jnl
IEEE Trans. Vis. Comput. Graph.
Kiroong Choe, Chaerin Lee, Soohyun Lee, Jiwon Song, Aeri Cho, Nam Wook Kim, Jinwook Seo
2025 J jnl
ACM Trans. Comput. Hum. Interact.
Nam Wook Kim, Yongsu Ahn, Grace Myers, Benjamin Bach
2025 J jnl
CoRR
Seoyoung Doh, Hyeon Jeon, Sungbok Shin, Ghulam Jilani Quadri, Nam Wook Kim, Jinwook Seo
2025 J jnl
CoRR
Yongsu Ahn, Nam Wook Kim
2024 J jnl
CoRR
Areen Khalaila, Lane Harrison, Nam Wook Kim, Dylan Cashman
2024 B conf
VL/HCC
Nam Wook Kim, Hyung-Kwon Ko, Grace Myers, Benjamin Bach
2024 J jnl
CoRR
Nam Wook Kim, Hyung-Kwon Ko, Grace Myers, Benjamin Bach
2024 A* conf
CHI
Hyung-Kwon Ko, Hyeon Jeon, Gwanmo Park, Dae Hyun Kim, Nam Wook Kim, Juho Kim, Jinwook Seo
2024 conf
MICCAI (6)
Loraine Franke, Jie Luo, Tae Young Park, Nam Wook Kim, Yogesh Rathi, Steven D. Pieper, Lipeng Ning, Daniel Haehn
2024 A* conf
UIST
Joshua Gorniak, Yoon Kim, Donglai Wei, Nam Wook Kim
2023 J jnl
Comput. Graph. Forum
Nam Wook Kim, Grace Ataguba, Shakila Cherise S. Joyner, Chuangdian Zhao, Hyejin Im
2023 J jnl
CoRR
Joy Kondo, Justin Park, Josiah Kondo, Nam Wook Kim
2023 A* conf
CHI
Jiho Kim, Arjun Srinivasan, Nam Wook Kim, Yea-Seul Kim
2023 J jnl
CoRR
Nam Wook Kim, Grace Myers, Benjamin Bach
2023 J jnl
CoRR
Nam Wook Kim, Grace Myers, Jinhan Choi, Yoonsuh Cho, Changhoon Oh, Yea-Seul Kim
2023 J jnl
CoRR
Hyung-Kwon Ko, Hyeon Jeon, Gwanmo Park, Dae Hyun Kim, Nam Wook Kim, Juho Kim, Jinwook Seo
2023 A* conf
CHI
Jinhan Choi, Changhoon Oh, Yea-Seul Kim, Nam Wook Kim
2023 conf
UIST (Adjunct Volume)
Joshua Gorniak, Jacob Ottiger, Donglai Wei, Nam Wook Kim
2023 J jnl
CoRR
Joshua Gorniak, Yoon Kim, Stephen Gwon, Donglai Wei, Nam Wook Kim
2022 conf
ICDCS Workshops
Ji Hyung Kim, Tigran Bantikyan, Nam Wook Kim, Lewis Tseng
2022 J jnl
IEEE Trans. Vis. Comput. Graph.
Shahid Latif, Zheng Zhou, Yoon Kim, Fabian Beck, Nam Wook Kim
2022 A* conf
CHI
Shakila Cherise S. Joyner, Amalia Riegelhuth, Kathleen Garrity, Yea-Seul Kim, Nam Wook Kim
2021 J jnl
Comput. Graph. Forum
Nam Wook Kim, Shakila Cherise Joyner, Amalia Riegelhuth, Yea-Seul Kim
2021 J jnl
CoRR
Shahid Latif, Zheng Zhou, Yoon Kim, Fabian Beck, Nam Wook Kim
2021 J jnl
CoRR
Nam Wook Kim
2021 conf
CHI Extended Abstracts
Jinhan Choi, Changhoon Oh, Bongwon Suh, Nam Wook Kim
2021 conf
CHI Extended Abstracts
Jinhan Choi, Changhoon Oh, Bongwon Suh, Nam Wook Kim
2020 conf
CHI Extended Abstracts
Oleksii Sidorov, Marius Pedersen, Sumit Shekhar, Nam Wook Kim
2020 J jnl
IEEE Trans. Vis. Comput. Graph.
Robert Krüger, Johanna Beyer, Won-Dong Jang, Nam Wook Kim, Artem Sokolov, Peter K. Sorger, Hanspeter Pfister
2020 A* conf
CHI
Nanxuan Zhao, Nam Wook Kim, Laura Mariah Herman, Hanspeter Pfister, Rynson W. H. Lau, Jose Echevarria, Zoya Bylinskii
2020 A* conf
CHI
Anelise Newman, Barry A. McNamara, Camilo Fosco, Yun Bin Zhang, Pat Sukhum, Matthew Tancik, Nam Wook Kim, Zoya Bylinskii
2020 J jnl
CoRR
Anelise Newman, Barry A. McNamara, Camilo Fosco, Yun Bin Zhang, Pat Sukhum, Matthew Tancik, Nam Wook Kim, Zoya Bylinskii
2019 J jnl
CoRR
Oleksii Sidorov, Marius Pedersen, Nam Wook Kim, Sumit Shekhar
2019 A* conf
CHI
Nam Wook Kim, Hyejin Im, Nathalie Henry Riche, Alicia Wang, Krzysztof Gajos, Hanspeter Pfister
2019 A* conf
CHI
Nam Wook Kim, Nathalie Henry Riche, Benjamin Bach, Guanpeng Xu, Matthew Brehmer, Ken Hinckley, Michel Pahud, Haijun Xia, Michael J. McGuffin, Hanspeter Pfister
2018 J jnl
Comput. Graph. Forum
Michael Behrisch, Michael Blumenschein, Nam Wook Kim, Lin Shao, Mennatallah El-Assady, Johannes Fuchs, Daniel Seebacher, Alexandra Diehl, Ulrik Brandes, Hanspeter Pfister, Tobias Schreck, Daniel Weiskopf, Daniel A. Keim
2018 J jnl
IEEE Trans. Vis. Comput. Graph.
Nam Wook Kim, Benjamin Bach, Hyejin Im, Sasha Schriber, Markus H. Gross, Hanspeter Pfister
2017 J jnl
ACM Trans. Comput. Hum. Interact.
Nam Wook Kim, Zoya Bylinskii, Michelle A. Borkin, Krzysztof Z. Gajos, Aude Oliva, Frédo Durand, Hanspeter Pfister
2017 J jnl
CoRR
Nam Wook Kim, Zoya Bylinskii, Michelle A. Borkin, Krzysztof Z. Gajos, Aude Oliva, Frédo Durand, Hanspeter Pfister
2017 J jnl
CoRR
Nam Wook Kim
2017 J jnl
IEEE Trans. Vis. Comput. Graph.
Nam Wook Kim, Eston Schweickart, Zhicheng Liu, Mira Dontcheva, Wilmot Li, Jovan Popovic, Hanspeter Pfister
2017 A* conf
UIST
Zoya Bylinskii, Nam Wook Kim, Peter O'Donovan, Sami Alsheikh, Spandan Madan, Hanspeter Pfister, Frédo Durand, Bryan C. Russell, Aaron Hertzmann
2017 J jnl
CoRR
Zoya Bylinskii, Nam Wook Kim, Peter O'Donovan, Sami Alsheikh, Spandan Madan, Hanspeter Pfister, Frédo Durand, Bryan C. Russell, Aaron Hertzmann
2016 J jnl
IEEE Trans. Vis. Comput. Graph.
Michelle A. Borkin, Zoya Bylinskii, Nam Wook Kim, Constance May Bainbridge, Chelsea S. Yeh, Daniel Borkin, Hanspeter Pfister, Aude Oliva
2016 A conf
CSCW
Nam Wook Kim, Jonghyuk Jung, Eun-Young Ko, Songyi Han, Chang Won Lee, Juho Kim, Jihee Kim
2016 conf
CHI Extended Abstracts
Hyejin Im, Nam Wook Kim
2015 conf
CHI Extended Abstracts
Nam Wook Kim, Zoya Bylinskii, Michelle A. Borkin, Aude Oliva, Krzysztof Z. Gajos, Hanspeter Pfister
2015 conf
CHI Extended Abstracts
Nam Wook Kim, Chang Won Lee, Jonghyuk Jung, Eun-Young Ko, Juho Kim, Jihee Kim
2015 conf
ETVIS
Zoya Bylinskii, Michelle A. Borkin, Nam Wook Kim, Hanspeter Pfister, Aude Oliva
2015 A* conf
CHI
Juho Kim, Eun-Young Ko, Jonghyuk Jung, Chang Won Lee, Nam Wook Kim, Jihee Kim
2012 A conf
CSCW
Michael Nowak, Juho Kim, Nam Wook Kim, Clifford Nass
2010 B conf
AVI
Nam Wook Kim, Stuart K. Card, Jeffrey Heer
tests/scripts/test_macho_extractors_local.py
← Index tests/scripts/test_macho_extractors_local.py python
#!/usr/bin/env python3
"""
Local MachO extractors test - test actual extractors without server connections
"""

import sys
import os
import logging
import hashlib
from datetime import datetime, timezone
from typing import Dict, Any, Optional
from unittest.mock import Mock, patch

# Add the redb directory to the path so we can import the extractors
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'redb'))

# Mock settings to avoid database connections
with patch.dict('os.environ', {'REDB_ENV': 'test'}):
    # Import the actual extractors
    from redb.extractors.macho_extractors.macho_features import MachOFeaturesExtractor
    from redb.extractors.macho_extractors.macho_segments import MachOSegmentExtractor
    from redb.extractors.macho_extractors.macho_imports import MachOImportExtractor
    from redb.extractors.macho_extractors.macho_exports import MachOExportExtractor
    from redb.extractors.macho_extractors.macho_dylibs import MachODylibExtractor
    from redb.extractors.macho_extractors.macho_signature import MachOSignatureExtractor
    from redb.extractors.macho_extractors.macho_universal import MachOUniversalExtractor

def setup_logging():
    """Setup basic logging configuration."""
    logging.basicConfig(
        level=logging.INFO,
        format='%(asctime)s - %(levelname)s - %(message)s'
    )
    return logging.getLogger(__name__)

class MockLogger:
    """Mock logger for testing without RedB dependencies."""
    def __init__(self):
        self.logger = logging.getLogger(__name__)
    
    def debug(self, msg):
        self.logger.debug(msg)
    
    def info(self, msg):
        self.logger.info(msg)
    
    def warning(self, msg):
        self.logger.warning(msg)
    
    def error(self, msg):
        self.logger.error(msg)

class MockExporter:
    """Mock exporter that does nothing."""
    def export(self, data):
        pass

def create_mock_extractor(extractor_class, filepath):
    """Create an extractor instance with mocked dependencies."""
    log = MockLogger()
    
    # Mock the exporters to avoid database connections
    mock_exporters = [MockExporter()]
    
    # Create the extractor with mocked dependencies
    extractor = extractor_class(
        filepath=filepath,
        log=log,
        exporters=mock_exporters,
        index_prefix="test",
        elastic_index="test_macho",
        known_benign=False,
        known_malicious=False
    )
    
    return extractor

def test_extractor(extractor_class, filepath, extractor_name):
    """Test a specific extractor."""
    log = setup_logging()
    log.info(f"Testing {extractor_name}...")
    
    try:
        # Create the extractor with mocked dependencies
        extractor = create_mock_extractor(extractor_class, filepath)
        
        if not extractor.macho:
            log.error(f"{extractor_name}: No MachO object created")
            return False

        # Test the actual extract method
        result = extractor.extract()
        
        if result:
            log.info(f"{extractor_name}: Successfully extracted data")
            print(f"\n{'='*60}")
            print(f"=== {extractor_name.upper()} RESULTS ===")
            print(f"{'='*60}")
            
            if isinstance(result, list):
                print(f"📊 Extracted {len(result)} items")
                print()
                for i, item in enumerate(result):
                    print(f"📦 Item {i+1}:")
                    print(f"   {'─'*40}")
                    # Handle dataclass objects in lists
                    if hasattr(item, '__dataclass_fields__'):
                        from dataclasses import asdict
                        item_dict = asdict(item)
                        for key, value in item_dict.items():
                            if isinstance(value, (list, dict)):
                                if isinstance(value, list):
                                    print(f"   🔹 {key}: List with {len(value)} items")
                                    print(f"      {value}")
                                elif isinstance(value, dict):
                                    print(f"   🔹 {key}: Dict with {len(value)} keys")
                                    for k, v in value.items():
                                        print(f"      {k}: {v}")
                            else:
                                print(f"   🔹 {key}: {value}")
                    else:
                        # Regular dict
                        for key, value in item.items():
                            if isinstance(value, (list, dict)):
                                if isinstance(value, list):
                                    print(f"   🔹 {key}: List with {len(value)} items")
                                    print(f"      {value}")
                                elif isinstance(value, dict):
                                    print(f"   🔹 {key}: Dict with {len(value)} keys")
                                    for k, v in value.items():
                                        print(f"      {k}: {v}")
                            else:
                                print(f"   🔹 {key}: {value}")
                    print()
            else:
                print("📊 Extracted data:")
                print()
                # Handle dataclass objects
                if hasattr(result, '__dataclass_fields__'):
                    # It's a dataclass, use dataclasses.asdict
                    from dataclasses import asdict
                    result_dict = asdict(result)
                    for key, value in result_dict.items():
                        if isinstance(value, (list, dict)):
                            if isinstance(value, list):
                                print(f"🔹 {key}: List with {len(value)} items")
                                print(f"   {value}")
                            elif isinstance(value, dict):
                                print(f"🔹 {key}: Dict with {len(value)} keys")
                                for k, v in value.items():
                                    print(f"   {k}: {v}")
                        else:
                            print(f"🔹 {key}: {value}")
                        print()
                else:
                    # It's a regular dict
                    for key, value in result.items():
                        if isinstance(value, (list, dict)):
                            if isinstance(value, list):
                                print(f"🔹 {key}: List with {len(value)} items")
                                print(f"   {value}")
                            elif isinstance(value, dict):
                                print(f"🔹 {key}: Dict with {len(value)} keys")
                                for k, v in value.items():
                                    print(f"   {k}: {v}")
                        else:
                            print(f"🔹 {key}: {value}")
                        print()
        else:
            log.warning(f"{extractor_name}: No data extracted")
            print(f"\n❌ {extractor_name}: No data extracted")
        
        return True
        
    except Exception as e:
        log.error(f"{extractor_name}: Error during extraction: {e}")
        import traceback
        traceback.print_exc()
        return False

def main():
    """Main function."""
    if len(sys.argv) < 2:
        print("Usage: python test_macho_extractors_local.py <macho_file> [extractor_name]")
        print("\nAvailable extractors:")
        print("  features    - Basic MachO header and metadata")
        print("  segments    - Segment information and analysis")
        print("  imports     - Imported functions and libraries")
        print("  exports     - Exported symbols")
        print("  dylibs      - Dynamic library dependencies")
        print("  signature   - Code signing information")
        print("  universal   - FAT/Universal binary information")
        print("  all         - Test all extractors")
        sys.exit(1)
    
    filepath = sys.argv[1]
    extractor_name = sys.argv[2] if len(sys.argv) > 2 else "all"
    
    if not os.path.exists(filepath):
        print(f"File not found: {filepath}")
        sys.exit(1)
    
    # Define extractors
    extractors = {
        'features': (MachOFeaturesExtractor, "MachO Features"),
        'segments': (MachOSegmentExtractor, "MachO Segments"),
        'imports': (MachOImportExtractor, "MachO Imports"),
        'exports': (MachOExportExtractor, "MachO Exports"),
        'dylibs': (MachODylibExtractor, "MachO Dylibs"),
        'signature': (MachOSignatureExtractor, "MachO Code Signature"),
        'universal': (MachOUniversalExtractor, "MachO Universal/FAT"),
    }
    
    if extractor_name == "all":
        print(f"Testing all extractors with file: {filepath}")
        success_count = 0
        for name, (extractor_class, display_name) in extractors.items():
            if test_extractor(extractor_class, filepath, display_name):
                success_count += 1
            print("-" * 50)
        
        print(f"\n✅ {success_count}/{len(extractors)} extractors completed successfully")
        
    elif extractor_name in extractors:
        extractor_class, display_name = extractors[extractor_name]
        success = test_extractor(extractor_class, filepath, display_name)
        
        if success:
            print(f"\n✅ {display_name} testing completed successfully")
        else:
            print(f"\n❌ {display_name} testing failed")
            sys.exit(1)
    else:
        print(f"Unknown extractor: {extractor_name}")
        print("Available extractors:", ", ".join(extractors.keys()) + ", all")
        sys.exit(1)

if __name__ == "__main__":
    main()