Carmen Vaca

25 papers A 1C 1Journal 6Unranked 16
YearRankTypeTitle / Venue / Authors
2025 J jnl
EPJ Data Sci.
Eduardo Cruz, Mónica Villavicencio, Carmen Vaca, Lisette Espín-Noboa, Nervo Verdezoto
2024 J jnl
Digit. Gov. Res. Pract.
Juan Carlos Garcia, Damián Fernández Pedemonte, Carmen Vaca, Maria Baquerizo-Neira
2024 J jnl
Digit. Gov. Res. Pract.
Luis Terán, Carmen Vaca, Daniel Riofrío, Matthias Stürmer
2023 A conf
SDM
Guangji Bai, Johnny Torres, Junxiang Wang, Liang Zhao, Cristina L. Abad, Carmen Vaca
2021 conf
IEEE BigData
Eduardo Cruz, Carmen Vaca, Mónica Villavicencio
2021 J jnl
CoRR
Johnny Torres, Guangji Bai, Junxiang Wang, Liang Zhao, Carmen Vaca, Cristina L. Abad
2020 J jnl
Expert Syst. Appl.
Johnny Torres, Carmen Vaca, Luis Terán, Cristina L. Abad
2019 conf
SIMBig
Galo Castillo-López, María-Belén Guaranda, Fabricio Layedra, Carmen Vaca
2019 conf
AffCon@AAAI
Johnny Torres, Carmen Vaca
2019 conf
WWW (Companion Volume)
Johnny Torres, Carmen Vaca
2019 conf
SemEval@NAACL-HLT
Johnny Torres, Carmen Vaca
2019 conf
IEEE BigData
Eduardo Cruz, Carmen Vaca, Allan Avendaño
2019 J jnl
IEEE Trans. Emerg. Top. Comput.
Lorena Recalde, Jonathan Mendieta, Ludovico Boratto, Luis Terán, Carmen Vaca, Gabriela Baquerizo
2018 conf
IEEE BigData
Leonardo Kuffó, Carmen Vaca, Edgar Izquierdo, Juan Carlos Bustamante
2018 conf
IEEE BigData
Xavier Andrade, Fabricio Layedra, Carmen Vaca, Eduardo Cruz
2018 conf
WorldCIST (2)
Johnny Torres, Kevin Ortiz, Juan García, Carmen Vaca
2018 conf
WorldCIST (1)
Juan Carlos Garcia, Allan Avendaño, Carmen Vaca
2017 conf
SocInfo (2)
Jonathan Mendieta, Gabriela Baquerizo, Mónica Villavicencio, Carmen Vaca
2017 conf
ICDM Workshops
Rodrigo D. Castro, Carmen Vaca
2017 C conf
BDCAT
Johnny Torres, Carmen Vaca, Cristina L. Abad
2016 conf
LA-CCI
Johnny Torres, Carmen Vaca, Enrique Peláez
2014
Carmen Vaca
2011 conf
BPMN
Marco Brambilla, Piero Fraternali, Carmen Vaca
2011 conf
Business Process Management Workshops (1)
Marco Brambilla, Piero Fraternali, Carmen Vaca
2007 conf
FECS
Cristina L. Abad, Carmen Vaca
redb/extractors/decompiler/bninja/analysis/strings.py
← Index redb/extractors/decompiler/bninja/analysis/strings.py python
from collections import Counter
import math

class StringAnalysis:
    def __init__(self, bv, functions):
        self.bv = bv
        self.functions = functions

    def entropy(self, s: str) -> float:
        """Compute Shannon entropy of a string."""
        if not s:
            return 0.0
        freq = Counter(s)
        length = len(s)
        return -sum((count / length) * math.log2(count / length) for count in freq.values())

    def analyze(self):
        """
        Extract unique strings from the binary.

        Deduplicates by (string, encoding) within the same binary, keeping the
        first occurrence (lowest offset). Cross-binary deduplication and
        aggregation is handled by ClickHouse materialized views.
        """
        strings = {}

        # Sort strings by their starting address
        sorted_entries = sorted(self.bv.strings, key=lambda e: e.start)

        for entry in sorted_entries:
            # Key is the string and its encoding
            key = (entry.value, entry.type.name)

            # Skip if this string (value + encoding) was already added.
            # Because entries are sorted by address, the first one is always kept.
            if key in strings:
                continue

            # Store only the first occurrence with schema-matching field names
            # entry.length is the raw byte length, len(entry.value) is decoded string length
            string_entry = {
                "string": entry.value,
                "string_raw": entry.raw,
                "string_encoding": entry.type.name,
                "string_offset": entry.start,
                "string_length": len(entry.value),
                "string_raw_length": entry.length,
                "string_entropy": self.entropy(entry.value),
            }

            strings[key] = string_entry

        # Return as list for export compatibility
        return list(strings.values())