Wei Liu

50 papers A* 2B 1C 2Misc 3Journal 21Unranked 20
YearRankTypeTitle / Venue / Authors
2026 J jnl
Ad Hoc Networks
Thijs Havinga, Xianjun Jiao, Wei Liu, Baiheng Chen, Robbe Gaeremynck, Ingrid Moerman
2025 B conf
WCNC
Baiheng Chen, Xianjun Jiao, Wei Liu, Thijs Havinga, Ingrid Moerman
2025 conf
WiNTECH
Thijs Havinga, Xianjun Jiao, Wei Liu, Baiheng Chen, Robbe Gaeremynck, Ingrid Moerman
2025 J jnl
CoRR
Thijs Havinga, Xianjun Jiao, Wei Liu, Baiheng Chen, Robbe Gaeremynck, Ingrid Moerman
2025 conf
SII
Louis Adriaens, Wei Liu, Jetmir Haxhibeqiri, Jeroen Hoebeke, Ben Van Herbruggen, Stijn Luchie, Eli De Poorter, Pablo Esteban
2025 conf
JC&S
Xianjun Jiao, Thijs Havinga, Wei Liu, Ingrid Moerman
2025 J jnl
CoRR
Thijs Havinga, Xianjun Jiao, Wei Liu, Baiheng Chen, Adnan Shahid, Ingrid Moerman
2025 conf
EuCNC/6G Summit
Thijs Havinga, Xianjun Jiao, Wei Liu, Baiheng Chen, Adnan Shahid, Ingrid Moerman
2024 J jnl
Comput. Commun.
Muhammad Aslam, Xianjun Jiao, Wei Liu, Michael T. Mehari, Thijs Havinga, Ingrid Moerman
2024 J jnl
Comput. Commun.
Muhammad Aslam, Xianjun Jiao, Wei Liu, Michael T. Mehari, Thijs Havinga, Ingrid Moerman
2024 conf
INFOCOM (Workshops)
Thijs Havinga, Xianjun Jiao, Wei Liu, Ingrid Moerman
2023 Misc conf
FCCM
Thijs Havinga, Xianjun Jiao, Wei Liu, Ingrid Moerman
2023 J jnl
CoRR
Thijs Havinga, Xianjun Jiao, Wei Liu, Ingrid Moerman
2023 J jnl
Comput. Commun.
Thijs Havinga, Xianjun Jiao, Muhammad Aslam, Wei Liu, Ingrid Moerman
2023 conf
WISEC
Mathy Vanhoef, Xianjun Jiao, Wei Liu, Ingrid Moerman
2022 J jnl
IEEE Trans. Ind. Informatics
Muhammad Aslam, Wei Liu, Xianjun Jiao, Jetmir Haxhibeqiri, Gilson Miranda, Jeroen Hoebeke, Johann Marquez-Barja, Ingrid Moerman
2022 C conf
WoWMoM
Thijs Havinga, Xianjun Jiao, Muhammad Aslam, Wei Liu, Ingrid Moerman
2022 J jnl
CoRR
Thijs Havinga, Xianjun Jiao, Muhammad Aslam, Wei Liu, Ingrid Moerman
2021 conf
INFOCOM Workshops
Muhammad Aslam, Wei Liu, Xianjun Jiao, Jetmir Haxhibeqiri, Jeroen Hoebeke, Ingrid Moerman, Esteban Municio, Pedro Heleno Isolani, Gilson Miranda, Johann Marquez-Barja
2021 J jnl
CoRR
Xianjun Jiao, Michael T. Mehari, Wei Liu, Muhammad Aslam, Ingrid Moerman
2021 conf
WISEC
Xianjun Jiao, Michael T. Mehari, Wei Liu, Muhammad Aslam, Ingrid Moerman
2020 conf
VTC Spring
Xianjun Jiao, Muhammad Aslam, Wei Liu, Ingrid Moerman
2020 J jnl
IEEE Commun. Mag.
Joao F. Santos, Wei Liu, Xianjun Jiao, Natal V. Neto, Sofie Pollin, Johann M. Márquez-Barja, Ingrid Moerman, Luiz A. DaSilva
2020 J jnl
Wirel. Pers. Commun.
Wei Liu, Joao F. Santos, Jonathan van de Belt, Xianjun Jiao, Ingrid Moerman, Johann Marquez-Barja, Luiz A. DaSilva, Sofie Pollin
2020 conf
6G SUMMIT
Ingrid Moerman, Djamal Zeghlache, Adnan Shahid, Joao F. Santos, Luiz A. DaSilva, Klaus David, John R. Farserotu, Ad de Ridder, Wei Liu, Jeroen Hoebeke
2020 conf
VTC Spring
Xianjun Jiao, Wei Liu, Michael T. Mehari, Muhammad Aslam, Ingrid Moerman
2019 ed.
CROWNCOM
Ingrid Moerman, Johann Marquez-Barja, Adnan Shahid, Wei Liu, Spilios Giannoulis, Xianjun Jiao
2019 conf
DySPAN
Spilios Giannoulis, Michael T. Mehari, Adnan Shahid, Dragoslav Stojadinovic, Maxim Claeys, Farouk Mahfoudhi, Wei Liu, Ivan Seskar, Steven Latré, Ingrid Moerman, Carlos Donato, Ruben Mennes, Felipe A. P. de Figueiredo, Irfan Jabandzic, Yorick De Bock, Miguel Camelo, Jakob Struye, Prasanthi Maddala
2018 conf
RTSI
Felipe A. P. de Figueiredo, Xianjun Jiao, Wei Liu, Irfan Jabandzic, Spilios Giannoulis, Ingrid Moerman
2018 J jnl
IEEE Access
Felipe A. P. de Figueiredo, Xianjun Jiao, Wei Liu, Ruben Mennes, Irfan Jabandzic, Ingrid Moerman
2018 J jnl
IEEE Access
Muhammad Aslam, Xianjun Jiao, Wei Liu, Ingrid Moerman
2018 J jnl
Wirel. Pers. Commun.
Felipe A. P. de Figueiredo, Xianjun Jiao, Wei Liu, Ingrid Moerman
2018 conf
CrownCom
Wei Liu, Joao F. Santos, Xianjun Jiao, Francisco Paisana, Luiz A. DaSilva, Ingrid Moerman
2017 J jnl
IEEE Trans. Wirel. Commun.
Wei Liu, Eli De Poorter, Jeroen Hoebeke, Emmeric Tanghe, Wout Joseph, Pieter Willemen, Michael T. Mehari, Xianjun Jiao, Ingrid Moerman
2017 Misc conf
SenSys
Felipe A. P. de Figueiredo, Wei Liu, Xianjun Jiao, Ingrid Moerman
2017 conf
CrownCom
Xianjun Jiao, Ingrid Moerman, Wei Liu, Felipe Augusto Pereira de Figueiredo
2017 J jnl
Sensors
Wei Liu, Merima Kulin, Tarik Kazaz, Adnan Shahid, Ingrid Moerman, Eli De Poorter
2016 J jnl
Wirel. Networks
Selvakumar Ulaganathan, Dirk Deschrijver, Mostafa Pakparvar, Ivo Couckuyt, Wei Liu, David Plets, Wout Joseph, Tom Dhaene, Luc Martens, Ingrid Moerman
2016 C conf
ETFA
Jetmir Haxhibeqiri, Michael T. Mehari, Wei Liu, Eli De Poorter, Wout Joseph, Ingrid Moerman, Jeroen Hoebeke
2015 J jnl
EURASIP J. Wirel. Commun. Netw.
Wei Liu, Mikolaj Chwalisz, Carolina Fortuna, Eli De Poorter, Jan-Hinrich Hauer, Daan Pareit, Lieven Hollevoet, Ingrid Moerman
2014 J jnl
EURASIP J. Wirel. Commun. Netw.
Mostafa Pakparvar, David Plets, Emmeric Tanghe, Dirk Deschrijver, Wei Liu, Krishnan Chemmangat, Ingrid Moerman, Tom Dhaene, Luc Martens, Wout Joseph
2014 A* conf
MobiCom
Wei Liu, Eli De Poorter, Pieter Becue, Bart Jooris, Vincent Sercu, Ingrid Moerman, Jeroen Vanhaverbeke, Carl Lylon, John Gesquiere
2014 conf
WiNTECH
Stratos Keranidis, Virgilios Passas, Kostas Chounos, Wei Liu, Thanasis Korakis, Iordanis Koutsopoulos, Ingrid Moerman, Leandros Tassiulas
2013 J jnl
EURASIP J. Wirel. Commun. Netw.
Wei Liu, Daan Pareit, Eli De Poorter, Ingrid Moerman
2013 A* conf
MobiCom
Virgilios Passas, Kostas Chounos, Stratos Keranidis, Wei Liu, Lieven Hollevoet, Thanasis Korakis, Iordanis Koutsopoulos, Ingrid Moerman, Leandros Tassiulas
2012 Misc conf
TRIDENTCOM
Wei Liu, Luc Bienstman, Bart Jooris, Opher Yaron, Ingrid Moerman
2012 conf
Future Network & Mobile Summit
Peter Van Wesemael, Wei Liu, Mikolaj Chwalisz, Justin Tallon, Danny Finn, Zoltan Padrah, Sofie Pollin, Stefan Bouckaert, Ingrid Moerman, Daniel Willkomm
2012 conf
FP7 FIRE/EULER
Wei Liu, Stratos Keranidis, Michael T. Mehari, Jono Vanhie-Van Gerwen, Stefan Bouckaert, Opher Yaron, Ingrid Moerman
2011 conf
WiNTECH
Danny Finn, Justin C. Tallon, Luiz A. DaSilva, Peter Van Wesemael, Sofie Pollin, Wei Liu, Stefan Bouckaert, Jono Vanhie-Van Gerwen, Nicola Michailow, Jan-Hinrich Hauer, Daniel Willkomm, Christoph Heller
2011 conf
SCVT
Wei Liu, Opher Yaron, Ingrid Moerman, Stefan Bouckaert, Bart Jooris, Piet Demeester
redb/utils/wrapper_run_sort_files.py
← Index redb/utils/wrapper_run_sort_files.py python
import os
import subprocess
import multiprocessing
import logging
from concurrent.futures import ThreadPoolExecutor
import signal

# Variables (replace these with actual values)
src_root_folder_path = "/mnt/samples/consilience/malware/vx-bazaar-expanded/"
dst_root_folder_path = "/mnt/samples/consilience/malware/_sorted_samples/vx-bazaar/"
log_folder_path = "/mnt/samples/consilience/malware/ops-logs/"
folder_names = ["Bazaar.2022.01", "Bazaar.2022.02", "Bazaar.2022.03", "Bazaar.2022.04"]  # List of folder names
script_name = "sort_files_by_type.py"
dry_run = True  # Set to True for testing without execution


# Ensure the log folder exists
os.makedirs(log_folder_path, exist_ok=True)

# Configure logging
main_log_name = "20241229-main_script.log"
main_log_file = os.path.join(log_folder_path, main_log_name)
if not os.path.exists(main_log_file):
    open(main_log_file, 'a').close()  # Create the log file if it doesn't exist
# main_log_file = os.path.join(log_folder_path, main_log_name)
# try:
#     with open(main_log_file, 'a') as f:
#         print(f"Successfully created/opened log file at: {main_log_file}")
#     # Verify the file exists
#     if os.path.exists(main_log_file):
#         print(f"Confirmed log file exists at: {main_log_file}")
#         print(f"File size: {os.path.getsize(main_log_file)} bytes")
# except Exception as e:
#     print(f"Error with log file: {e}")

# Configure logging
logging.basicConfig(
    filename=main_log_file,
    level=logging.INFO,
    format="%(asctime)s - %(levelname)s - %(message)s",
    force=True,
    filemode='a'
)

logging.info("Logging initialization test message")

# Add logging handler to flush immediately
class FlushableFileHandler(logging.FileHandler):
    def emit(self, record):
        super().emit(record)
        self.flush()

for handler in logging.getLogger().handlers:
    if isinstance(handler, logging.FileHandler):
        handler.flush()

# Global flag for graceful termination
terminate_flag = False

def signal_handler(signum, frame):
    global terminate_flag
    terminate_flag = True
    logging.warning("Termination signal received. Attempting to shut down gracefully.")

# Register signal handler
signal.signal(signal.SIGINT, signal_handler)
signal.signal(signal.SIGTERM, signal_handler)

# Define the worker function
def process_folder(folder):
    global terminate_flag
    if terminate_flag:
        logging.warning(f"Skipping folder {folder} due to termination signal.")
        return

    try:
        # Extract the word and date fields from the folder name
        word, year, month = folder.split('.')

        # Construct source, destination, and log paths
        src_folder = os.path.join(src_root_folder_path, folder)
        dst_folder = os.path.join(dst_root_folder_path, folder)
        log_file = os.path.join(
            log_folder_path, f"20241229-SORT_FILES-bazaar_{year}.{month}.output.log"
        )

        if not os.path.exists(log_file):
            open(log_file, 'a').close()  # Create the log file if it doesn't exist

        # Build the command
        command = ["python3", script_name, src_folder, dst_folder]

        if dry_run:
            logging.info(f"Dry run: Would execute: {command}, log: {log_file}")
            print(f"Dry run: Would execute: {command}, log: {log_file}")
        else:
            logging.info(f"Starting task for folder: {folder}")
            with open(log_file, "w") as log:
                subprocess.run(command, stdout=log, stderr=subprocess.STDOUT, check=True)
            logging.info(f"Task completed for folder: {folder}")

    except subprocess.CalledProcessError as e:
        logging.error(f"Subprocess failed for folder {folder} with return code {e.returncode}: {e}")
        print(f"Subprocess failed for folder {folder}: {e}")
    except Exception as e:
        logging.error(f"Error while processing folder {folder}: {e}")
        print(f"Error while processing folder {folder}: {e}")

# Determine the number of processors
num_processors = multiprocessing.cpu_count()

try:
    # Process folders using ThreadPoolExecutor
    with ThreadPoolExecutor(max_workers=num_processors-1) as executor:
        executor.map(process_folder, folder_names)

except Exception as e:
    logging.critical(f"Critical error in the main execution: {e}")
    print(f"Critical error: {e}")

logging.info("All tasks completed.")
print("All tasks completed.")